Problem situation: There is a Linux server used in a crontab can not be executed under normal users, always prompt error when executed: seteuid: Operation not permitted, to Use crontab to switch to the root user, then execute crontab -u username -e to edit, and later through google search to the problem is the file permissions, the file /usr/bin/crontab has no privileges.
Workaround: The permissions before the change are
-rwxr-xr-x 1 root root 70592 Jul 12 2005 /usr/bin/crontab
Changed permissions are
-rwsr-xr-x 1 root root 70592 Jul 12 2005 /usr/bin/crontab
Because crontab is used in addition to crontab Other files, and those ordinary users do not change the permissions, then now you need to increase his privilege on the file system, so that you can also change the permissions on other files, change the above method is to switch to the root user first Execute
chmod u+s /usr/bin/crontab
First talk about my environment: redhat5.4 system, IP address is 192.168.0.10 Debian is 6.0 system,
Microsoft announced the extension of the Windows Vista and Windows 7 lifecycle. The life cycle of W
Will the Linux server crash? Of course, I have been exposed to a certain type of server. After inst
ACL is an abbreviation of Access Control List. The main purpose is to provide detailed permission t
LCD & framebuffer development experience
Linux terminal and X Window switch
Shell regular expressions use detailed explanation
Linux more command using tutorial
Linux security road to strengthen Linux server tricks
Installing rpm file package under Linux
Solve the dual system boot option does not show the Linux system problem
Squid log file is too large, how to deal with it?
Analysis of the reasons for the blue screen after the computer reinstalls the system
Play Windows boot operation Automatic login system account method
Windows7 uses the "task scheduler" to set the automatic shutdown step
WinXP network connection speed up Dafa
Reinstalling Win 7 Five must-have settings
XP1 shared printer connection exceeds the maximum value
The next preview version of Win10 is expected to push
What if win8 always opens a folder in a new window?