why can't I su to root?

Ron Flax ron at afsg.apple.com
Mon Sep 17 12:00:45 AEST 1990


In article <1990Sep15.201545.5311 at servalan.uucp> rmtodd at servalan.uucp (Richard Todd) writes:
>anderson at csli.Stanford.EDU (Steve Anderson) writes:
>>The tcsh on afsg.apple.com works fine, except for one thing: when I
>>login with this as my shell, it doesn't run my .login, apparently. The
>>same thing happens with bash as my login shell. Only when my default
>>shell is sh or csh is .login run.
>
>  Hmm.  Is your default session type the Mac 32-bit or 24-bit session?  
>I've noticed that for some reason when logging in to that type of session,
>when your shell is tcsh, that your .login is not executed.  Looks like

Actually, what's happening is that /etc/Login exec's your shell with the -c
argument and calls /mac/bin/mac{32,24} which means the shell in your
first CommandShell window is not really a login shell.  So that
shell doesn't source your .login by design.

--
Ron Flax
ron at afsg.apple.com	
Apple Federal Systems Group



More information about the Comp.unix.aux mailing list