Can't su anymore

Axel Luttgens luttgens at fusl.ac.be
Thu Feb 28 03:05:50 PST 2008


Le 28 févr. 08 à 11:24, Philip Mötteli a écrit :

> Am 28.02.2008 um 10:47 schrieb Axel Luttgens:
>
>> [...]
>> But more directly related to su, perhaps has your
>> 	/etc/authorization
>> file been modified
>
> That's interesting: I have a '/private/etc/authorization' and a '/ 
> private/etc/authorization.user_modified'. I have no idea, when this  
> has been modified.
>
>
>> (especialy wrt to its key system.login.tty)?
>
> I don't know, what should be there. Perhaps you have a look:?
>
>
>> Or even your
>> 	/etc/pam.d/su
>> file?
>
> Again, I don't know, what should be there:
> ?

Sending you a copy of those files (authorization and su) in a separate  
email.

>
>> On the other hand, could you try a:
>> 	sudo find / -name su
>>
>> (longer than just a locate, but sure more exhaustive;
>
> 	$ sudo find / -name su
> 	Password:
> 	/private/etc/pam.d/su
> 	/usr/bin/su
>
> That's all.

So, only one su executable.

By chance, do you have aliases somehow defined when launching your  
shell? (BTW, what's your shell?)
In the case of bash (or sh),
	alias -p
may provide a hint, as well as a look at /etc/profile,  
~/.bash_profile, ~/.bashrc, ~/.profile, $BASH_ENV, $ENV, etc.
And what gives when trying with a shell other than the usual one?

Axel



More information about the MacOSX-admin mailing list