RE: Debian 7.1 root password issue.
Cindy-Sue Causey <butterflybytes@gmail.com> wrote:
> On 2/2/15, Wayne Hartell <w.hartell@ozemail.com.au> wrote:
> > Michael Collins wrote:
> >
> >> Log in with the user account. Left-click the user account name
> >> (upper right corner), select system settings, select user, left-click Unlock.
> >> Enter the root password. Change the user account to an administrator.
> >>
> >
> > As a new Linux/Debian user I have been doing the "not recommended"
> > thing (at least I think it says it's not recommended; it has been a
> > while since my last install) thing of not setting a password for root.
> > That way there's no hoops to jump through to the installer puts my
> > intended user account into the sudoers list. Now the steps to do this
> > manually are re-described above I realize that under Gnome it's not
> > actually that hard to do (when making my install selections I had
> > memories of the manual way trying to edit the sudoers file, which for
> > a new user is a little daunting. I recall it taking me a few attempts to
> > get it to work. The installer gave me an easy way out).
> >
> >
> > That brings me to my point; due to my installer choices, I cannot log
> > in under root on the three systems that I have installed so far. Right
> > now I have no reason to believe that this is or ever will be an issue
> > since I can use sudo and that feels safer to me. Does anyone have any
> > different opinions on this? (These are home systems and predominantly
> > for learning Linux/Debian at this point, as opposed to being core
> > systems that are depended upon for daily use, although one day in the
> > not too distant future I hope to change this).
> My apologies if this has already been suggested or if you've already
> mentioned you tried it, but have you tried:
> passwd root
> via command line as one of your users that has rights to do so? You
> enter a password, enter it again to confirm, and done deal. It seems a
> little too easy to do, actually. Every time I do it, my mind wanders off
> thinking how easy it is to change if someone gains control of one of
> our sudo enabled user accounts...
I just gave that a whirl and yes it works like a charm!
Regards,
Wayne.
> Just thinking out loud :)
> Cindy :)
Reply to: