Quote:
However, I still need to input root's password when i want to execute "umount" command as oracle user.
|
Are you putting in roots password or oracles password? Sudo shouldn't be asking you for roots password. Ever.
I don't know if it makes a difference, but you may have to capitilize the word ALL. So it should be:
oracle ALL = /sbin/dd, /bin/mount, /sbin/mount.cifs, /bin/umount
And if you don't want to have to supply oracle's password, you need to add the NOPASSWD directive:
oracle ALL = NOPASSWD: /sbin/dd, /bin/mount, /sbin/mount.cifs, /bin/umoun