[ILUG] User tool
Paul Kelly
longword at esatclear.ie
Wed Dec 6 14:21:42 GMT 2000
Joshua Beining wrote:
> Does anyone know of a tool for linux were you can list the users who have
> access to a box
Define 'have access'.
> (without looking in /etc/passwd or /etc/shadow and not
> having root access)?
What's wrong with /etc/passwd? That's got a complete list in a fixed
machine-readable format, open to all, and it even lists the shells that
each user has so you can have a fair guess at whether they can login or not.
The next best I can think of is 'ls /home' but that's a pretty poor
alternative.
Paul.
More information about the ILUG
mailing list