[geeks] OpenSolaris ready for Production?

Sridhar Ayengar ploopster at gmail.com
Tue Mar 3 19:01:33 CST 2009


Phil Stracchino wrote:
> Mike Meredith wrote:
>> I'm not sure why Solaris 10 is scarier than OpenSolaris; after all you
>> can simply install bash, do something like "/bin/bash -c true &&
>> exec /bin/bash" in root's .profile, and a few other things and it won't
>> seem much different.
> 
> I'm not familiar with that usage and can't quite make sense of what it
> would do.  As far as I can see, '/bin/bash -c true' returns true if
> 'true' exists in the current directory and is a character special file,
> which doesn't seem a useful test under the circumstances.

It prevents .profile from trying to run /bin/bash if /bin/bash doesn't 
exist.

Peace...  Sridhar



More information about the geeks mailing list