Brian Cameron wrote: >> The reason I ask is because the GNOME users and groups tool gets this >> wrong on Solaris. It correctly hides by default all those accounts with >> a uid < 100 but it doesn't hide the other reserved system accounts: >> >> nobody:x:60001:60001:NFS Anonymous Access User:/: >> noaccess:x:60002:60002:No Access User:/: >> nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/: > > Since these users do not have valid shells specified, these would not > be shown.
A blank entry in the shell field indicates the system default shell should be used - on Solaris & OpenSolaris, that's "/bin/sh", which is a valid shell. If you're skipping those because they're blank do you also skip non-system accounts using that shorthand? (How do you determine which shells are valid? getusershell(3c) ?) -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering