Actually, my root have to aliases:
alias unpool='/path/to/my/scripts/unpool.sh' alias pool='/path/to/my/scripts/pool.sh'
I have the same for my user in
I defined my
user ALL=(root) NOPASSWD: /bin/cp user ALL=(root) NOPASSWD: /path/to/my/scripts/pool.sh user ALL=(root) NOPASSWD: /path/to/my/scripts/unpool.sh
But logged with my user, I can't do
sudo unpool, it ask me my password
What can I do ?