-1

We need to password protect the activities on the crontab, for ex even if we try

crontab -l 

or

crontab -e

or

crontab -r

We would have to enter a password to go to the next level(viewing/editing/deleting) even if we are root user.

Kindly suggest some mechanisms.

Thanks.

4

1 回答 1

3

如果您不信任系统上的 root 用户,我会说您有大问题。我认为没有任何方法可以安全地保护任何内容免受 root 的侵害——根据定义,该用户可以做他们喜欢做的事情,包括删除您为尝试在执行 crontab 时输入密码而设置的任何保护。

于 2013-04-15T14:33:17.360 回答