- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user session logs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 06:28 AM
08-15-2008 06:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 06:41 AM
08-15-2008 06:41 AM
Re: user session logs
Install SUDO software and configure the super user access to various accounts on sudo configuration file using "visudo".
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 06:41 AM
08-15-2008 06:41 AM
Re: user session logs
Aug 15 10:29:07 freddub su: + tZ matt-root
That shows that user "matt" is switching to "root," and not logging in directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 07:10 AM
08-15-2008 07:10 AM
Re: user session logs
Check the su log the path is /var/adm/sulog
also check user history file which will be in his /home directory.
Regards
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 07:15 AM
08-15-2008 07:15 AM
Re: user session logs
Check the /var/adm/wtmp and /var/adm/utmp
for user logs
Reagrds
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 05:32 PM
08-15-2008 05:32 PM
Re: user session logs
Stopping root loggin whenever you switch to root id is not a good idea keeping security of box in mind.
sudo is freely available and easy to configure ...
regds...DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 07:42 PM
08-15-2008 07:42 PM
SolutionTo disallow root from connecting via ssh you need to modify the sshd_config file and set the option 'PermitRootLogin' to NO'.
Information available here:
http://docs.hp.com/en/5992-4213/apas02.html#v1229989
(Search for PermitRootLogin. There is also a sample sshd_config file at the bottom of the page.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2008 03:24 AM
08-16-2008 03:24 AM
Re: user session logs
In my last role we had to implement the same thing for SOX, you might well find that an auditor will come to keep you company while you run through a set of tasks for them.
We also had to run a script they gave us which checked system security.
At least that was the case the last 3 audits i had to deal with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 07:18 AM
08-18-2008 07:18 AM
Re: user session logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 07:31 AM
08-18-2008 07:31 AM
Re: user session logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 07:36 AM
08-18-2008 07:36 AM
Re: user session logs
Note that there is an sshd_config and an ssh_config (without the 'd').
Details on each are available in the man pages (man ssh_config ; man sshd_config). In a nutshell ssh_config is the client config. sshd_config is the ssh daemon config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 07:38 AM
08-18-2008 07:38 AM
Re: user session logs
I've got
/opt/ssh/etc/sshd_config
/opt/ssh/newconfig/opt/ssh/etc/sshd_config
/opt/ssh/src/ssh/etc/sshd_config
/opt/ssh/src/ssh/sshd_config
I am about to see if I can figure out what each is. Thanks for the help.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 07:45 AM
08-18-2008 07:45 AM
Re: user session logs
We are under SOX and still allowed to login under root. Hmmm.
http://www.hpux.ws/?p=19
That can create key exchange only root access system to system and comply with your auditors interpretation of SOX
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 08:21 AM
08-18-2008 08:21 AM
Re: user session logs
It should be this one.
>>/opt/ssh/newconfig/opt/ssh/etc/sshd_config
This is a sample file.
>>/opt/ssh/src/ssh/etc/sshd_config
>>/opt/ssh/src/ssh/sshd_config
Did you comple from source? These appear to be part of the source code.