On Tue, Sep 20, 2011 at 1:48 PM, John Doe jd...@yahoo.com 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 alu...@gmail.com
On Tue, Sep 20, 2011 at 1:48 PM, John Doe jd...@yahoo.com 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 $*
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
From: Sven Aluoor alu...@gmail.com
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
4 matches
Mail list logo