On Tue, Aug 6, 2013 at 3:57 PM, Richard Pieri <[email protected]> wrote: > Eric Chadbourne wrote: >> >> But I know this doesn't show everybody. I've created users with no >> home before. Also how can I tell if a user has root permissions or > > > getent passwd | grep -v foo > > where foo is whatever not-interactive shell program you typically use (for > example, /bin/false). > > root users will have UID 0. There should be only one of these but sometimes > there's an auxiliary UID 0 account. privileged users may be in the wheel > group (assuming you have a wheel group) or in the sudoers file. > >> able to access other stuff such as /var/www? > > > Match the GID on the directory with the corresponding GID in /etc/group. > > -- > Rich P.
Excellent info! How did you answer so quickly? Don't you have a day job? ;) Thanks, -- Eric Chadbourne http://themnemeproject.org/ _______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
