[sudo-users] sudo and friends

jan kalcic jandot at googlemail.com
Fri Jan 19 10:50:08 EST 2007

Hi All,

I've been playing with sudo and I found that using the absolute path of
the command:
user ALL = /usr/bin/sudoedit /etc/samba/*

I get the error:
Sorry, user user is not allowed to execute 'sudoedit
/etc/samba/smb.conf' as root on host.

whereas if I put only the command without the path it works:
user ALL = sudoedit /etc/samba/*

As said this is not secure but it's the only which works. I don't

I addition, I set vi instead of sudoedit just to try and it doesn't work
at all:
user ALL = /usr/bin/vi /etc/samba/*


More information about the sudo-users mailing list