The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Log Information about login/logout of any users suuuper SUN Solaris 4 10-08-2008 11:33 AM
users login lo-lp-kl Shell Programming and Scripting 3 05-23-2008 12:27 PM
Users with login privileges sprellari Linux 2 08-23-2006 05:22 AM
Change users login name spacewalker AIX 9 03-20-2006 11:09 AM
NIS users cann't login on AIX and HP mod UNIX for Advanced & Expert Users 3 08-22-2001 11:25 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-19-2009
irda irda is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 3
No users can login

Dear Forum,

I had this case before, all of sudden all users including root can't login. What done is by connecting to console port and resetting root password, "pwunconv" command, reboot server.

My question is, how this can happen???

thanks
  #2 (permalink)  
Old 06-19-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Well you must be more clear:
What system are you talking about? a server?
I a server, usually it has no graphic card...
Your issue seems to come from a manipulation where the system is turned to trusted mode (otherwise pwunconv doesnt make sence).
So
1) Is your system a trusted server?

2) If not, what was the last commands root user entered
  #3 (permalink)  
Old 06-19-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
It is quite easy to convert or unconvert trusted with SAM by accident. If you are intentionally trusted beware that the reverse convert loses all the user account passwords. As "vbe" states you need to know whether your system is normally trusted or not.
SAM has a log and a log viewer.

Code:
/usr/sam/bin/samlog_viewer
Also check that you don't have a file called /etc/nologin (with NOLOGIN=1 in /etc/default/security). It will give these symptoms.

Is inetd running?
Anything unusual in syslog?
  #4 (permalink)  
Old 06-22-2009
thenomad thenomad is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 16
If you have tried to convert your system to trusted system, or vice-versa, all your users' status have been changed to LOCKED. You need to unlock the users one by one.

Code:
cat /etc/passwd | while read uline; do
UNAME=$(echo $uline | cut -d: -f1)
/usr/lbin/modprpw -l -m alock=NO $UNAME  #unlocks the account
/usr/lbin/modprpw -k $UNAME #resets incorrect login count
done
hope this helps
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0