0
votes
2answers
4k views

Reset root password or enable sudo on MacOS X Mavericks

I have a MacOS X Mavericks installation with a single user Admin and empty password for that account: Now I'm trying to install Cocoapods, but can't use "sudo", because I don't know the root ...
1
vote
0answers
37 views

sudoers syntax for specifying a list of executables

I want my user (username "wim" in group "wim") to be able to use sudo apt-get and sudo dpkg without needing admin password. I tried editing sudoers file with sudo visudo, and I added in this line: ...
0
votes
0answers
64 views

Run a specific program with root privilges without asking for password everytime

Many times, i need to connect modem using SAKIS-3G script and because modem-manager sucks many times. I need to supply admin/root password, everytime i need to run sakis-3g script. I am the only ...
1
vote
5answers
187 views

Pre-authorise sudo? (So it can be run later)

I often set my work computer running some time-consuming computations before I go home in the evening. After they're done, I'd like it to shutdown. However, as shutdown requires root privileges, it ...
2
votes
1answer
3k views

Allow users of a certain group to run a command without sudo

I know how to edit /etc/sudoers so that I can run a command as sudo without having to enter my password, however is there a way of allowing a program to be run completely without sudo, by all users of ...
1
vote
2answers
701 views

Trying to enable passwordless sudo

I want to enable passwordless sudo for user "bamboo" on my host, so I have added bamboo ALL=NOPASSWD: ALL and also %admin ALL=(ALL) NOPASSWD: ALL (user bamboo is in the admin group) to the ...
5
votes
1answer
398 views

Two password (factor) authentication to root user / sudo

With regards to running Linux remotely (SSH) I'd like to employ two levels of authentication for accessing the system with root privileges. I have the root account disabled / locked out so direct ...
2
votes
2answers
123 views

restore password in ubuntu [duplicate]

I'm learning UBUNTU. I'm using virtual box with ubuntu image, i created my user name as joe no password. now that i try to execute any command that requires the sudo stuff it asks me for a ...
1
vote
0answers
101 views

I can't get through with my password on sudo, can anyone help me?

I know that the password doesn't show up on the screen that's all good. I just can't seem to get any further as I am typing my user password but this comes up: 2012-12-04 22:38:14.815 ...
2
votes
4answers
898 views

How do I revert to having sudo ask for a password again?

I accidentally made a mistake and made my sudo commands passwordless on my Mac. How can I get it back to default?
0
votes
1answer
425 views

Ubuntu, User Accounts messed up

I need to fix Ubuntu Accounts somehow but I don't really see how it could be done. The problem is: files /etc/passwd and /etc/hostname and /etc/hosts where changed. /etc/passwd Before ...
0
votes
3answers
2k views

How to recover the password for a particular user account on my linux pc

I have a linux pc on which several users are configured to login. for the same PC i have the root access (username and password). I have lost one of the user accounts password. How to get back the ...
0
votes
0answers
189 views

sudo: a tale of two folders

I have 2 folders: drwsrwsr-x 25 ftpuser www-data 4096 Jun 7 13:45 demo drwsrwsr-x 28 ftpuser www-data 4096 Jun 7 12:43 dev and a script to create a folder within these. When I run the script ...
18
votes
4answers
4k views

sudo keeps asking me for my password in fish shell

sudo in Ubuntu keeps asking me for my password for every command. Previously, I only had to enter the password once, and then it would be remembered for a period of time. This recently changed, ...
3
votes
1answer
892 views

ubuntu: root password

Well, I don't know exactly how it happened. But, thing is if I issue a command which I need root priviliges an error message comes that says <user> does not have an entry in sudoers file I ...
1
vote
1answer
446 views

Repeated password request in ubuntu [duplicate]

Possible Duplicate: How I can make sudo session an hour and not few minutes in Ubuntu 10.04? Ubuntu 10.10 asks password everytime I try to do some administrative task. How can I avoid it ? ...
1
vote
3answers
6k views

Su or sudo not accepting password

Pretty straight forward. I have an ubuntu 9.10 NBR fresh install, and su nor sudo will accept my password from the command line. I can use synaptic and the updater tool, as well as invoke things ...