[Discuss] redhat user question
Eric Chadbourne
eric.chadbourne at gmail.com
Tue Aug 6 16:14:44 EDT 2013
On Tue, Aug 6, 2013 at 3:57 PM, Richard Pieri <richard.pieri at gmail.com> 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/
More information about the Discuss
mailing list