Re: sudo problem after resetting root password



Hello,
using your command, "sudo passwd root"

ozgur@gw:~/Desktop/$ sudo passwd root
Password:
Enter new UNIX password:

root@gw:/# cat /etc/sudoers |grep admin
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

root@gw:/# cat /etc/group |grep admin
admin:x:108:ozgur

Sincerely,

man sudo
man sudoers


yorlick kilroy yazmış:
Hi,

after losing (forgetting) my root (sudo) password, I used the Kubuntu live
CD to delete the "!" from the shadow file for the root entry. After
rebooting Kubuntu from harddisk I was able to reset the password by using
the console login and logging in as root and typing in passwd. However now
I
cant do the "sudo" thing anymore. I keep getting a permission denied. The
funny thing is that now I am able to login as root in console mode or by
typing in "su" from another account.
Does anyone know how I can fix the broken "sudo" feature?

--
Ozgur Karatas

Web: http://www.ozgurkaratas.com/
Blog: http://blog.ozgurkaratas.com/
--


.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Card Reader
    ... Running your script ... instead of sudo is worthless because your script *can't do ... And of course it doesn't ask for a root password, ... >> That's just more bullshit Bryan, and you might as well leave ...
    (rec.photo.digital)
  • Re: hi all..
    ... And with sudo, I certainly wouldn't because they already have root. ... If you somehow had access to my account right now, ... install an effective key logger without root. ...
    (Fedora)
  • Re: hi all..
    ... compromise security to achieve it - such as very insecure sudo defaults ... that essentially make any admin group user password a root password. ... IE someone gets your user account password, they can do more than just ...
    (Fedora)
  • Re: Choosing a distribution
    ... 'sudo bash' where I haven't had a proper root account to work with. ... cracked and hence give the intruder root access. ...
    (Ubuntu)
  • Re: hi all..
    ... and someone gets access your shell account, ... Only root can install an su binary. ... Of course, if I have sudo ...
    (Fedora)