1001:1001::0:0

Dan Nelson dnelson at allantgroup.com
Sun Apr 3 10:57:56 PDT 2005


In the last episode (Apr 03), Gert Cuykens said:
> what does 1001:1001::0:0 in vipw mean ?
> 
> i thought 1001 is the user id ? And 0 the x screen : 0 the x display?
> Why are there 2 times 1001 written ?

The passwd manpage explains it (man 5 passwd).  The first two numbers
are the uid and primary gid, the next empty field is the login class
(see the login.conf manpage), and the next two fields are the password
and account expiry times (which are currently unused).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list