eight
|
2012-01-06
, 15:45
|
|
Posts: 106 |
Thanked: 81 times |
Joined on Dec 2011
@ /
|
#11
|
The Following User Says Thank You to eight For This Useful Post: | ||
|
2012-01-06
, 22:06
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#12
|
|
2012-01-06
, 23:37
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#13
|
|
2012-01-07
, 00:05
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#14
|
find / -perm -4000 -print
Nokia-N900-42-11:~/scripts# ls -l `find /usr/bin -perm -4000` -rwsr-xr-x 1 root root /usr/bin/chfn -rwsr-xr-x 1 root root /usr/bin/chsh -rwsr-xr-x 1 root root /usr/bin/eapd -rwsr-xr-x 1 root root /usr/bin/fusermount -rwsr-xr-x 1 root root /usr/bin/gpasswd -rwsr-xr-x 1 root root /usr/bin/gpg -rwsr-xr-x 1 root root /usr/bin/hildon-sv-notification-daemon -rwsr-xr-x 1 root lpadmin /usr/bin/lppasswd -rwsr-xr-x 1 root root /usr/bin/mission-control -rwsr-xr-x 1 root root /usr/bin/passwd -r-sr-sr-x 1 root root /usr/bin/pnatd -rwsr-xr-x 1 root root /usr/bin/rclockd -rwsr-xr-x 2 root root /usr/bin/sudo -rwsr-xr-x 2 root root /usr/bin/sudoedit
|
2012-01-07
, 00:09
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#15
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2012-01-07
, 10:38
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#16
|
Edit: One thing of note, /bin/su would be unaffected by this. So if you have set a root password (via sshd or sudo in the past), you should still be able to use /bin/su - to change to root and fix things that way.
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-01-07
, 11:19
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#17
|
Rescue OS (search forum) is also and idea, for people that haven't installed backupmenu.
Just out of curiosity - may I ask, why You decided to execute so ridiculous command? I admit that it's better than rm -r /, but i still can't see any sane reasons to even think about that,
/Estel
|
2012-01-10
, 03:14
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#18
|