On Mon, Aug 25, 2003 at 03:47:15PM -0500, Charles Howse wrote:
Hi,
I'm trying to learn how to use chpass to change a user's name.
I'm not getting anywhere, I've read the man page and Googled, but can't
find an example.
I want to change toor's name to 'Nobody Important'.
I do:
# chpass -a toor::0:0:Nobody Important:/root:/sbin/nologin toor
And I get:
Corrupted entry.
Can someone please set me straight?
chpass -a toor::0:0::0:0:Nobody Important:/root:/sbin/nologin toor
Note, however, that you're setting the password for this user to a null
password, allowing any local user in wheel to su -m toor if you have
added /sbin/nologin to /etc/shells.
Ceri
--
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
-- www.chatterboxchallenge.com
pgp0.pgp
Description: PGP signature