How might I use script /usr/bin/su-to-root after I have intentionally locked the root account?
Running Debian GNU/Linux 6.0.5 "squeeze" and noticed menu item "System > Administration > Synaptic Package Manager" has default command:
su-to-root -X -c /usr/sbin/synaptic
which fails even though I provide the correct root password.
Hello,I'm a beginners on linux and this is my first post.I installed #!10a2 and did an upgrade. While processing it has been asked to me if I wanted to replace the existing sudoers file by the packet owner one. I said YES ...
Grant wrote:But how can sudo get every permissions, if I don't give root's password when asked?If I use my password to run programs as root, it isn't a little insecure?It is repetitive, because I'm already logged, and so it's like a second log in.It will only grant those permissions if the running user is listed in the sudoers file.It's not a second login, it's g
I logged in as root and visudo'd /etc/sudoers.
I found several users with the username ALL=(ALL) ALL entries and added an account after the last one.
Saved the file.
When the user logs in and does "sudo su -" they are prompted for their password and then told they are not in the sudoers file.
Is there another step to "activate" the change?:confused:
So I go to run synaptic as usual and a message box pops up:Failed to run synaptic as user root.
The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator.I tried in a terminal and I get a scary message from Big Brother:damo is not in the sudoers file.
I have several servers where some users require to be sudoers to work. The problem is that when sudoers can run the command sudo su and login as user root. It seems very risky to run that command.
I tried with Command Alias in the file /etc/sudoers but it has not worked.
Is there any way that they are sudoers but not run the command sudo su?
-r--r----- 1 root root 723 Jan 31 2012 sudoers
My dist-update frequently fails.
At boot my system frequently asks for file system check.
sudo does not work.
I have installed Arch onto a USB key, using BTRFS.
The output of "sudo" is:
$ sudo
sudo: unable to stat /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
$ ls -l /etc/sudoers
-r--r----- 1 root root 2849 May 18 15:00 /etc/sudoers
$ lsattr /etc/sudoers
--------------- /etc/sudoers
$ strace -u ross sudo true
When you run any command as root, the password is remembered for 15 minutes by default. If you want to change the password remember time, just open the terminal and run:
sudo visudo
The sudoers file will be opened in the terminal (the text editor will be nano in Ubuntu and vi in Arch Linux).