Linux note 7 process control statements, user identity and file permissions.

Scheduled Tasks service program
1, a one-time task plan
one-off scheduled task is executed only once, generally used for temporary work to meet the demand. This functionality can be achieved with the at command, just written in the form "at the time" on it. If you want to view a one-time program has been set up, but the task has not been executed, you can use "at -l" command; To remove it, you can use "atrm task number."
2, periodic scheduled tasks
to create, edit commands scheduled task is "crontab -e", to view the current scheduled tasks command "crontab -l", delete a scheduled task command "crontab -r".
If the system is logged in as an administrator, but also to edit other people's schedules can add crontab -u parameter in the command. Minute, hour, day, month, week command "

User identity and file permissions.

  1. useradd command
    useradd command creates a new user in the format of "useradd [option] username."
  2. groupadd command
    groupadd command is used to create groups of users in the format of "groupadd [options] group name."
  3. usermod command
    usermod command modifies the user's attributes, the format of "usermod [options] user name."
  4. passwd command
    passwd command to change user passwords, expiration date, and authentication information in the format of "passwd [options] [username]."
    5.userdel command
    userdel command to delete a user in the format of "userdel [options] user name."
    Linux note 7 process control statements, user identity and file permissions.Linux note 7 process control statements, user identity and file permissions.Linux note 7 process control statements, user identity and file permissions.Linux note 7 process control statements, user identity and file permissions.

Guess you like

Origin blog.51cto.com/14606977/2452711
Recommended