Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just tried to sudo something, and was asked for a sudo password. What?--I thought that was always the root password; it apparently is not, because the root password was rejected. I tried entering my user password; that time the console said what I expected: "Sorry, user josh is not allowed to execute '/usr/bin/apt-get build-dep virtualbox' as root on mepis1." Why would my sudo password be different from the root password?
I did just reinstall MEPIS. Could a mistake during installation have caused this?
Since I can't sudo until I find out the password, I can only su - . I preserved /home and then tried t
Last edited by newbiesforever; 08-09-2009 at 01:52 PM.
maybe if you actually read the sudo manpage you'd understand what's going on...
Code:
DESCRIPTION
sudo allows a permitted user to execute a command as
the superuser or another user, as specified in the
sudoers file. The real and effective uid and gid are
set to match those of the target user as specified in
the passwd file and the group vector is initialized
based on the group file (unless the -P option was
specified). If the invoking user is root or if the
target user is the same as the invoking user, no pass‐
word is required. Otherwise, sudo requires that users
authenticate themselves with a password by default
(NOTE: in the default configuration this is the user’s
password, not the root password). Once a user has
been authenticated, a timestamp is updated and the
user may then use sudo without a password for a short
period of time (15 minutes unless overridden in sudo‐
ers).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.