[K12OSN] Purging ALL users

Shawn Powers spowers at inlandlakes.org
Mon Oct 25 20:08:07 UTC 2004

Scott Sherrill wrote:
> names = ['root', 'bin', 'daemon', 'adm', 'lp',
>          'sync', 'shutdown', 'halt', 'mail',
>          'news', 'uucp', 'operator', 'games',
>          'gopher', 'ftp', 'nobody', 'vcsa',
>          'mailnull', 'rpm', 'ntp', 'rpc', 'xfs',
>          'rpcuser', 'nfsnobody', 'nscd', 'ident',
>          'radvd', 'named', 'pcap', 'amanda',
>          'gdm', 'scott']

This looks like a good list -- I wonder if some sort of UID < 500 thing 
would work more generically?  I'm currently browsing my /etc/passwd file 
-- and since I use NIS for user authentication, pretty much every user 
in /etc/passwd is going into this script!

Now I just wait until this evening to kill all my users....  MWAHAHAHAHAHHA

Thanks Scott,

Shawn Powers
Technology Director
Inland Lakes Schools
PHN: 231-238-6868 x9174
FAX: 509-356-7024
spowers at inlandlakes.org

--<Disclaimer, now required for frustrating reasons>--
The views, opinions, visions, thoughts, comments,
sarcastic whims, forecasts, poetic outbursts,
cynical wit, future plans, implementation ideas,
OS preference, curricular insight, ice cream preference,
or anything else I might infer are not the
views of Inland Lakes Schools.  Pretty much everything
I say, do, think, or imply with punctuation should be
considered my own delusions, and ignored completely.

More information about the K12OSN mailing list