Quote:
Originally Posted by Shell_Life
Code:
cut -d':' -f2 /etc/myusers > $$TempUsers
cut -d':' -f1 /etc/passwd > $$EtcUsers
diff $$TempUsers $$EtcUsers
rm -f $$*
|
Well, I'm not sure how to read that ouput from the diff command. I looked at the man page, but it still doesn't make much sense. I can see that it's listing all the users, and then every so often printing some weird numbers, I'm assuming are correlating to the lines or something.
What I need is a nice clean output of simply the lines in /etc/password that do not have a corresponding userid in /etc/myusers.