Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by techraf for How to use sudo -u option?

In your configuration you allowed: userA to run any command as any user userB to run fdisk as vinoth fdisk by default requires root privileges to access the devices, you cannot run it as userA, ie....

View Article


How to use sudo -u option?

I have 2 users, userA and userB. userB needs to run some commands as userA. I have specified these options in /etc/sudoers as below: userA ALL=(ALL) ALL userB ALL=(vinoth) /sbin/fdisk I ran this...

View Article

Browsing latest articles
Browse All 2 View Live