Anonymous Asked in Cars &Transportation · 2 weeks ago

How can I allow one user to su to another without allowing root access?

Create a group using addgroup that other users will be able to su to without a password. Then add that group to each user that you want to be able to su to that user without a password: usermod -a -G (or usermod -a -G oracle tom ). 2 июн. 2009 г.


How do I allow someone to su to another user?

Using Sudoers File You can also su to another user without requiring a password by making some changes in the sudoers file. In this case, the user (for example aaronk) who will switch to another user account (for example postgres) should be in the sudoers file or in the sudo group to be able to invoke the sudo command.

How do I give permission to non-root user?

Grant Login Permissions to the Non-Root Users1Log into the Backup Server as a root user.2Open the server.cfg file from the following location: /opt/Arcserve/d2dserver/configfiles/server.cfg. ... 3Add the following code to the server.cfg file: ... 4Verify the non-root user can connect to the Backup Server using the SSH connection.

How do I allow user to su root?

The sudo command allows you to run programs as another user, by default the root user. If the user is granted with sudo assess, the su command is invoked as root. Running sudo su - and then typing the user password has the same effect the same as running su - and typing the root password.

How do I give permission to non-root user in Linux?

“sudo” tool is used to allow non-root users to run commands that require root privileges. It allows users to run commands as superuser or another user. Login as root user and open “/etc/sudoers” file in edit mode using visudo command: # visudo ...

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours