shell command Ubuntu client
Asked by
SMarty
Hello,
I read everything i found about configuring ubuntu client for using shell command. (server and client v1.6)
I want to schedule shutdown.
Here what i have so far :
- shell module enabled in server
- created a script in /home/mysuser/
- in this script i have "sudo shutdown -h now"
- i gave execution permission to the script : chmod +x halt.sh
- i granted the user "myuser" root access without password to this script : did "sudo visudo" and added line "myuser ALL=NOPASSWD: /home/myuser/
- in server i add shell command "/usr/bin/sudo /home/myuser/
Can't get the command to work
did i miss something ?
thanks a lot
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Xibo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SMarty
- Solved:
- Last query:
- Last reply:
To post a message you must log in.