1832346 Members
2252 Online
110041 Solutions
New Discussion

Response to sudo command

 
SOLVED
Go to solution
Stuart Powell
Super Advisor

Response to sudo command

I have two RX6600 running HP-UX 11i V3 that are not yet in production. We use sudo to perform root level commands by selected users. We are running sudo 1.6.9p16 on two integrity systems. I haven't made many modifications to the sudoers files. There are only three users configured so far and they are all in the root group with full access to everything. Whenever I enter a command via
sudo I receive the message detailing the last successful login on the system and the last authentication failure on the system. Similar to below:
Last successful login: Tue Aug 26 08:53:35 EDT 2008 pthspowell.aetinc.net

Last authentication failure: Wed Jul 30 11:46:07 EDT 2008 pthspowell.aetinc.net
This text is distracting when troubleshooting a problem. Any suggestions on eliminating the prompts?

Stuart
Sometimes the best answer is another question
2 REPLIES 2
Court Campbell
Honored Contributor
Solution

Re: Response to sudo command

change DISPLAY_LAST_LOGIN to 0 in smh->security attributes configuration->system defaults.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Stuart Powell
Super Advisor

Re: Response to sudo command

Court,

Thank you very much. That took care of the problem.

Stuart
Sometimes the best answer is another question