License Public Domain
Lines 1
Permissions
Owner: Stou S.
Viewable by Everyone
Editable by Stou S.

Unix Russian Roulette Atom Feed 1

In Brief From the fortune program
# 's
1passwd -l $(tail +$(random $(wc -l /etc/passwd)) /etc/passwd | head -n 1 | cut -f 1 -d : )

From the fortune program

Comments

over 6 years ago (17 Jul 2010 at 11:20 AM) by arvind1
$ sudo passwd -l $(tail -n +$(echo $RANDOM%$(cat /etc/passwd | wc -l) | bc) /etc/passwd | head -n 1 | cut -f 1 -d : )