You are not logged in.

1

Friday, December 19th 2003, 5:02pm

system down and user name changing

I have 2 questions.

1.How can i change a user name ex.sam change to john

2.In Linux Red Hat 9.0 when i want to shutdown the system i write "halt" or in root mode "sbin/shutdown -h 0"
It writes me System Halted and it down't shutdown alone i must press the button.
What can i do?

2

Friday, December 19th 2003, 5:46pm

Re: system down and user name changing

Quoted

Original von Konceptor

I have 2 questions.

1.How can i change a user name ex.sam change to john

2.In Linux Red Hat 9.0 when i want to shutdown the system i write "halt" or in root mode "sbin/shutdown -h 0"
It writes me System Halted and it down't shutdown alone i must press the button.
What can i do?


Simply halt does not power off. Only halt -p does. As for why shutdown does not work, I do not know.

As far as I know the program redhat-config-users is used for user management in RH. Can you change a user name there?

Have a nice day!

3

Saturday, December 20th 2003, 11:50am

Nicolas Goutte
How can i change the username manualy in the terminal(console).?

4

Saturday, December 20th 2003, 4:27pm

Edit the file /etc/passwd (better make a backup of the file first before modifying anything.)

(If you cannot log in anymore after modifying, type "linux single" or "linux init=/bin/bash" (without quotes) at LILO prompt and copy the backup file back.)

Have a nice day!