Linked Questions
24 questions linked to/from How to run an application using sudo without a password?
287
votes
7
answers
620k
views
How to run sudo command with no password?
How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers?
I'm using Ubuntu server 12.04 on ...
90
votes
11
answers
130k
views
How do I make Powertop changes permanent?
I'm on a Compaq 615 and it's fan is loud. Not much you can do about that but I'm trying to keep the CPU/GPU as cool as possible. This is what Powertop has to say:
If I change all of them to "good", ...
60
votes
9
answers
534k
views
Ubuntu 16.04 - How to start xampp control panel
How can I start xampp? After the installation there was no shortcut created on the desctop, now I am unable to find it. I am using the latest XAMPP for Linux 5.6.30, 7.0.15 & 7.1.1
The panel ...
21
votes
2
answers
137k
views
tcpdump permissions problem
Am having trouble running tcpdump. I must run tcpdump with non-root user.
Searched the web for my problem and figured out I should:
sudo setcap cap_net_admin=eip /usr/sbin/tcpdump
That enabled me ...
21
votes
4
answers
42k
views
How to run .desktop icon from sudo
I have created a desktop icon for the gddccontrol, but to run it I need to execute it from sudo. Is there a way to run a command from the desktop icon like,
sudo -pPASSWORD gddccontrol
so it won't ...
20
votes
2
answers
58k
views
How to allow execution without prompting for password using sudo?
I am writing a Java application where i need to do a command line execution and get a result back, but when i execute the command, it ask for sudo password. So far i tried:
$ sudo -s
$ vim /etc/...
19
votes
1
answer
16k
views
How to make 'sudo' grab the password from a file?
I want to run a command that requires the sudo password say:
sudo apt-get update
Isn't this supposed to work (I have stored the password in a normal text file passwd.txt):
sudo apt-get update <~/...
11
votes
3
answers
10k
views
Where are the startup scripts for Unity Desktop?
I want to run a script as soon as my lightdm authentication succeed, and my Unity starts loading. and i want to run my scripts as a root user.
where are startup scripts located in Unity ?
7
votes
2
answers
411
views
Any reason to have a strong user password?
I recently decided to change my (very) strong user password to something trivial.
This was mostly to eliminate frustration with typing a long password each time I sudo or whatever.
My question is, ...
7
votes
0
answers
10k
views
Can I run sudo without entering a password? [duplicate]
Possible Duplicate:
How to run an application using sudo without a password?
I like Ubuntu, but I hate entering a password every time when I run a command with sudo. Can I avoid it?
7
votes
0
answers
3k
views
How to make powertop "Device Power Management" suggestion permanent? [duplicate]
When I run powertop on my laptop I get following suggestion:
Suggestion: Enable Device Power Management by pressing the P key
Doing this results in considerable saving in power usage and I would ...
4
votes
2
answers
958
views
Create a custom sudo command without password
I want to implement a script to execute any command with root privileges, but without having to put any password.
At the terminal I would like to see it like this:
./newsudo "comand with root ...
3
votes
4
answers
25k
views
How to run a file with sudo without a password? [duplicate]
Possible Duplicate:
How to run an application using sudo without a password?
I've made a script that preforms various system tasks, that I run regularly, but I have to use sudo to run the script, ...
3
votes
1
answer
2k
views
No caps lock indicator light?
Ever since I first dual-booted Ubuntu 16.04 on my Surface Pro 3, my caps lock indicator LED on my keyboard hasn't worked. I decided to try and do something about it recently. When I type the command
...
2
votes
4
answers
13k
views
How do I run any application as root? [duplicate]
While logged in as the root account of a CLI installation, almost every application gives me this error:
Don't run this as root!
I want to bypass this error and run the application while logged into ...