I have a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."
Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.
I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.
I am afraid to ask with so many things changing around in each new release.Where would one add a custom script to execute when logging and shutting down in into a user profile like /home/test or /root ?would this be rc.local?
Last night I started my computer and loaded my CentOS 5.2 partition (Windows 7 on the other partition). I was able to login to my account, but was given a gnome error that the panel buttons (i.e. weather, cpu monitor etc) could not be loaded. I then went to restart the computer (probably not the smartest thing to do) and was given some file errors upon shutdown that were related to /dev/VolGroup00/LogVol00. After restart I was taken to a shell and ran fsck manually. It seemed to find a lot of bad blocks, so I repaired the /dev/VolGroup00 system and restarted. At this point CentOS seemed to boot normally, but upon loading of the login screen I get the error: Configuration not correct The configuration file contains an invalid command line for the login dialog, so running the default command. Please fix your configuration.
I cannot even log in as root. I get the error /usr/bin/gnome-session: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared objects file: no such file or directory. I then went to a shell and ran: sudo yum install libgnome-desktop-2.so.2, but the package was already installed and up to date, so there was nothing to do. I am therefore stuck at this login screen with pull-down menus and tabs where I can change the configuration, add/remove users etc. So, my question is this: How do I restore my user profile so I can login....and if anyone has some insight, what caused this to happen in the first place? I should also mention, this all happened after plugging the computer into a new internet connection. No clue if that's even relevant.
"failed to run * as user root, the gksu-run-helper program is not found or is not executable"
Tried googling and checking threads at LQ didnt find a solution or another instance running slackware64 current.. everything built fine, tried and everythings executable...I also have Alien's multilib installed, with only firefox and flashplugin as 32bit, everything else 64bit. I can't open any apps as root by normal user
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s or sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
As root, firefox shows that no plugins are installed - does not see flash-plug. For the other user the flash-plugin is there however it only load for the first instance and then will only start again if I reload the page.
Yes I am new to Linux - I have just installed Centos 5.3 and via yum install adobe flash-plugin - lots of searching on the web to get this far.
I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?
I forgot the root passwd for linux (via the "single" mode) and, according to all confirms, did so successfully! I then try to log on to Centos as root, and I can't....it says "incorrect passwd"! So then I log on as another, regular, but not root, user, with that passwd, and boot up into Centos. if I try to "su" to root, with the new root passwd, again it says its incorrect. there is no "system admin" passwd set. I checked!. I need root access within Centos!
I'm running a server with CentOS 5 where the software that needs to run on the server uses ifconfig to verify the system IPv4.The problem is that /sbin isn't set for the user that is supposed to run the software (sadmin) which means the software can't execute ifconfig and thus terminates.now the workaround I've been using is simply to input.
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
Can someone assist me with recovering/resetting the password for Root via Single User Mode in CentOS v5? I've modified the kernel line using Single, S, and 1 but it appears that these commands are being totally ignored as the server continues with the boot process and displays the GUI logon screen. The server in question is a VM box running on ESX v3.5 U4. The person that created this VM is no longer employed here and I've exhausted everything I know regarding Single User Mode.
I have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.
I've been handed the role of looking after my company ftp server which is running redhat. I've logged on as root & have somehow lost all of the menu items from the grey toolbar. All i now have on the desktop are the disk & partition icons. I haven't changed / added anything, just logged on to the box. The only way i can log out or reboot is to press in the server power button which cannot be right ? Is there anyway of making the menu options visible so that i can at least familiarise myself with the O/S ?
I've been using Ubuntu with GNOME for the past few years and I'm looking at possibly switching to the KDE-based Kubuntu. I know I can have both DE's on my system and even found a tutorial on the Psychocats site for setting it up, but I have a question for the KDE gurus here. Can I safely use the same user profile between both GNOME and KDE or should I set up a new user for working in KDE? I haven't seen anything saying I can't but I really don't want to hose my GNOME settings in case I end up not liking KDE enough to use it on a daily basis.
I am just started to setting up a samba PDC at our office.MY problem is my xp client is logging in to server but not loading the profile.its booting with tmp profile and whatever the changes I do in that profile.its not updating that in the server. And my client.log file is showing following error. '/home/user4' does not exist or permission denied when connecting to [user4] Error was Permission denied. I gave full right to /home/user4.But still its giving this error. User4 is given same password for linux and samba. How can I add a profile of user to smb pdc?
How to add a new role and profile for new user by using the command "useradd" in linux.In solaris there is an options(useradd -R and useradd -P) for these actions, like this how to add role and profile for new user in linux.
I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. It's a widely unmodified Debian 6 so I think my changes should do the trick.
Here is what my /etc/profile looks like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then
Edit: The path I added is the distcc-stuff. Here is what echo $PATH tells me:
I appear to be experiencing an annoying issue with my soundcard. As you can see from the images below, the soundcard is detected, but not when it comes to the "output". This is only affecting one user (my admin account is fine, as was a new user set up to test it).
I've looked at this page and have attempted reinstalling alsa, but to no success.
The results from aplay -l are:
**** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
"stevek" being the user that I'm having difficulty with. I suspect that I might need to recreate part of my user profile, but I'm not sure where start.
Setting up a small network for a private school. have ubuntu on the systems, but wanting to make user profiles that anyone can access and have admin profile that only I can access. that part was easy, but am trying to find out how on the all user profile I can block certain things out like media players and etc. I figured out how to hide them in the task bar but anyone with a little tinkering could find them. Anyway to remove certain things completely on all user prof>? How to Remove.
Alright setting up a friends netbook, display has been a little iffy (slow. glxgears is giving like 100fps). Couple issues: xorg.conf doesn't exist (i know thats typically not an issue) and "sudo xorg -configure" and "sudo xorg --configure" both return "xorg command not found."
glxinfo say that its using Mesa for the software rasterizer and that the driver is from mesa. lspci says the VGA controller is from Intel. I'm thinking xorg is defaulting to vesa for drivers, but I need to know how to change that to the open source intel driver
i have a dual boot set up on my laptop using wubi, but now i can't log on to my windows side, it gives me an error message saying that it can't load the user profile. how do i fix this without using system restore?