> > Another OS X issue is that in OS X /etc/passwd is not the system of
> > record.
> 
> 
> That's ok - what we can do is to update Env.java to do whatever is
> needed that is specific to the OS X platform.
> 
> >
> > I can work around this by forcing it's update via "nidump passwd / >
> > /etc/passwd"
> > but I'm not sure what the standard way of dealing with this
> > incompatibility is.
> 
> 
> Alex should be around soon - it will be simpler to ask him what we need
> to resolve. Basically the problem is occuring under the
> getUnixUserShell() operation - it appears that we need to do som special
> handling for OS X.

Ok what is the command to find out the default shell used by a user in your
OS based on the user's name?

This will tell me the shell to run to check environment parameters in.  You
see the think that absolutely sucks about this thankless piece of code is
that the environment can be different because users can have different
shells in UNIX.  The property you're looking for in the environment may not
be available.  So the strategy I used was to check in the user's default
environment hence the need to peek into the /etc/passwd file to get the 
user's shell executable path.

Now I also need to know about your shells.  I shall unless told otherwise
presume that OS X is a UNIX variant and that it has shells like sh, ksh, csh
and bash.

Alex



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

Reply via email to