- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 6 root logins
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
01-18-2005 09:00 AM
01-18-2005 09:00 AM
some are idle for 75 days!!!
no one is logged in that long ...
how do i remove these root logins?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 11:08 AM
01-18-2005 11:08 AM
Solutionps -ef | grep pty/a etc..
then kill the process that is associated with it.
By making sure you're going for root processes that have a tty assigned - you're going to get logins, and not necessary backgroup processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 05:17 PM
01-18-2005 05:17 PM
Re: 6 root logins
i don,t have idea about this option in linux.
try who -T
it will show the tty and ipaddress from where the login has done and the login date.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 07:10 PM
01-18-2005 07:10 PM
Re: 6 root logins
# w
and kill the shell processes of other root logins,
# ps -ef |grep pts |grep bash
root 5366 2604 0 2004 pts/2 00:00:00 bash
root 5413 2604 0 2004 pts/3 00:00:00 bash
root 5452 2604 0 2004 pts/4 00:00:00 bash
root 3166 2604 0 2004 pts/5 00:00:00 bash
root 4734 2604 0 2004 pts/8 00:00:00 bash
root 21847 2604 0 2004 pts/9 00:00:00 bash
root 9651 2604 0 2004 pts/10 00:00:00 bash
root 26459 26457 0 Jan14 pts/6 00:00:00 bash
root 29381 26457 0 Jan14 pts/7 00:00:00 bash
root 29622 26457 0 Jan14 pts/11 00:00:00 bash
mic 31141 31139 0 Jan17 pts/16 00:00:00 -bash
root 15345 15341 0 Jan18 pts/12 00:00:00 -bash
root 15441 15341 0 Jan18 pts/1 00:00:00 -bash
root 22373 15345 0 16:07 pts/12 00:00:00 grep bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 09:07 PM
01-18-2005 09:07 PM
Re: 6 root logins
[root@fileserver root]# who -Tu
root + tty1 Jan 19 13:20 03:33 2168
root + pts/0 Jan 19 16:59 . 10337 (tienna)
to determine how many user connect to
use tty to determine which terminal you are in.
[root@fileserver root]#tty
/dev/pts/0
then kill -9 PID
[root@fileserver root]#kill -9 2168
Regard
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 12:50 AM
01-19-2005 12:50 AM
Re: 6 root logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2005 02:17 AM
01-19-2005 02:17 AM
Re: 6 root logins
We have a cronjob that reboots our DNS boxes and one of our HP/UX application boxes each night.. It cleans up dead processes and insures I can get the files that maybe open closed prior to running fbackup or dump.
Just a thought.