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 > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change Account to not lock account if password expires stringzz UNIX for Dummies Questions & Answers 1 04-04-2008 05:31 PM
How do I enable 16MB pages for an account that uses LDAP? mdyeager AIX 1 04-22-2007 04:17 PM
Setting an account to be a non-login account automatically? LordJezo UNIX for Dummies Questions & Answers 0 06-16-2006 09:28 AM
How to enable a disabled Unix account on HP-UX kajap UNIX for Dummies Questions & Answers 1 04-26-2005 02:57 PM
How to Enable locked root account Syed_45 UNIX for Dummies Questions & Answers 2 10-04-2002 10:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-10-2003
TRUEST TRUEST is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 144
On HP Systems, how do you enable an account??

now, HP can be very annoying when your coming off of a solaris box. anyway, i needed to change a password for a user who was on an HP machine. Changing the password was no problem but getting the user to log on with the new password was the problem.

the user kept getting "account disabled" messages.

my question is, what is the exact command that could have saved me the headache? what is that command that could have enabled the damn account? mind you, this is an HP-UX Machine.
  #2 (permalink)  
Old 07-10-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check to see if there is a entry at the bottom of the /etc/passwd file that locks out the group this particular user is in (if NIS is being used). See the man page on passwd (Section 4)
(extract from that man page)

Here is a sample /etc/passwd file:

root:3Km/o4Cyq84Xc:0:10:System Administrator:/:/sbin/sh
joe:r4hRJr4GJ4CqE:100:50:Joe User,Post 4A,12345:/home/joe:/usr/bin/k
sh
+john:
-bob:
+@documentation:no-login:
-@marketing:
+:::Guest

In this example, there are specific entries for users root and joe, in
case the Network Information System are out of order.

+ User john's password entry in the Network Information System
is incorporated without change.
...
+ The password field for anyone in the netgroup documentation
is disabled.

+ Users in netgroup marketing are not returned by getpwent(3C)
and thus are not allowed to log in.


And I'm sure Solaris is annoying to folks who know HP-UX.
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:01 PM.


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