Alex Birch on 24 Nov 2003 22:27:02 -0500 |
Jeff Abrahamson wrote: <snip> to find out how many users have set bash as their login shell, I'm not sure how I could do that in a single line if /etc/passwd were /etc/passwd.xml. What would happen if you did a grep "user" /etc/passwd.xml ? considering the xml is like this: <user name="foo" password="bar3134" group="superfoo" directory="/home/foo"> etc. This would allow people to switch the order and include : in user names :-) Cheers, Alex ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|