Friday 3 January 2014

crontab: you must be super-user to access another user's crontab file

# crontab -e p25adm
crontab: you must be super-user to access another user's crontab file
========
solution
have examined your explorer and the problem you are getting is due to the fact you have removed all the authorizations and privileges from your root user when you modified your /etc/user_attr file to make it's entry look as follows:
---
root::::project=P25;profiles=Web Console Management
---
This is the default and correct entry for root:
---
root::::auths=solaris.*,solaris.grant;profiles=Web Console Management;lock_after_retries=no;min_label=admin_low;clearance=admin_high
---
In this case, the pertinent part is the "auths" section has been removed.
I do NOT recommend you simply add back the "auths" section as you may then encounter other root privilege issues at a later date due to other missing components.
Accordingly, I recommend you replace your current root entry in /etc/user_attr with the default and then assign the "P25" project to your root user using "usermod -K project=P25 root".

No comments:

Post a Comment