Re: strange su behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLlV38AAoJENs3frmum9swTsgH/1NXTua12hvnHt1js0Mzc1wI
RViyiATgPTCYUEKtfR7vUw6oWymbu+Psb8QWjH/x++FkBogjRBGrYjMHP2bhrcBx
c8PP4WMWkTpuX05Tb+ox7oB2r8qzuSudx9np9Gx/b1RJJI7y9SG3eiPRINyFreEG
1ywjyvRfvOZPo3398RqXLb6zqEqrK7ghyNp0oo0p7NS4mfn9ipwPMlAzL0oYjmNY
+W5dv/Gce/KCHp94piDens312WTTqF+NCpNOSVtz9r6sjHJwGkcDhS86p+p+b+TO
Fls5KkgPrh2LldNfrvxLgP+D3XVAMBz60ZKWQ2tk7zaLCqd9nWCvn8v1dhAqWS4=
=PjGv
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux