FedoraThis forum is for the discussion of the Fedora Project.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using Fedora 14. I installed the OS, and I
have the root password. I use the machine as a
If I try to login as root from the initial login
screen, I get an error saying permission denied.
If I login as the non-root user, and try to do
something that requires root privileges, e.g.,
modify a firewall rule, a dialog box comes up,
asking for root password. I get authenticated
without any issues.
However, if I try to do a 'sudo root' from the
console, the system asks for the root password
of the non-root user, which does not exist.So
typing in the root password does not work.
Could some Fedora guru suggest a remedy ?
Thanks in advance for your help.
The sudo command stands for "superuser do". It prompts you for your personal password and confirms your request to execute a command by checking a file, called "sudoers", which the system administrator configures. Using the sudoers file, system administrators can give certain users or groups access to some or all commands without those users having to know the root password. It also logs all commands and arguments so there is a record of who used it for what, and when.
When you enter the sudo command and any command you want to execute, what it asks is the users password and not the root.(usually used for executing single commands)
Fedora doesn't add users to this sudoers list by default. It is left to the root to configure.
In simple words, Fedora does not configure "sudo" by default.
On the other hand, The su command stands for "switch user", and allows you to become another user (usually used to become root).
If you still wanna hold on to "sudo" for some change. u can check the manual for sudoers. type "man sudoers" in the terminal and apply the proper configuration as per given.
I posted this query in another thread that I recently started about a non-booting new kernel, but it might be better to tack it onto this one.
Originally Posted by John VV
but please do not use that "pam" hack
there ARE VERY big problems with that .
A lot of tools WILL NOT WORK from root if you do .
both fedora AND the Gnome desktop
killed off the root gui boot
-- for GOOD REASONS ---
AAMOI & FMI what are those good reasons?
I ask because, apart from su -, I've been using the "commentingoutline2 in /etc/pam.d/password" hack to get at "root" for months with no apparent problems.
It's so good/vitalIMO to be able to get at "root" from the GUI or my user account
And, AAMOI, how come the user account(s) don't appear in the Home folder when viewed from "outside"?
Last edited by PaulFC5; 11-03-2011 at 09:28 PM.
Reason: Solved the problem