From: Sven Aluoor
> On Tue, Sep 20, 2011 at 1:48 PM, John Doe wrote:
>> Tried with -- ?
>> Maybe replace the last * with [! ]*
> doesn't work. Any other idea?
I tried the following in /etc/sudoers:
myuser ALL=/o*/te*
And cat /opt/test
#!/bin/bash
echo "$*"
touch /root/test
Then:
On Tue, Sep 20, 2011 at 1:48 PM, John Doe wrote:
> Tried with -- ?
> Maybe replace the last * with [! ]*
doesn't work. Any other idea?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
From: Sven Aluoor
I allow the user tommy to run this command as root
> sudoCommand: /app/appname/connectors/*/*/current/bin/*
> $ sudo /app/appname/connectors/zur/namename/current/bin/othername
> agentsvc --i --u root --sn 1m7command
> Sorry, user tommy is not allowed to execute
> '/app/appname/
Hi folks
I allow the user tommy to run this command as root
sudoCommand: /app/appname/connectors/*/*/current/bin/*
With "sudo -l" he sees the sudoers, but is unable to execute.
$ sudo /app/appname/connectors/zur/namename/current/bin/othername
agentsvc --i --u root --sn 1m7command
Sorry, user to
4 matches
Mail list logo