-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Sullivan wrote:
> I wanted to enter some stuff into crontab in my personal account on my
> server box.  I entered "crontab -e" and got the error:
> 
> [EMAIL PROTECTED] michael $ crontab -e
> -bash: /usr/bin/crontab: Permission denied
> [EMAIL PROTECTED] michael $ ls -l /usr/bin/crontab
> -rws--x---  1 root cron 9896 Feb 26 02:16 /usr/bin/crontab
> 
> I did ls -l on /usr/bin/crontab on my personal computer and got the same
> output:
> 
> [EMAIL PROTECTED] michael $ ls -l /usr/bin/crontab
> -rws--x---  1 root cron 10756 Apr 13 16:22 /usr/bin/crontab
> 
> 
> but I can edit my crontab on my personal computer.  How would I fix
> this?  I can't even tell what's wrong with it, why I can use crontab on
> baby but not on bullet....
> 
Check your groups ... probably michael on baby is in the group cron and on
bullet he's not.
Fix: as root, edit /etc/group and add michael to the line beginning with
cron. Then log off (if you edited via su / sudo) and log in as michael
again. That should do the trick.


- --
Dirk Raeder

I prefer encrypted and signed messages. My GPG key is available at
hkp://blackhole.pca.dfn.de with ID 0x05EB5446

Registered Linux user #378554
http://counter.li.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCa6jG2QYJ1wXrVEYRAsXrAJ9JlSDl/ZzPLiOr9X/IedIrhSUPkQCfZQZS
BTyAqn6N3Vp5lsPUii+d9iQ=
=e10K
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to