- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- utmp not working - even after reboot
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
03-04-2002 08:53 AM
03-04-2002 08:53 AM
utmp not working - even after reboot
The machine was then rebooted this weekend, but the problem remains.
When trying to change the password command, it fails with:
$ passwd
Usage: passwd [ -F file ] [ name ]
$
In addition, the perl "getlogin" function (which utilizes the getlogin() in C/Unix) also fails.
The commonality is the /etc/utmp file.
Any ideas on what else to try?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:04 AM
03-04-2002 09:04 AM
Re: utmp not working - even after reboot
Are the permissions as such:
# ls -l /etc/utmp
-rw-r--r-- 1 root root 1200 Mar 4 09:21 /etc/utmp
#
Have you simply deleted the utmp file???
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:06 AM
03-04-2002 09:06 AM
Re: utmp not working - even after reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:10 AM
03-04-2002 09:10 AM
Re: utmp not working - even after reboot
Question, is this a "trusted" system?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:13 AM
03-04-2002 09:13 AM
Re: utmp not working - even after reboot
-rw-r--r-- 1 root root 4920 Mar 4 09:09 utmp
-rw-r--r-- 1 root root 24920 Mar 4 09:09 utmpx
#
The permissions are as shown above.
When you telnet to the server, it works fine. The scenario it fails in is when REXEC is used to execute hpterm and display it to another server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:57 AM
03-04-2002 09:57 AM
Re: utmp not working - even after reboot
The password command works fine when logged in via telnet. But when logged in via rexec/x-windows, it fails.
Not sure that a telnet patch is going to help me here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:10 AM
03-04-2002 10:10 AM
Re: utmp not working - even after reboot
I just removed my /etc/utmp file and successfully started an xsession using exceed from you client to my server via rexec.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:57 AM
03-04-2002 10:57 AM
Re: utmp not working - even after reboot
-nishan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:06 AM
03-04-2002 11:06 AM
Re: utmp not working - even after reboot
If and when you can reboot your server, then remove the /etc/utmp file before the reboot, and everything will be fine after your system is back up.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:38 AM
03-04-2002 11:38 AM