On Fri, 03 Jan 2003, Jon just had to get this off his chest:
On Thu, Jan 02, 2003 at 11:37:27PM +0100, Richard Bos wrote:
Do you happen to be remote?
I do... And just for the record: this is 8.1
What happens if you change the editor to e.g. joe, like;
$EDITOR was unset. Setting it (e.g. export EDITOR=vim) doesn't help.
(I don't expect this to be solution as you've problems with crontab -l as well)
Indeed:
jon@Scum:~> crontab -e -bash: /usr/bin/crontab: Permission denied jon@Scum:~> crontab -l -bash: /usr/bin/crontab: Permission denied jon@Scum:~> which crontab /usr/bin/crontab jon@Scum:~> ll /usr/bin/crontab -rwsr-x--- 1 root trusted 22632 Sep 9 21:05 /usr/bin/crontab
Hmmm:
Scum:/home/jon # find / -group trusted -ls 24832 36 -rwsr-x--- 1 root trusted 35064 Sep 9 21:56 /usr/bin/at 25316 24 -rwsr-x--- 1 root trusted 22632 Sep 9 21:05 /usr/bin/crontab 24569 36 -rwsr-x--- 1 root trusted 35320 Sep 10 21:13 /usr/bin/gpasswd
A small community, eh? I suppose adding my user 'jon' to the 'trusted' group might work, but I also kind of think it might be ...well not "The Right Thing" to do?
Sure it is, that's what that group is there for. $ id uid=500(theo) gid=100(users) groups=100(users),14(uucp),16(dialout),17(audio),33(video),42(trusted) Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SuSE 8.0 x86 Kernel k_Athlon 2.4.19-4GB See headers for PGP/GPG info.