sudo psswrd prob.
Hi,
There's something i don't understand. I only used one password while installing Fedora 13, but am having trouble with admin access: Code:
[fedjond@Fedora13 ~]$ echo 'fedjond ALL=(ALL) ALL' >> /etc/sudoers [sudo] password for fedjond: fedjond is not in the sudoers file. This incident will be reported. [fedjond@Fedora13 ~]$ Can you point it out please? thanks for your time |
Quote:
You are a non-root user, and are obviously denied access to the file. Either run that command as root (NOT recommended), or use the proper method and run visudo, to put yourself in the sudo'ers file. If you're not in sudoers, you won't be able to run sudo commands, no matter what password, or how many times you try. Run "su - root", log in as root, and run visudoers to add your user. |
maybe there is a password set for the root account (the single one you used)? Did you try just "su" with that password?
If it doesn't work, you can always "crack" root locally when you control the machine by passing "init=/bin/sh" to the kernel when booting and then mounting / rw ("mount / -o remount,rw") and setting a new root password with "passwd". Don't forget to remount / ro ("mount / -o remount,ro") before turning off the system. If you don't want a root password, set something like * or ! as the password hash in /etc/shadow for root, but make sure you can sudo before. On a side note: never edit /etc/sudoers directly, use visudo :) |
It said sudo won't work so you have to use su or add your name to the sudoers list. It asks for the admin password not your user.
|
Quote:
|
All times are GMT -5. The time now is 04:26 PM. |