If I want a limited user that is created in AD to be able to login on a domain controller to run a script that requires sudo... Is this possible? As the root user, I can run "su -s/bin/bash DOMAIN/username" to login on the DC. However, I cannot run commands such as "passwd" or "sudo <command>". I have added them to my /etc/sudoers file, and even added NOPASSWD: for testing: DOMAIN/username ALL=(ALL) NOPASSWD: ALL ... but I am still prompted for the password, and it never accepts the password. The file server (where this user's home folder lives) is on another Linux server. So this user does NOT have a home folder on the DC to login to.
Mandi! Luke Barone via samba In chel di` si favelave...> If I want a limited user that is created in AD to be able to login on a > domain controller to run a script that requires sudo... Is this possible?I use: # Il gruppo UNIX Admins (unixadm) ha sudo completo alla ubuntu way... # %LNFFVG\\unixadm ALL=(ALL) ALL 'LNFFVG' is my domainname, of course. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)