Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# Red Hat 7.3 down configuration commands setup leads to several configuration tools
# Red Hat 7.3 up configuration commands
Configure soundcard: redhat-config-soundcard
Configure X server: redhat-config-xfree86
Configure network: redhat-config-network
Manage software: redhat-config-packages Red Hat 9.0 Package Management Tool
Last edited by fancypiper; 09-02-2003 at 05:53 PM.
All I want to do is change the username and have his Home Directory changed to his new name, etc...
I can change the username using "Red Hat User Manager" and that works fine, but the problem is when I try to change the Home Directory.
If I change to a new Home Directory (not existing yet), the next time the user logs on he gets a message saying that the directory doesn't exist and asks if he wants to log in with the root directory as his home. This won't work.
So... I created an empty directory where I had previously specified, and this time he gets a message saying that Red Hat "could not open or create the file /home/USER/.gconf-test-locking-file".
Next, I tried to specify the Home Directory as his new name, and then rename his old directory. Now when he logs on, Red Hat tries to log him in, but then the process just stops and I am forced to do turn off the PC using the power button.
Does this make sense? I can clarify anything if you need me to.
The kernel took that command okay, but it's still not working yet.
Here's specifically what is happening:
When I log in using this new account, on the bottom of the splash screen box, the "Metacity Window Manager" icon loads for a long time (about 2 min.), then a couple more load, then "The Panel" icon takes a while (about 2 min.), then the "Red Hat Network Monitor" takes about 3 min., and lastly the "Authentication Icon" takes about 3 min. to load. After that, all I have is a blue screen and I can move my mouse around, but even after 10 min., nothing ever appears. I have to push the power button on my PC in order to shut down.
(These icons usually take about 3-5 seconds to load.)
In order to change the username and have his Home Directory changed to his new name forget the GUI. The linux operating system is really fairly simple, so learn how your system works. For example to change merve to merv ...
#> mv /home/merve /home/merv
Then edit /etc/passwd, /ext/shadow, and /etc/group and change all instances of merve to merv. You might be able to do it as follows:
Those three files are the way the system keeps track of who is who. There may be a few other files to take care of if you have something beyond a simple system, such as /etc/sudoers, or /var/spool/mail/merve, perhaps even /etc/sendmail.cf but usually these become self-evident through use without breaking the system down.
User merv still can't log on. I'm having the same problem (computer not completely logging in). Apparently this is an issue with my individual system...
How about this:
I undo all of these changes and restore the merve account. I then create a new account named merv and then somehow copy all of his data and settings over to his new account?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.