Redhat7:privileges

From Define Wiki
Jump to navigation Jump to search

The SU Command

When the SU command is executed by a user they are asked for the root password. Once the password is given they are presented with the root shell.

Given the root prompt, the user becomes the root user and has all privileges of the root user. The root user hbas the authority to change users and settings across the system without requiring a password.

Given the level of access available from the root user, such rights shoudl be restricted to specific users. The simplest way to achive this is to add those users who should have access to a speical group called 'wheel', and can be done using the user commands.

usermod -G wheel <username>