Re: Using chpass

2003-08-25 Thread Ceri Davies
On Mon, Aug 25, 2003 at 04:06:54PM -0500, Charles Howse wrote: > > > Can someone please set me straight? > > > > chpass -a "toor::0:0::0:0:Nobody Important:/root:/sbin/nologin" toor > > Ahaaa! The quotes! Thank you! Well, that, plus the fields for the change and expire times. > > Note, howeve

RE: Using chpass

2003-08-25 Thread Charles Howse
> > Can someone please set me straight? > > 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 > to a null > password, allowing any local user in wheel to "su -m toor" if you have >

Re: Using chpass

2003-08-25 Thread Ceri Davies
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: > # chp

Using chpass

2003-08-25 Thread Charles Howse
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