[CentOS] strange su behavior

Mon Mar 8 21:15:30 UTC 2010
Uwe Kiewel <ml at kiewel-online.ch>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 08.03.2010 22:03, schrieb Dan Burkland:

>> [root at halifax ~]# useradd test00
>> [root at 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:
>> 
>> [test00 at halifax ~]$ logout
>> [root at halifax ~]# su - test00
>> [test00 at halifax ~]$ logout
>> [root at halifax ~]#
>> 
>> 
>> At this test procedure I just hit the enter key at the password promt.
>> 
>> 
>> Do you have any idea for this behavoir? I expect to do so from root to
>> any account _without_ being prompted for the password.
>> 

> Have you tried just running su without the dash and space before the username? (For example: su test00). If not try that and let us know if you receive the same result.

Same result:

[root at halifax ~]# su test00

Password:

[test00 at halifax root]$ exit
[root at halifax ~]#

- -- 
Thanks,
	Uwe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLlWjxAAoJENs3frmum9swV70H/1yUOrDx4CYrk3zz7KQqTqe9
OQdYKyAfpOiS+aNTrdX1u3/GNwF5E36M2Wjrnfp+2ZjAvVgHR0UazXBkMpsgLM2r
SJwDw+dNAdaPcdKCAOmgN1Bf5gHxdeD3b5KReQ2h6kJWwoMXNAVv+lut5B88tm3/
8S/bQAPfAmsojzR8aVX6Lr5kmf7EoHEBDwt6Rx3dPi37tghf1GC1bjU9ES3zo2t5
WJbvsZddplRocH9kB/TUeUmuSclP7RBNd2iyjL2SS7wabX6rjy6x+AmvBCc3+hsn
HrjYe5CmUwRaCAKVw76Z13cyZEfL+A50m3SfrcHtnDcNRriQnlJ3hugVTIYKHEQ=
=5kjJ
-----END PGP SIGNATURE-----