Operating System - HP-UX
1827249 Members
2654 Online
109716 Solutions
New Discussion

Re: sudo and trusted system

 
SOLVED
Go to solution
pedliz12
Advisor

sudo and trusted system

when sudo is applied and the system is trusted
and a user using sudo tries to login the system will not accept their password. Example:
/usr/local/bin/sudo /usr/sbin/sam
passwd*****
passwd*****
I have to untrust the system to accept the user passwd..., Any suggestions?
3 REPLIES 3
Jeff_Traigle
Honored Contributor
Solution

Re: sudo and trusted system

Is the password expired or locked for some reason? Check /usr/lbin/getprpw username to see.
--
Jeff Traigle
pedliz12
Advisor

Re: sudo and trusted system

this is the output:
usr/lbin/getprpw piuser
uid=120, bootpw=NO, audid=57, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=-1, upwchg=-1, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Sun Apr 20 21:18:50 2008, ulogint=-1, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000
Safarali
Valued Contributor

Re: sudo and trusted system

Hi ped
did the user has system admin permission
on /etc/sudoers file

if he want to use sam you can give restricted sam builder


Regards
Safar