Darren J Moffat wrote: > Nicolas Williams wrote: >> On Tue, Jul 01, 2008 at 08:09:46AM -0700, Gary Winiger wrote: >>> Proposal: >>> ======== >>> Add a "solaris.system.maintenance" authorization. Modify >>> sulogin(1M) to >>> prompt for a username and password. [...] >> >> But only if root is a no login account, right? > > That isn't how I read it. I read that it would always be the new way. > >> Otherwise this could create problems (first, there's the surprise >> factor, second people have expect scripted around sulogin's existing >> prompt -- even if the prompt is not an interface, it's been stable for a >> long time). > > I think the surprise is fine for a Micro but not patch release. The > project team has already said there is no intent to patch this into S10. > I'd be shocked to find anyone has expect scripted sulogin (possibly excepting some test code here inside Sun to test failure scenarios, although even that seems doubtful).
When sulogin is invoked, the machine is typically already at the point of failure, and its hard to imagine people building scripts around recovery actions. (You'd have to look at "why" the machine is in single user, and determine a course of repair action, etc. That probably means parsing the rest of the console output, not just the login prompt. I doubt there's any software in use that is sophisticated enough to do this without the help of an administrator.) -- Garrett