In Linux server you can set user permission and management policy. If users want to execute commands then they can use su and sudo commands.
Su command: Su command wants you to share root password with another user to perform actions.
Sudo command: When user run the sudo command then they will have to use their own password.
You can manage the sudo users list with this command.
You can have a look of default sudo command ;
Su command: Su command wants you to share root password with another user to perform actions.
Sudo command: When user run the sudo command then they will have to use their own password.
You can manage the sudo users list with this command.
Code:
# sudo /usr/sbin/visudo
Code:
# root ALL=(ALL) ALL