List of accounts
List of accounts
- Subject: List of accounts
- From: Tim Murison <email@hidden>
- Date: Mon, 10 Aug 2009 14:16:08 -0400
- Thread-topic: List of accounts
Hi,
I'm trying to determine how to get a list of BSD user ids that can login to
the machine, either with a GUI or via ssh.
My current approach is to build something like the 'dscacheutil -q user'
command filtering on users who have a valid shell. I'm thinking that a valid
shell would be determined by looking in the /etc/shells file.
Is there a better way of doing this?
-Tim
***********************************************************************
This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s).
Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint.
Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses
destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden