/l3/users/eb/2009/linux3/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 |
|
#./create_users
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#./create_users
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: No password supplied Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchanged Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#tail -f user_list
anastasia anatole anatoly X5 anderson 9j andre SucF andrea Zuye andreas andrew G3 andries andy ... antony Mo2HY anya 1A april y archibald geGW archie PPDo ariel zJmJ arlene arne hO arnold P ^C |
#tail -f user_list
anastasia anatole anatoly X5 anderson 9j andre SucF andrea Zuye andreas andrew G3 andries andy ... antony Mo2HY anya 1A april y archibald geGW archie PPDo ariel zJmJ arlene arne hO arnold P ^C |
#cat user_list | wc -l
75 |
#ls -l *users
-rwxr-xr-x 1 root root 296 2009-05-28 12:54 create_users -rwxr-xr-x 1 root root 296 2009-05-28 13:59 del_users |
#ls -l *users
-rwxr-xr-x 1 root root 296 2009-05-28 12:54 create_users -rwxr-xr-x 1 root root 296 2009-05-28 13:59 del_users |
#vi del_users
--- /tmp/l3-saved-5049.31162.16852 2009-05-28 13:59:13.000000000 +0300 +++ del_users 2009-05-28 14:00:55.000000000 +0300 @@ -1,10 +1,7 @@ #!/bin/bash -> ./user_list -zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username +cat ./user_list | awk '{print $1}' | while read username do -pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep -v ...... | head -1` -useradd -m $username -( echo $pass ; echo $pass ) | passwd $username -echo $username $pass >> ./user_list +userdel -f $username done +> ./user_list |
#cat create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep -v ...... | head -1` useradd -m $username ( echo $pass ; echo $pass ) | passwd $username echo $username $pass >> ./user_list done |
#cat create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep -v ...... | head -1` useradd -m $username ( echo $pass ; echo $pass ) | passwd $username echo $username $pass >> ./user_list done |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep -Ðv ^\n
7hBZ89da5xhpmgIJE7jcZPhlUur7QYFwF2yI1vd7HlNdIuMc8lTiOdxBQSBmUOcVeeUxHqvJUtlWYXtlvBnk7qVKP5fjcTDiVuo0WooW89pHsdTkNNheFPPVNwWMtuGIpY22YxrEBfLaIE 4ybQuktenL3i6FtoQyqHxbyDq5WofHb4PnfoU7nhNwDeLaZKwQef7JyWLdZVC4IYWBBVw4EWGsM6VcWJjL7MCIIHXuOeEZR9fo085WuJ5zOEcoMu0Kpkk6sra2bH4764 3Fs45uOga4TA0puwhCJc1 B89jCQtfGpYmOulXXcg9Ur73m6o0vlS6LsGT2s4acyoeH4pP6V2E1LbRCEdm4msNa4fv7n 9XbZP3Cyotem5pQMzcGW5tvvf2eQ3wVJHkLab1QsVvIxI4SVhfPPP6ItcXEGpomFDwGpCuVPZ5eTDgmo6Tt5fpvFmAci9 l5EWdRcqhm 3hhuKlueVjtCQZCmaL7JXtWgsBMQTsXb17AKxkNEonJf 6c9ffxDWDQAUCjfHplZK9KFoWfUk57peUzUMHgQSWCw52Oz5fv6B084CiACVkLIsOudNgIrJTcLGVjfDYiD0Qhccwl6N4fm6mDzZOjPqL1bmSrlE7bi7P7PIE9c8YCxz5UlZ99Oj6zV23qAICyXi RfkFltFhlpV9LoMqJVwB3ozbuOEWin2MEx9ChodgzOohheIeULT3ipV6Mdnlv59hZESbqxSNKV9bd1W8SxFCkUSRGG TSdbAmcfVlgQi2aeN24kLheKfg3p5r1BBk0XWIzFbFpgSpTBN4NReAq7ifL9tprjD5Gg2SpefGs8e0FnieRPP4dh ... VFDRfBX7X4iASkbYJvdwRLOItGJx1YoPyOpaFxmSEITyqwDCmp0MkilbD0AMkgahTySJ1k9LfhyqOPyBBUeEZYsM46kR1w0e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crvKfC0noKu6 qrIQadryDuO5dkJCuiduvQZOX4mjfWRbOK2xQ7ZPxSOWQVOzMRoeuuqyRNoHEEIt4sqqVgGpvJpBQystYjyK9skYG5Sht5cv4YYxK0HsBcTSJszNMSXf5iKfTph9f6aaEEBtM98MdXO5Z2hynJZxE7ulO1ksxOGAZuwsOgPapXNHavwI4HBaAlqD BHb0iMFxsfNfwnBaSLkPkDiEn5dcJ4uXKWkGsUj 1lTnGfu3aFjuDFmnV2nq3qdrulosw0sx5PMxP1mL0kINtHAfaUO5CrRnWvECff0iQekexkZeH6w2uFCfX2dHCd NuK kqnz9yfXAciE9fzk2G5nSzbHuY4fVZJpEShNF8QhQL6BPp2klHwur9b5a6siijaBb8OdDegjP93mN5Zsiwvpll2GeP9ZSQlCklqOceV Zxbv3RsQysliOc9aWeZJKuqPHbmXkjzeCZ3kY3B1bPLObzL1gxcTqGH0nWwWBB |
#ps aux | grep cat
user 3578 0.0 0.5 24628 11672 ? S 09:38 0:00 /usr/lib/notification-daemon/notification-daemon root 9706 6.6 0.0 3856 528 pts/11 S+ 14:06 0:01 cat /dev/urandom root 9718 0.0 0.0 3952 744 pts/9 S+ 14:06 0:00 grep cat |
#ps aux | grep cat
user 3578 0.0 0.5 24628 11672 ? S 09:38 0:00 /usr/lib/notification-daemon/notification-daemon root 9706 6.6 0.0 3856 528 pts/11 S+ 14:06 0:01 cat /dev/urandom root 9718 0.0 0.0 3952 744 pts/9 S+ 14:06 0:00 grep cat |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep .....
19xDi48UnqZypg8xsuP28kH6oUwx1Qv770T3TLi52BgeozUh6JJ0jqh092cSay4X3hCGTrCuoRbOVpwJd0PHtVvrZ0DzKzF1L9wuI7lmdVYomVv6Itzd0Zic3ORab8SH6y XAwV8i1KJMGvzmtnXuuOCVfDzfIQaUnQQnHHe44UeGTlmn1MkaMt4jHrxqgRULlAhpV9FiHGBwEYbyVp4MMVxlpTB54bWX0ZLwkBwVTTs8Haf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4dEwCTrUvTaelbghqBaQaYPeLSnrv0DjyrEnl32iLQgkMxHDKB4 Hy8cK4nxAiN1i9TGbs3JuLSr55vz8iNiVAdNmU5BOzuaFuloJ0vgOQ4ABekpKAy9Kir0yDKeNJ8xmBugGpXVXMVUTSuESfRvCpOeXMO6id6Te8jZ0GoBWBdbgRcnJab5p8VQMY7VCDjVvMJQrc ... TXGKYM2HutP9359QU0o5eC1BwbflmM4F2aNLeTIk1J5oyqfslSxWM4cwi3oUXDHqMUizqhbU2nfDIdnOKbvkCqr37uYs0RRfRRe6phkJP TIROEHTrqxBINsOCFYWHQbU7fSZyuSZLShHMstujPFp0byUmT8YL0aVDooA6lkGzz44XlSwH6X9bubrnv0evI3Xj4Ds7sId4ybZVmcuUDlWoQ3hsM8BMWb6bZh2PG21n0yLlFuNiYKevYwR o9jeRoYlh5TnVClB44U0Pvl05cysWmeT3piKWCK6K2Nkf04TbegdrmhXzSWe3fjySPc wJ6NhlZWoGOJTqd54Cg9KkGFnYYe6NRhbaj3teeL3K2SPVA6Mn 2hH4dHgydofYgqd9bIW0WO7L5EJEgQyO9eQACVQMxbN6Trx0s6FeoGVeMzepw6DCN0OvbN2pr4FHnAM JtQ3e0Rqem3qrSgSybmlb9XYriDdvKC lAxXnvP8zgzopYI1KkCv0jTZAukA4wrGrOHo2qMJu0KndkxazIOlZUvoOxXEXBynCTSzaCGyHQ3zThVfjeK0dJF2lO4bYQ38sbl9C7EuOwrevfSy8u2iuKS8 e0vFymk6UPPBqG 2zP8OmtsDqeofu JxAxM2am4JjiuLjrRDvXf |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8}'
awk: line 1: missing ) near } |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8}'
awk: line 1: missing ) near } |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}'
NbW5K1l3 eUFQ1K1V sCFohavX urqLiJTz qoCmoGUz qsSejFws piI4Xm1a y1jVY3Py jQyzAclH N29SMYan ... E6zcdOZx UWRdOVOO GDpCyqRg lMcrJSWO iWsOmbUS rdWyxLbz fkiGXiHl L7gP9zyw lB7qGjNh eddWNsZT |
#cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}'
NbW5K1l3 eUFQ1K1V sCFohavX urqLiJTz qoCmoGUz qsSejFws piI4Xm1a y1jVY3Py jQyzAclH N29SMYan ... E6zcdOZx UWRdOVOO GDpCyqRg lMcrJSWO iWsOmbUS rdWyxLbz fkiGXiHl L7gP9zyw lB7qGjNh eddWNsZT |
#~
> ./user_list zcat /usr/share/dict >& /dev/nullgz | tr A-Z a-z | head -200 | while read username >& /dev/null do echo 'User '$username' created' pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "create_users" 11L, 384C written |
#~
> ./user_list zcat /usr/share/dict >& /dev/nullgz | tr A-Z a-z | head -200 | while read username >& /dev/null do echo 'User '$username' created' pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "create_users" 11L, 384C written |
#./create_users
User angelica created User angus created User anita created User ann created User anna created User annard created User anne created User annie created User anthea created User anthony created ... User chris created User christian created User christie created User christina created User christofer created User christophe created User christopher created User chuck created User cinderella created User cindie created |
#./create_users
User angelica created User angus created User anita created User ann created User anna created User annard created User anne created User annie created User anthea created User anthony created ... User chris created User christian created User christie created User christina created User christofer created User christophe created User christopher created User chuck created User cinderella created User cindie created |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:13 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:13 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:13 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:13 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:13 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:13 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:13 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:13 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:13 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:13 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:14 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:14 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:14 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:14 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:14 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:14 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:14 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:14 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:14 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:13 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:13 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:13 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:13 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:13 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:13 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:13 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:13 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:13 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:13 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:14 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:14 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:14 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:14 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:14 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:14 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:14 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:14 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:14 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#tail -f user_list
chris M7RYAfCK christian 3k8ZUNCv christie p7PU1SKE christina bKwofnW2 christofer JbzESPRe christophe WkLkHGUI christopher drkyPeWJ chuck KNAVGVim cinderella WIy9uDB5 cindie IYDgeioT ^C |
#tail -f user_list
chris M7RYAfCK christian 3k8ZUNCv christie p7PU1SKE christina bKwofnW2 christofer JbzESPRe christophe WkLkHGUI christopher drkyPeWJ chuck KNAVGVim cinderella WIy9uDB5 cindie IYDgeioT ^C |
#userdel
Usage: userdel [options] LOGIN Options: -f, --force force removal of files, even if not owned by user -h, --help display this help message and exit -r, --remove remove home directory and mail spool |
#userdel
Usage: userdel [options] LOGIN Options: -f, --force force removal of files, even if not owned by user -h, --help display this help message and exit -r, --remove remove home directory and mail spool |
#vi del_users
--- /tmp/l3-saved-3433.13396.16005 2009-05-28 14:18:26.000000000 +0300 +++ del_users 2009-05-28 14:18:37.000000000 +0300 @@ -2,6 +2,6 @@ cat ./user_list | awk '{print $1}' | while read username do -userdel -f $username +userdel -rf $username done > ./user_list |
#tail -f user_list
angus cIhohMX6 anita xThpHJIY ann 3y93yy5b anna 0Dfc3BHT annard 9I3KG9XZ anne cLz6R3Vm annie GPLWuEWu anthea 1pW5NXC1 anthony 5un5aWXu anton AncocAt0 ... christian unHu8IUT christie a3ifnhAn christina 7JeYhkrd christofer 8Lw0ZdhB christophe REq65fxZ christopher Yl6rRG6Q chuck 6ENOSWhZ cinderella yWVu5U8c cindie GDdPfrrZ ^C |
#tail -f user_list
angus cIhohMX6 anita xThpHJIY ann 3y93yy5b anna 0Dfc3BHT annard 9I3KG9XZ anne cLz6R3Vm annie GPLWuEWu anthea 1pW5NXC1 anthony 5un5aWXu anton AncocAt0 ... christian unHu8IUT christie a3ifnhAn christina 7JeYhkrd christofer 8Lw0ZdhB christophe REq65fxZ christopher Yl6rRG6Q chuck 6ENOSWhZ cinderella yWVu5U8c cindie GDdPfrrZ ^C |
#./del_users
User angelica deleted User angus deleted User anita deleted User ann deleted User anna deleted User annard deleted User anne deleted User annie deleted User anthea deleted User anthony deleted ... User chris deleted User christian deleted User christie deleted User christina deleted User christofer deleted User christophe deleted User christopher deleted User chuck deleted User cinderella deleted User cindie deleted |
#./del_users
User angelica deleted User angus deleted User anita deleted User ann deleted User anna deleted User annard deleted User anne deleted User annie deleted User anthea deleted User anthony deleted ... User chris deleted User christian deleted User christie deleted User christina deleted User christofer deleted User christophe deleted User christopher deleted User chuck deleted User cinderella deleted User cindie deleted |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:25 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:25 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:25 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:25 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:25 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:25 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:25 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:25 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:25 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:25 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:26 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:26 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:26 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:26 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:26 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:26 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:26 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:26 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:26 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:25 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:25 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:25 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:25 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:25 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:25 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:25 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:25 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:25 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:25 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:26 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:26 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:26 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:26 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:26 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:26 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:26 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:26 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:26 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#tail -f user_list
angus rQ1ebFm8 anita pyLSrvdR ann UVIbJQcl anna 8MCTK3iY annard t31QaEox anne hRnUjgFg annie JFjnUTkh anthea a0vq4T0F anthony fXm3p2GL anton qQ0ndWfL ... christian Nh7Jim5f christie viOsENrY christina 6raNuksN christofer mc67BdlR christophe NCmauwYj christopher uiDdeFCs chuck W01sdO4g cinderella EevDxPsd cindie nPKT1SIK ^X^C |
#tail -f user_list
angus rQ1ebFm8 anita pyLSrvdR ann UVIbJQcl anna 8MCTK3iY annard t31QaEox anne hRnUjgFg annie JFjnUTkh anthea a0vq4T0F anthony fXm3p2GL anton qQ0ndWfL ... christian Nh7Jim5f christie viOsENrY christina 6raNuksN christofer mc67BdlR christophe NCmauwYj christopher uiDdeFCs chuck W01sdO4g cinderella EevDxPsd cindie nPKT1SIK ^X^C |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:30 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:30 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:30 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:30 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:30 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:30 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:30 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:30 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:30 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:30 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:31 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:31 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:31 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:31 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:31 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:31 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:31 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:31 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:31 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#ls -l /home/
drwxr-xr-x 2 angus angus 4096 2009-05-28 14:30 angus drwxr-xr-x 2 anita anita 4096 2009-05-28 14:30 anita drwxr-xr-x 2 ann ann 4096 2009-05-28 14:30 ann drwxr-xr-x 2 anna anna 4096 2009-05-28 14:30 anna drwxr-xr-x 2 annard annard 4096 2009-05-28 14:30 annard drwxr-xr-x 2 anne anne 4096 2009-05-28 14:30 anne drwxr-xr-x 2 annie annie 4096 2009-05-28 14:30 annie drwxr-xr-x 2 anthea anthea 4096 2009-05-28 14:30 anthea drwxr-xr-x 2 anthony anthony 4096 2009-05-28 14:30 anthony drwxr-xr-x 2 anton anton 4096 2009-05-28 14:30 anton ... drwxr-xr-x 2 christian christian 4096 2009-05-28 14:31 christian drwxr-xr-x 2 christie christie 4096 2009-05-28 14:31 christie drwxr-xr-x 2 christina christina 4096 2009-05-28 14:31 christina drwxr-xr-x 2 christofer christofer 4096 2009-05-28 14:31 christofer drwxr-xr-x 2 christophe christophe 4096 2009-05-28 14:31 christophe drwxr-xr-x 2 christopher christopher 4096 2009-05-28 14:31 christopher drwxr-xr-x 2 chuck chuck 4096 2009-05-28 14:31 chuck drwxr-xr-x 2 cinderella cinderella 4096 2009-05-28 14:31 cinderella drwxr-xr-x 2 cindie cindie 4096 2009-05-28 14:31 cindie drwxr-xr-x 31 user user 4096 2009-05-28 09:33 user |
#tail -f -n 20 /var/log/auth.log
May 28 14:31:20 linux3 useradd[21728]: new group: name=christophe, GID=1196 May 28 14:31:20 linux3 useradd[21728]: new user: name=christophe, UID=1196, GID=1196, home=/home/christophe, shell=/bin/sh May 28 14:31:20 linux3 passwd[21734]: pam_unix(passwd:chauthtok): password changed for christophe May 28 14:31:20 linux3 passwd[21734]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21741]: new group: name=christopher, GID=1197 May 28 14:31:21 linux3 useradd[21741]: new user: name=christopher, UID=1197, GID=1197, home=/home/christopher, shell=/bin/sh May 28 14:31:21 linux3 passwd[21747]: pam_unix(passwd:chauthtok): password changed for christopher May 28 14:31:21 linux3 passwd[21747]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21754]: new group: name=chuck, GID=1198 May 28 14:31:21 linux3 useradd[21754]: new user: name=chuck, UID=1198, GID=1198, home=/home/chuck, shell=/bin/sh May 28 14:31:21 linux3 passwd[21760]: pam_unix(passwd:chauthtok): password changed for chuck May 28 14:31:21 linux3 passwd[21760]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21767]: new group: name=cinderella, GID=1199 May 28 14:31:21 linux3 useradd[21767]: new user: name=cinderella, UID=1199, GID=1199, home=/home/cinderella, shell=/bin/sh May 28 14:31:21 linux3 passwd[21773]: pam_unix(passwd:chauthtok): password changed for cinderella May 28 14:31:21 linux3 passwd[21773]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:22 linux3 useradd[21780]: new group: name=cindie, GID=1200 May 28 14:31:22 linux3 useradd[21780]: new user: name=cindie, UID=1200, GID=1200, home=/home/cindie, shell=/bin/sh May 28 14:31:22 linux3 passwd[21786]: pam_unix(passwd:chauthtok): password changed for cindie May 28 14:31:22 linux3 passwd[21786]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered ^C |
#tail -f -n 20 /var/log/auth.log
May 28 14:31:20 linux3 useradd[21728]: new group: name=christophe, GID=1196 May 28 14:31:20 linux3 useradd[21728]: new user: name=christophe, UID=1196, GID=1196, home=/home/christophe, shell=/bin/sh May 28 14:31:20 linux3 passwd[21734]: pam_unix(passwd:chauthtok): password changed for christophe May 28 14:31:20 linux3 passwd[21734]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21741]: new group: name=christopher, GID=1197 May 28 14:31:21 linux3 useradd[21741]: new user: name=christopher, UID=1197, GID=1197, home=/home/christopher, shell=/bin/sh May 28 14:31:21 linux3 passwd[21747]: pam_unix(passwd:chauthtok): password changed for christopher May 28 14:31:21 linux3 passwd[21747]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21754]: new group: name=chuck, GID=1198 May 28 14:31:21 linux3 useradd[21754]: new user: name=chuck, UID=1198, GID=1198, home=/home/chuck, shell=/bin/sh May 28 14:31:21 linux3 passwd[21760]: pam_unix(passwd:chauthtok): password changed for chuck May 28 14:31:21 linux3 passwd[21760]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:21 linux3 useradd[21767]: new group: name=cinderella, GID=1199 May 28 14:31:21 linux3 useradd[21767]: new user: name=cinderella, UID=1199, GID=1199, home=/home/cinderella, shell=/bin/sh May 28 14:31:21 linux3 passwd[21773]: pam_unix(passwd:chauthtok): password changed for cinderella May 28 14:31:21 linux3 passwd[21773]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered May 28 14:31:22 linux3 useradd[21780]: new group: name=cindie, GID=1200 May 28 14:31:22 linux3 useradd[21780]: new user: name=cindie, UID=1200, GID=1200, home=/home/cindie, shell=/bin/sh May 28 14:31:22 linux3 passwd[21786]: pam_unix(passwd:chauthtok): password changed for cindie May 28 14:31:22 linux3 passwd[21786]: gkr-pam: couldn't update the 'login' keyring password: no old password was entered ^C |
#cat ./вdel_users
#!/bin/bash cat ./user_list | awk '{print $1}' | while read username do userdel -rf $username >& /dev/null echo 'User '$username' deleted' done > ./user_list |
#cat ./вdel_users
#!/bin/bash cat ./user_list | awk '{print $1}' | while read username do userdel -rf $username >& /dev/null echo 'User '$username' deleted' done > ./user_list |
#tail -f -n 20 /var/log/auth.log
May 28 14:40:02 linux3 userdel[22647]: Cannot remove /var/mail/butler: No such file or directory May 28 14:40:02 linux3 userdel[22652]: delete user 'byron' May 28 14:40:02 linux3 userdel[22652]: removed group 'byron' owned by 'byron' May 28 14:40:02 linux3 userdel[22652]: Cannot remove /var/mail/byron: No such file or directory May 28 14:40:02 linux3 userdel[22657]: delete user 'caesar' May 28 14:40:02 linux3 userdel[22657]: removed group 'caesar' owned by 'caesar' May 28 14:40:02 linux3 userdel[22657]: Cannot remove /var/mail/caesar: No such file or directory May 28 14:40:02 linux3 userdel[22662]: delete user 'caleb' May 28 14:40:02 linux3 userdel[22662]: removed group 'caleb' owned by 'caleb' May 28 14:40:02 linux3 userdel[22662]: Cannot remove /var/mail/caleb: No such file or directory ... May 28 14:40:06 linux3 userdel[22882]: delete user 'chuck' May 28 14:40:06 linux3 userdel[22882]: removed group 'chuck' owned by 'chuck' May 28 14:40:06 linux3 userdel[22882]: Cannot remove /var/mail/chuck: No such file or directory May 28 14:40:06 linux3 userdel[22887]: delete user 'cinderella' May 28 14:40:06 linux3 userdel[22887]: removed group 'cinderella' owned by 'cinderella' May 28 14:40:06 linux3 userdel[22887]: Cannot remove /var/mail/cinderella: No such file or directory May 28 14:40:06 linux3 userdel[22892]: delete user 'cindie' May 28 14:40:06 linux3 userdel[22892]: removed group 'cindie' owned by 'cindie' May 28 14:40:06 linux3 userdel[22892]: Cannot remove /var/mail/cindie: No such file or directory ^C |
#tail -f -n 20 /var/log/auth.log
May 28 14:40:02 linux3 userdel[22647]: Cannot remove /var/mail/butler: No such file or directory May 28 14:40:02 linux3 userdel[22652]: delete user 'byron' May 28 14:40:02 linux3 userdel[22652]: removed group 'byron' owned by 'byron' May 28 14:40:02 linux3 userdel[22652]: Cannot remove /var/mail/byron: No such file or directory May 28 14:40:02 linux3 userdel[22657]: delete user 'caesar' May 28 14:40:02 linux3 userdel[22657]: removed group 'caesar' owned by 'caesar' May 28 14:40:02 linux3 userdel[22657]: Cannot remove /var/mail/caesar: No such file or directory May 28 14:40:02 linux3 userdel[22662]: delete user 'caleb' May 28 14:40:02 linux3 userdel[22662]: removed group 'caleb' owned by 'caleb' May 28 14:40:02 linux3 userdel[22662]: Cannot remove /var/mail/caleb: No such file or directory ... May 28 14:40:06 linux3 userdel[22882]: delete user 'chuck' May 28 14:40:06 linux3 userdel[22882]: removed group 'chuck' owned by 'chuck' May 28 14:40:06 linux3 userdel[22882]: Cannot remove /var/mail/chuck: No such file or directory May 28 14:40:06 linux3 userdel[22887]: delete user 'cinderella' May 28 14:40:06 linux3 userdel[22887]: removed group 'cinderella' owned by 'cinderella' May 28 14:40:06 linux3 userdel[22887]: Cannot remove /var/mail/cinderella: No such file or directory May 28 14:40:06 linux3 userdel[22892]: delete user 'cindie' May 28 14:40:06 linux3 userdel[22892]: removed group 'cindie' owned by 'cindie' May 28 14:40:06 linux3 userdel[22892]: Cannot remove /var/mail/cindie: No such file or directory ^C |
#ssh -l swd crimea-board.info
итого 1428719 drwxr-xr-x 14 swd 1019 336 Апр 30 17:28 Agatha_Christie_-_Miss_Marple drwxr-xr-x 2 swd 1019 1104 Апр 27 18:24 Agatha_Christie_-_Poirot_Collection drwxr-xr-x 2 swd 1019 912 Май 6 12:47 BattleStar_Galactica_Season_1 drwxr-xr-x 2 swd 1019 1336 Май 6 20:39 BattleStar_Galactica_Season_2 drwxr-xr-x 2 swd 1019 1344 Май 7 15:20 BattleStar_Galactica_Season_3 drwxr-xr-x 2 swd 1019 1384 Май 8 15:03 BattleStar_Galactica_Season_4 -rw-r--r-- 1 swd 1019 730028032 Апр 27 19:57 Caprica_Pilot.avi -rwxr-xr-x 1 swd 1019 13 Янв 5 15:56 index.html -rw-r--r-- 1 swd 1019 731539456 Май 15 16:09 Lost.s05e16e17.rus.LostFilm.TV.avi lrwxrwxrwx 1 swd 1019 24 Май 14 19:26 Louis_Armstrong_Gold -> Louis Armstrong Gold 2CD drwxr-xr-x 5 swd 1019 168 Май 14 19:26 Louis Armstrong Gold 2CD drwxr-xr-x 2 swd 1019 408 Май 5 10:20 Midsomer_Murders_S01_DVDRip drwxr-xr-x 2 swd 1019 336 Май 20 16:15 Midsomer_Murders_S02_DVDRip drwxr-xr-x 47 swd 1019 1128 Апр 16 22:30 Poirot collection drwxr-xr-x 7 swd 1019 168 Янв 5 16:06 The_Pink_Panther drwxr-xr-x 5 swd 1019 224 Апр 29 18:48 Рада и Терновник swd@crimea-board:~/upload$ exit logout Connection to crimea-board.info closed. |
#ssh -l swd crimea-board.info
итого 1428719 drwxr-xr-x 14 swd 1019 336 Апр 30 17:28 Agatha_Christie_-_Miss_Marple drwxr-xr-x 2 swd 1019 1104 Апр 27 18:24 Agatha_Christie_-_Poirot_Collection drwxr-xr-x 2 swd 1019 912 Май 6 12:47 BattleStar_Galactica_Season_1 drwxr-xr-x 2 swd 1019 1336 Май 6 20:39 BattleStar_Galactica_Season_2 drwxr-xr-x 2 swd 1019 1344 Май 7 15:20 BattleStar_Galactica_Season_3 drwxr-xr-x 2 swd 1019 1384 Май 8 15:03 BattleStar_Galactica_Season_4 -rw-r--r-- 1 swd 1019 730028032 Апр 27 19:57 Caprica_Pilot.avi -rwxr-xr-x 1 swd 1019 13 Янв 5 15:56 index.html -rw-r--r-- 1 swd 1019 731539456 Май 15 16:09 Lost.s05e16e17.rus.LostFilm.TV.avi lrwxrwxrwx 1 swd 1019 24 Май 14 19:26 Louis_Armstrong_Gold -> Louis Armstrong Gold 2CD drwxr-xr-x 5 swd 1019 168 Май 14 19:26 Louis Armstrong Gold 2CD drwxr-xr-x 2 swd 1019 408 Май 5 10:20 Midsomer_Murders_S01_DVDRip drwxr-xr-x 2 swd 1019 336 Май 20 16:15 Midsomer_Murders_S02_DVDRip drwxr-xr-x 47 swd 1019 1128 Апр 16 22:30 Poirot collection drwxr-xr-x 7 swd 1019 168 Янв 5 16:06 The_Pink_Panther drwxr-xr-x 5 swd 1019 224 Апр 29 18:48 Рада и Терновник swd@crimea-board:~/upload$ exit logout Connection to crimea-board.info closed. |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#cat ./create_users
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done |
#фзеapt-get install
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. ^C |
#фзеapt-get install
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. ^C |
#apt-get install sudo
Reading package lists... Done Building dependency tree Reading state information... Done sudo is already the newest version. The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#apt-get install sudo
Reading package lists... Done Building dependency tree Reading state information... Done sudo is already the newest version. The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#vi /etc/sudoers
--- /tmp/l3-saved-3433.6691.26111 2009-05-28 15:19:06.000000000 +0300 +++ /etc/sudoers 2009-05-28 15:20:09.000000000 +0300 @@ -15,6 +15,7 @@ # User privilege specification root ALL=(ALL) ALL +user ALL=(ALL) ALL # Uncomment to allow members of group sudo to not need a password # (Note that later entries override this, so you might need to move |
#passwd user
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#passwd user
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
#vi /etc/sudoers
--- /tmp/l3-saved-3433.5657.14338 2009-05-28 15:33:56.000000000 +0300 +++ /etc/sudoers 2009-05-28 15:34:40.000000000 +0300 @@ -15,7 +15,7 @@ # User privilege specification root ALL=(ALL) ALL -user ALL=(ALL) ALL +user ALL=(ALL) /bin/cat # Uncomment to allow members of group sudo to not need a password # (Note that later entries override this, so you might need to move |
#vi /etc/sudoers
--- /tmp/l3-saved-3433.22334.1183 2009-05-28 15:36:46.000000000 +0300 +++ /etc/sudoers 2009-05-28 15:37:00.000000000 +0300 @@ -15,7 +15,7 @@ # User privilege specification root ALL=(ALL) ALL -user ALL=(ALL) /bin/cat +user ALL=(ALL) ALL # Uncomment to allow members of group sudo to not need a password # (Note that later entries override this, so you might need to move |
#sudo
usage: sudo [-n] -h | -K | -k | -L | -V | -v usage: sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid] [-g groupname|#gid] [command] usage: sudo [-AbEHnPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AnS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] file ... |
#sudo
usage: sudo [-n] -h | -K | -k | -L | -V | -v usage: sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid] [-g groupname|#gid] [command] usage: sudo [-AbEHnPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AnS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] file ... |
#apt-get install vlock
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: vlock 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 38.1kB of archives. After this operation, 221kB of additional disk space will be used. Get:1 http://10.0.35.1 sid/main vlock 2.2.2-3 [38.1kB] Fetched 38.1kB in 0s (2187kB/s) Selecting previously deselected package vlock. (Reading database ... 44652 files and directories currently installed.) Unpacking vlock (from .../vlock_2.2.2-3_i386.deb) ... Processing triggers for man-db ... Setting up vlock (2.2.2-3) ... |
#apt-get install vlock
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: vlock 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 38.1kB of archives. After this operation, 221kB of additional disk space will be used. Get:1 http://10.0.35.1 sid/main vlock 2.2.2-3 [38.1kB] Fetched 38.1kB in 0s (2187kB/s) Selecting previously deselected package vlock. (Reading database ... 44652 files and directories currently installed.) Unpacking vlock (from .../vlock_2.2.2-3_i386.deb) ... Processing triggers for man-db ... Setting up vlock (2.2.2-3) ... |
#фзе-ашдapt-file search getfacl
acl: /usr/bin/getfacl acl: /usr/share/man/man1/getfacl.1.gz lustre-tests: /usr/lib/lustre/tests/acl/getfacl-noacl.test manpages-ja: /usr/share/man/ja/man1/getfacl.1.gz zsh: /usr/share/zsh/functions/Completion/Cygwin/_getfacl zsh-beta: /usr/share/zsh-beta/functions/Completion/Unix/_getfacl |
#фзе-ашдapt-file search getfacl
acl: /usr/bin/getfacl acl: /usr/share/man/man1/getfacl.1.gz lustre-tests: /usr/lib/lustre/tests/acl/getfacl-noacl.test manpages-ja: /usr/share/man/ja/man1/getfacl.1.gz zsh: /usr/share/zsh/functions/Completion/Cygwin/_getfacl zsh-beta: /usr/share/zsh-beta/functions/Completion/Unix/_getfacl |
#apt-get install acl\
> Reading package lists... Done Building dependency tree Reading state information... Done acl is already the newest version. acl set to manually installed. The following packages were automatically installed and are no longer required: update-inetd portmap Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1` useradd -m $username >& /dev/null ( echo $pass ; echo $pass ) | passwd $username >& /dev/null echo $username $pass >> ./user_list echo 'User '$username' created' done
#!/bin/bash cat ./user_list | awk '{print $1}' | while read username do userdel -rf $username >& /dev/null echo 'User '$username' deleted' done > ./user_list
#!/bin/bash > ./user_list zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username do pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep -v ...... | head -1` useradd -m $username ( echo $pass ; echo $pass ) | passwd $username echo $username $pass >> ./user_list done
Время первой команды журнала | 12:54:02 2009- 5-28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:13:31 2009- 5-28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.90 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.48 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008