All,

Target Red Hat Enterprise 6 VM using AD PAM authentication. No local users 
defined.

I have been following the guides and have setup my sudoers file

#Defaults   requiretty
opsmgrsvc  ALL=(ALL)   NOPASSWD: ALL

I know it is not best practice but working from a top down approach will add 
the appropriate commands later

I have added a .hushlogin to the root and local user to suppress banner on ssh 
login. I have test this using

[opsmgrsvc@XXXXXXX ~] sudo ls /etc
which works successfully

However when I try to push the agent using a Unprivileged Setup account I keep 
getting the banner and the not tty and askpass program.
--
Failed during SSH discovery. Exit code: 1
Standard Output: Sudo path: /usr/bin/

sudo: no tty present and no askpass program specified

Exception Message:
--


Any help would be appreciated as I have a number of the Linux based VM's to 
manage in SCOM 2012 R2 CU 9

Peter Hakesley | Monitoring & Automation Technical Lead Engineer, Data Centre 
Services

t: +44(0)845 155 6556 ext: 4006
e: [email protected] | w: www.scc.com<http://www.scc.com/>
a: SCC, CV1, Cole Valley, 20 Westwood Avenue, Tyseley, Birmingham B11 3RZ






Reply via email to