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

Re: Single-use root account?



Alex Malinovich <demonbane@the-love-shack.net> writes:

> You can log in once, but as soon as you do the user gets locked
> out. (passwd -l in .bashrc)

Wouldn't work, since the person has root, and can therefore unlock
the password.  Maybe you could add it in bash's logout script, but
that could be edited as well.

> So any ideas on how to go about it? Is it possible to have two different
> users with the same UID? i.e. adduser --uid 0 --gid 0 temproot

Yes.

-- 
Alan Shutko <ats@acm.org> - I am the rocks.
"Well baste my steaming puddings!" - Blackadder Christmas Special.



Reply to: