[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for feature: adduser --alias



Shaleh <shaleh@livenet.net> wrote:
> Adduser has an option to create a user with no password. Does this
> help? If not I missed the point.

The idea is to create another password entry (which will follow the
first in the /etc/passwd) with a uid which is already in use (uid 0 in
this case), and with a valid password.  [If the name is already in use,
it should bail out with an error -- it's sometimes reasonable to assign
multiple names to the same uid, but not to have multiple instances of
the same name.]

This way, you can sign on as sashroot for recover work, while retaining
the command line editting features, etc. of your normal root shell.

sash is a statically linked root shell, whose primary benefit is to
let you log on as root and do something about a system whose shared
libraries are damaged.

-- 
Raul


Reply to: