Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] redhat user question



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.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org