> From: Chris Gerhard <chris.gerhard at sun.com> > > 2) For TZ and SHELL exactly how you test their correctness is unclear. For > TZ I could add a hook into libc to get it to be able to do the check (and have another ARC case) but for shell, short of actually executing the shell there is no way to verify that the shell is good.
You might consider using getusershell(3c) and and compare the specified shell against the list of standard shell paths. April