Darren J Moffat wrote:
> Scott Rotondo wrote:
>> Darren J Moffat wrote:
>>> Post this case I expect it will look like this
>>> -----------------------------------------------
>>>
>>> Requesting System Maintenance Mode
>>> SINGLE USER MODE
>>>
>>> Enter username (control-d to bypass): darrenm
>>
>> Implementation suggestion: It would be nice for hitting carriage
>> return at this point to be acceptable as a synonym for "root". I don't
>> think it's necessary to clutter the prompt with that information, but
>> it would be a reasonable interpretation for a null string entered at
>> this prompt.
>
> IMO that is not an implementation issue but an interface. If the
> project team intends to take you up on that then I believe it should be
> part of the spec.
>
I see your point. I hope the project team will consider incorporating
this refinement.
On the other hand, I really do think this could be considered a detail
of the implementation. Under my proposal, sulogin will still prompt for
a username and password. Even if the spec is silent on the issue, the
implementation has to have *some* deterministic behavior when the
username is a null string; I'm just suggesting what that behavior should be.
Scott