sudo problem after resetting root password
Ozgur Karatas
okaratas at ogr.iu.edu.tr
Wed Jan 31 08:49:38 UTC 2007
Hello,
using your command, "sudo passwd root"
ozgur at gw:~/Desktop/$ sudo passwd root
Password:
Enter new UNIX password:
root at gw:/# cat /etc/sudoers |grep admin
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
root at 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/
--
.
More information about the ubuntu-users
mailing list