- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- su: + tty?? root-root
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
12-28-2007 04:39 AM
12-28-2007 04:39 AM
su: + tty?? root-root
Syslog:
Dec 28 12:01:25 ch*** su: + tty?? root-root
Dec 28 12:13:55 ch*** su: + tty?? root-root
Dec 28 12:14:03 ch*** above message repeats 50 times
Dec 28 12:14:09 ch*** su: + tty?? root-root
Dec 28 12:33:54 ch*** su: + tty?? root-root
Dec 28 12:34:03 ch*** above message repeats 79 times
Dec 28 12:34:10 ch*** su: + tty?? root-root
Sulog:
ch***:/usr/lib/sa: tail /var/adm/sulog
SU 12/28 12:36 + tty?? root-root
SU 12/28 12:36 + tty?? root-root
SU 12/28 12:36 + tty?? root-root
SU 12/28 12:37 + tty?? root-root
SU 12/28 12:37 + tty?? root-root
SU 12/28 12:37 + tty?? root-root
SU 12/28 12:37 + tty?? root-root
SU 12/28 12:38 + tty?? root-root
SU 12/28 12:38 + tty?? root-root
SU 12/28 12:38 + tty?? root-root
Not sure to look. Need to know where these are coming from
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 04:57 AM
12-28-2007 04:57 AM
Re: su: + tty?? root-root
What is run twice?
I see 3 - 4 messages a minute in sulog.
And about 4 per minute for syslog.
The "+" indicates each su(1) is successful.
Perhaps that "tty???" means there is no tty.
I'm not sure what "root-root" means??
You might try su from root to some other user and then see what is logged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 05:09 AM
12-28-2007 05:09 AM
Re: su: + tty?? root-root
Basically it looks like a script/job already run as root is then trying to su to root,
For example I am looged on as root and I tried su-ing to root and the following showed up in the syslog:
Dec 28 13:04:51 ch*** su: + ttyrc nd-root
So I need to find the script/job that is trying to 'su'. We are using powerbroker so we shouldnt be 'su-ing'.
Previuosly this has caused the accounts to be locked out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 05:17 AM
12-28-2007 05:17 AM
Re: su: + tty?? root-root
I will be rather hard to find wich process is doing su, as tty?? probably means that a it comes from a daemon.
If by chance the daemon issue "su - root" you could modify root's profile to log some environments values like PPID. That could help you to find the responsible process ...
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 05:40 AM
12-28-2007 05:40 AM
Re: su: + tty?? root-root
cd /usr/bin
create a file named su_my with following lines :
echo "=======" >>/tmp/su.log
echo "this process is $$" >>/tmp/su.log
echo "calling processe is $PPID" >>/tmp/su.log
exec /usr/bin/su_ok "$@"
then modify owner and permissions :
chown root:bin su_my
chmod 4555 su_my
then change names :
mv su su_ok
mv su_my su
As soon as you have trapped valuable informations in /tmp/su.log, don't forget to return to a "normal" situation :
mv su su_my
mv su_ok su
Hope this will help
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 04:24 AM
01-02-2008 04:24 AM
Re: su: + tty?? root-root
What news ? Did you finally trap the process or script responsible of those su: + tty?? root-root ... ?
Eric