Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 am very new at Linux (just installed Mandriva 2009 Spring a few days ago). I'm liking it very much so far.
I downloaded a program called DeVeDe, and from going online and reading a few tutorials, I found out how to extract and install the program. I have to use a command called "SUDO" (which I'm sure you're familiar with).
The problem is, when I type "sudo ./install.sh" on the terminal, and I enter my password, it says I'm not on the sudoer list, and it won't let me install the program.
Again, by going online, I was able to find where the the "sudoer" file is on my computer, but I cannot get access to this file.
I am the only user on this system. How do I set myself up to have the privileges to access files such as "sudoer", and to have full System Administrator rights? Did I miss something in the initial install?
Any help would be greatly appreciated.
sudo is used to elevate your privileges temporarily. I'm not familiar with Mandriva, but if you are not in the sudoers list, Mandriva might have a normal root user. If so, use su - (su dash) and login. Navigate to the folder and run the install script without sudo in front of it.
Don't you need to have root privileges to edit the sudoers file ?
First of all, thank you all for your reply.
There are, however, still some issues. First, with Visudo.... I don't have this program on my list of programs to install. If I download it from the internet, and try to install it, wouldn't I run into the same problem I'm having now?
Secondly, how do I login as root? I tried, from the welcome screen, just typing in the word "root" in the username, and the root password. But it comes up with the message "Root logins are not allowed", and it won't let me login under that name. Am I doing this right?
Wim, I did what you said (su - username). It went through as if it was installing, but after every file, it said "Permission Denied".
I'm starting to wonder if the problem is with Mandriva itself.
I finally figured out how to open the sudoers file. Under "Configure Your Computer", I clicked on "Manage Users on System", and double clicked on the username. Then, under "Groups" I selected "root".
However, I used visudo to edit the file, but the file doesn't save when I exit. Do you know how to do this?