- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sulog & syslog
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
10-05-2000 07:57 AM
10-05-2000 07:57 AM
who -u:
oradba ttyp4 Oct 5 09:50 0:58 20894 harrisjk.dublin.metatec.com
wills ttyp5 Oct 5 11:38 0:01 23072 will_s.dublin.metatec.com
But nowhere can I find in syslog or sulog a notice of oradba logging in!
Why is this and/or how can I change this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2000 08:06 AM
10-05-2000 08:06 AM
Solution'last' and 'lastb' give the last good and last bad login information. To work, the files /var/adm/wtmp and /var/adm/btmp must be present. IF they are not, simply touch them and change thier ownership & permissions to root 644. These files grow without bounds to to trim them do:
# cat /dev/null > /var/adm/wtmp
# cat /dev/null > /var/adm/btmp
See the man pages for 'last'. Doing:
# last -3 root
will return the most RECENT 3-logins for root in descending order.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2000 08:07 AM
10-05-2000 08:07 AM
Re: sulog & syslog
sulog only logs the 'su' command.
Logins don't get logged to syslog at all.
Try the 'last' command to find out who logged in and when - see 'man last'.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2000 08:11 AM
10-05-2000 08:11 AM
Re: sulog & syslog
SULOG will ONLY log the use of the su command to switch to a different user.
SYSLOG.LOG is intended to log and system messages. Anyone using FTP may show up in the syslog depending on how you have your /etc/syslog.conf file is set up. You can also look at your /etc/syslog.conf file to see what all is currently set up to go to syslog.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 08:55 AM
10-10-2000 08:55 AM
Re: sulog & syslog
Use the commands last and lastb (bad logins) to get login information. Sulog and syslog log the use of the su command and syslog also log ftp sessions.
Regards,
Ade