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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
# 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.