Date: Mon, 25 Aug 2003 16:06:54 -0500 From: "Charles Howse" <chowse@charter.net> To: <freebsd-questions@freebsd.org> Subject: RE: Using chpass Message-ID: <002e01c36b4c$cfe78910$04fea8c0@moe> In-Reply-To: <20030825205300.GK2947@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Can someone please set me straight? >=20 > chpass -a "toor::0:0::0:0:Nobody Important:/root:/sbin/nologin" toor Ahaaa! The quotes! Thank you! > Note, however, that you're setting the password for this user=20 > to a null > password, allowing any local user in wheel to "su -m toor" if you have > added /sbin/nologin to /etc/shells. Understood, if I wanted to keep the same password.....wait a minute....what is the default password for toor? If I wanted to insert a new password, I'd have to use crypt, and paste the encrypted password into the proper field, correct? Proper syntax? Crypt newpassword...? I read the crypt/enigma man page and did: # crypt newpassword (Nothing............................................) ^C #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c36b4c$cfe78910$04fea8c0>