sudo rights
Hello,
I have some problems to give rights to a user, and I don't find why. The script : Quote:
Quote:
Quote:
This is my sudoers : Quote:
Can you help me on this? Thanks |
Group names in /etc/sudoers needs prefix '%'. Without % the name ("deploy") is taken as a single user name.
|
deploy is a single user.
|
I might have read a bit hastily, I see now maybe it's not a sudo issue. (You wrote "user admweb is in group of deploy", I read that as you meant it would grant admweb sudo rights.)
What are the permissions on the file /local/deploy/wdeploy.sh and the directories above? |
I gave all the permissions (777) to do my test, on the directory and on the script...
I don't know why it is not working :( |
There's something fishy here!
I recreated it in my system - same users, same file-to-be-executed, same line in /etc/sudoers - it works fine. What distro are you running? Do you have selinux, if so permissive or enforcing? ("sestatus" will tell.) What's in the script, can you post it? Is the directory mounted without execute permissions? Post your /etc/fstab. All I can think of for now. |
Wrong hostname!?
What's the output of command "hostname" - compare it with your "my_server" is it the same? |
All times are GMT -5. The time now is 01:34 PM. |