On Sunday 09 November 2003 17:21, Alex Karasulu wrote:
> > Sorry, my e-mail has been down since friday evening. Where
> > are we here. Which stuff have you already resolved :-). What stuff
> > can I look into for you or test?
> > Cheers,
> > Steve
>
> Ok Steve just educate me a little on OS X by answering these questions:

Let me guess meanwhile...

> 1). OS X is a version of UNIX if I remember correctly but
> it does not have an /etc/passwd file right?

Built in on FreeBSD, since there are no GPL attached to it.
And I would be surprised if there is no /etc/passwd, it has been around for 
~25 years.

> 2). Several different shells can run on OS X right? Bash,
> Ksh, sh, csh et. Cetera right?

Sure.

> 3). If 1 & 2 are correct how do I find the default shell used by
> the user on login?  Is there a command I can spawn to get this
> value?

The environment variable SHELL is supposed to be the running shell, but I'm 
not entirely sure that it is the user default shell, the top login shell or 
the last invoked (bottom) shell.
In Linux it seems to be prefered shell, but could be different elsewhere.

Niclas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to