-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 08.03.2010 21:21, schrieb John R Pierce:
Uwe Kiewel wrote:
[root@halifax ~]# useradd test00 [root@halifax ~]# su - test00
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.
Password: ...
that almost sounds like sudo, not su. is it aliased or something?
I don't think so:
[root@halifax ~]# type su su is hashed (/bin/su)
[root@halifax ~]# file /bin/su /bin/su: setuid ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, stripped
[root@halifax ~]# type sudo sudo is /usr/bin/sudo
[root@halifax ~]# file /usr/bin/sudo /usr/bin/sudo: setuid ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, stripped
[root@halifax ~]# sum /bin/su 22494 24
[root@halifax ~]# sum /usr/bin/sudo 63311 138
Thanks, Uwe