Tagged Questions
1
vote
1answer
107 views
Setting the root password vs. sudo -i
Should one always set a root password, or is sudo -i acceptable? Two problems is in reading other posts (maybe junk I realize):
sudo -i eliminates the need for a password. Isn't that a problem for ...
1
vote
2answers
136 views
Is it possible for sudo to read password from gnome-keyring or similar
I'm currently using sudo a lot in a bunch of scripts, which is turning into a bit of a hassle, as some scripts does not allow interactive input (e.g., Makefiles).
Instead of disabling sudo passwords ...
0
votes
1answer
109 views
run 'service php5-fpm restart' without using sudo
I am integrating my cakephp projects using jenkins.
Right now, I am exploring the use of Phing. There is one task where I need to run
service php5-fpm restart
So far I tried to do this manually. ...
2
votes
2answers
195 views
Finding root password
I installed a Ubuntu and it only has a user. I can login to the system without login. It doesn't ask me for un/pwd. but when I am in, and I want to run some commands as root (sudo), it ask for ...
3
votes
4answers
5k views
Can a linux user change their password without knowing the current password?
I'm setting up a few ubuntu boxes, and using opscode's chef as a configuration tool. It would be fairly easy to install public keys for each user on each of these servers, and disable password ...
2
votes
3answers
970 views
debian not accepting administrative password
I have XFCE Debian on an old PowerPC PowerBook G4. When I go to open Synaptic Package Manager, a window pops up asking for my administrative password. I enter the password I normally use for sudo in ...
6
votes
2answers
2k views
Why is sudo telling me my password is wrong?
I recently installed OpenBSD 4.9 in my computer, so I could learn a little bit about Unix-like operating systems. I added a new user to the system called bruno. Ok. When I use the 'sudo' command, it ...
2
votes
4answers
465 views
sudo without password - security? [duplicate]
Possible Duplicate:
What specific vulnerabilities am I creating by disabling the sudo password?
I'm involved yet again in the old argument on whether sudo without password is secure enough ...
4
votes
2answers
6k views
How to get back sudo on Ubuntu?
I have done this:
sudo chown -R myname /usr/
and now I can't use the sudo command because of this error:
sudo: must be setuid root
And as I read this means that the owner of this file ...
6
votes
5answers
4k views
Can I change root password by sudo, without su?
I can sudo, but I don't have the root password so I can't su root. Using sudo, can I change the root password?
7
votes
3answers
1k views
Why does my sudo ask for password only once but evaluate thrice?
$ sudo some_command
Password:
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
$
This is what my shell prints when I enter a wrong password to a sudoed ...
7
votes
2answers
1k views
Forcing sudo to prompt for a password
If I do the following:
sudo su -
//enter password
exit
exit
//login again straight away
sudo su -
The second invocation of sudo does not request a password because even though I have logged out ...
11
votes
3answers
280 views
What specific vulnerabilities am I creating by disabling the sudo password?
Here are some instructions on how to disable your sudo password. These carry the following warning
If you disable the sudo password for your account, you will seriously compromise the security of ...