Mailing List Archive

Support open source code!


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

Re: tlug: Changing username



On Wed, May 17, 2000 at 06:49:16PM +0000, Darren Cook wrote:
> 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 :-)
# groupmod -n bob fred
will take care of her primary group name

-- 
Jim Tittsler, Tokyo   ICQ: 5981586

--------------------------------------------------------------------
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