- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: utmp problrm
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
07-03-2001 12:18 AM
07-03-2001 12:18 AM
by mistake i have done >utmp on /etc/utmp.So when i try to login it says no utmp entry .try tom login from the lowest level shell.Pls let me know the solution for this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 12:36 AM
07-03-2001 12:36 AM
Re: utmp problrm
try cp /usr/newconfig/etc/inittab /etc/inittab
this may not solve, probably to clear up, you will have to reboot.
hope you can reboot, if not, please inform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 12:43 AM
07-03-2001 12:43 AM
Re: utmp problrm
I did not get your answer .What benefit i will get by copying the inittab file.Plus I cannot reboot the system now.pls suggest me other option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 12:52 AM
07-03-2001 12:52 AM
Re: utmp problrm
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x637f37f45ef7d4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 12:56 AM
07-03-2001 12:56 AM
Re: utmp problrm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 01:35 AM
07-03-2001 01:35 AM
Re: utmp problrm
Are you sure your problem come from your error ?
utmp file is use to contain "logged users onto
the system" (see man page of utmp) so if utmp
is empty you can logon without problem. I try
with a readonly /etc/utmp : you can login but
who commands can't works...
Are you sure your login scripts don't use
information or commands using /etc/utmp ?
Another way is to stop and restart logging
utilities : cd /usr/sbin/acct ; ./shutacct; ./startup
but I think it's not really the matter.
HTH
Herv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 01:42 AM
07-03-2001 01:42 AM
Re: utmp problrm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 02:10 AM
07-03-2001 02:10 AM
Re: utmp problrm
/usr/bin/ksh -i gives you a shell that ignores a lot of signals, enabling you to login under certain error conditions. It's way down the bottom of "man ksh"
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2001 03:28 AM
07-03-2001 03:28 AM
Re: utmp problrm
Ok it seems to be the problem : when utmp is
"unreadable" (if utmp is not structured like
utmp.h specifications) you can't insert any
entries. Shells refused to start in this case.
I didn't know this option for ksh.... Thx
I think that to resolve the problem it's
possible to delete /etc/utmp and create a new
empty one. But the problem is that without a
reboot it's impossible to know who is logged
on the system (who doesn't work for example).
Don't if it's important but I think it's better
to restart the system as soon as possible.
Herv?