Questions about: sudo - страница 1

I have a script that uses two commands that require sudo. I'd like to run the script like this: sudo script. sh
Linux System is much secured than any of its counterpart. One of the way to implement security in Linux is the user management policy and user permission. normal users are not authorized to perform any system operations
"Under Linux there are GUIs (graphical user interfaces), where you can point and click and drag, and hopefully get work done without first reading lots of documentation. The traditional Unix environment is a CLI (command line interface), where you ty
Feedback I have tried the above in an Ubuntu OS. It does not work and even with many other variations made to the sudoers file, I am always asked for a password when I execute sudo command. Which version of Ubuntu are you using? It flawlessly works f
Answer #: 1 sudo usermod -aG sudo The a is very important. Without it they’ll be removed from all other groups. You will need to either restart your shell/terminal or log out and back in for this to take effect
I‘m a new Unix system user. How do I use sudo command without a password on a Linux or Unix-like systems? Some times you may need to run a command with root privileges, but you do not want to type a password using sudo command. This is useful for scr
How do I start, restart or stop Apache 2 web server & MySQL server under Ubuntu Linux operating systems? /etc/init. d/apache2 is service script used to start / stop / restart the Apache2 service under Debian or Ubuntu Linux. You need to login as
I‘m a new Unix system user. How do I use sudo command without a password on a Linux or Unix-like systems? Some times you may need to run a command with root privileges, but you do not want to type a password using sudo command. This is useful for scr
I'm using ubuntu server 12. 04 LTS I want to know how to configure my sudoers file (obviously, using visudo), to permit an user to run commands like root (doing something like "sudo service x restart") but without the permission to be root (doing "su
If you run the sudo command in Bash on Ubuntu in Windows 10, you might face the issue that it shows an error message unable to resolve host followed by your computer name. Here is a quick fix for this issue. Under Windows 10, Bash on Ubuntu can't res