Operating System - HP-UX
1834071 Members
2664 Online
110063 Solutions
New Discussion

Re: Questions about Trusted system and SUDO

 
SOLVED
Go to solution
Mike_305
Super Advisor

Questions about Trusted system and SUDO

Hi,

I have couple questions about trusted system:

1. Is SUDO works fine with trusted system HP-UX 11i and is it supported by HP?

2. How can I log or track any activity or every command that run by root or root-equivalents users do?

3. I am trying to log only command line activity by root and root-equivalent in trusted system environment.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
5 REPLIES 5
Rick Garland
Honored Contributor
Solution

Re: Questions about Trusted system and SUDO

1) SUDO works in trusted env and is supported
2) There are audit file, sudo log files, sulog files, sh_history files, etc. These will keep track of various info. The sudo log file will keep track of date/time, who, from where, what was done, etc...
3) The sudo log file will do just that, with date/time, etc.
The sulog file will tell you who did switch user. The sh_history files will just give you what was typed and entered.
Robert Salter
Respected Contributor

Re: Questions about Trusted system and SUDO

Mike,

Hope these answers help;

1. Yes and I'm not sure about official HP support if you mean will HP help trouble shoot a sudo problem.

2. It's all in how you configure it. Read the manual, here's one place to get it
http://www.courtesan.com/sudo/sudo.html

3. Sudo will do that.

Good luck
Time to smoke and joke
erics_1
Honored Contributor

Re: Questions about Trusted system and SUDO

Ditto what Rick said but SUDO isn't supported by HP. It's shareware. Any support from HP on it would be 'best effort'.

Regards,
Eric
Rick Garland
Honored Contributor

Re: Questions about Trusted system and SUDO

There is a ixSudo version depot put out by HP for the ia64 systems. Version A.03.00-1.6.7p5.

Yes this is just a port from the shareware but it did come from HP
Mike_305
Super Advisor

Re: Questions about Trusted system and SUDO

Hi All,

I kind of new the answer to SUDO but its always good to double check with Guru’s and what the hack it's part time you all get 10 points.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.