/bin/ The decentralized binary commands are available to ordinary users
Sbin the decentralized binary commands are superuser root can use the
ordinary users also want to use Sbin the files below can be used via sudo to achieve:
The default normal user is not allowed to use:
Tip: Not enough permissions
Configure a single user to have rights to a command or service
The system default IQF package has been installed to view under:
Perform
[email protected] ~]# Visudo to generate sudo configuration file.
In the file, add:
Note: Give Redhat users can use Chkconfig on Local Users command, you can write the domain name.
Note: The added command must be an absolute path
can also be changed to the following:
View the next iptables in those modes the default boot starts:
Note: Graphical default on, let's turn it off
we are executing sudo under the ordinary user Command
We modify Iptables service default graphical boot does not open,
Note: sudo must be added when executing commands .
After the completion of the comparison:
Configure service groups and user groups below: (use of aliases)
Note: STUDENT This user group contains the Redhat , Westos User
Note: SERVICE This service group contains the above services, STUDENT user groups to service all services in the service group are fully used and do not need to enter a password.
To configure a user to use a service group:
Note: The service alias does not conflict with the system, I have tried to use SERVICE This alias will allow you to enter the password when you start the service.
Use Westos aliases are OK :
Usage and system conflict aliases:
Tip: To Redhat password. So don't conflict with the system.
The following configures the groups that already exist on the system to have access to a service:
Note: If there is a group in the system we want to use lowercase, if not the uppercase .
First add a Admin groups, members within groups Redhat
Allow only Admin Group on FTP services have the right to use, other services No
Note: Before you must % , if you have not finished configuring sudo File It will not error, the service can also start, but it is to password .
Note: Start Ftpok , start Apache service, Tips Sorry, Redhat can only use FTP Service, configuration file not found Redhat users can use httpd service.