W. Wayne Liauh writes:
> One of the more welcoming changes in SXCR 55b is that immediately
> after installation and logging in as root, we are asked to add one
> or more new users.  For non-root users, bash is now the default
> shell.

*boggle*

> I also went ahead and changed the default shell from "sh" to "bash"
> even for root (& created /root for it home directory).

I never touch the 'root' entry on my systems -- because (except for
systems in the lab, where I don't care if they get trashed) I just
don't log in as root.  With RBAC and sudo, why would you ever want to
log in as root anyway?  It's asking for trouble.

The lone case is perhaps with system recovery, but one rarely does (or
can do ;-}) significant amounts of work there, and in the case where
you need to do more than a few second's worth, typing "ksh", "zsh", or
even "tcsh" puts you in a friendlier place.  No changes required.

>  While this
> used to be a big no-no, I was told it is OK after Solaris 10.  Is
> this advice correct?  Thanks.

It was actually OK before Solaris 10.  If the system can't exec root's
shell, it automatically falls back to /sbin/sh.

You may, though, have problems with software that assumes that root's
shell is plain Bourne and/or that root's home directory is exactly
"/".  We've had that problem with some of the system test scripts,
which is why the RFE to change root's home directory hasn't been
completed yet.  Caveat haxor, I suppose.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to