Subject: Re: usermod, login class
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: rudolf <email@example.com>
Date: 10/21/2005 19:21:55
Lubomir Sedlacik wrote:
> On Fri, Oct 21, 2005 at 06:39:52PM +0200, rudolf wrote:
>>I tried to change a user's login class with usermod, but the change
>>didn't show up in the passwd file (manual says that it should be the
>>fifth colon-delimited field), the field stays empty.
> which manual says it?
> it's the fifth field in master.passwd, not passwd.
> the fifth field in passwd is username.
I'm sorry. It's very well documented, indeed:
The passwd file is generated from the master.passwd file by pwd_mkdb(8),
has the class, change, and expire fields removed, and the password field
replaced by a ``*''.