Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Changing username



>> Can I just change the first field of /etc/passwd, and change the name of
>> her /var/mail file? Or do I have to get into messing with the shadow
>> password files as well?
>
># usermod -l bob -c "Ms. Bob" fred
>will take care of passwd and shadow (provided fred isn't logged in :-)

and the /var/mail file as well it seems!

># groupmod -n bob fred
>will take care of her primary group name

Thanks Jim.

Darren

--------------------------------------------------------------------
Next Nomikai Meeting: June 16 (Fri), 19:00   Tengu TokyoEkiMae
Next Technical Meeting: July 8 (Sat) 13:30   Topic: TBA
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links