Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to enable a disabled Unix account on HP-UX Post 70180 by Perderabo on Tuesday 26th of April 2005 02:57:03 PM
Old 04-26-2005
Depends on a lot of stuff. Although sam can probably do it in any case. What version of HP-UX? Have you converted to a trusted system? Are you using nis?

try:
/usr/lbin/modprpw -k user
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Enable locked root account

Hi Every one I disable the root account entering wrong password for many time How can I enable the root account I am using Tru64 Unix V4.0G Thank you (2 Replies)
Discussion started by: Syed_45
2 Replies

2. UNIX for Dummies Questions & Answers

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"... (1 Reply)
Discussion started by: TRUEST
1 Replies

3. HP-UX

Root account disabled and unable to access console

Hi, hope someone could help me here: Our root account was disabled on our production server this morning and usually we would login at the console to re-enable the account. However we are unable to get a login prompt at the console. The console displays the 8 options along the bottom and a... (2 Replies)
Discussion started by: AaronC
2 Replies

4. AIX

How do I enable 16MB pages for an account that uses LDAP?

With an account that uses "Login AUTHENTICATION GRAMMAR" = "LDAP", I get this when trying to enable 16 MB page support: -bash-3.00# chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE trbld Error changing "capabilities" to "CAP_BYPASS_RAC_VMM,CAP_PROPAGATE" : Value is invalid. I also tried... (1 Reply)
Discussion started by: mdyeager
1 Replies

5. HP-UX

PAM status 28 - account disabled

I frequently rexec into a remote box to run a job, occaisionally I get the the error message "rexecd: Account Disabled" and in the remote box syslog I see "rexecd: PAM - status 28 PAM error message: account is disabled". After a 1/2 hour or so the problem goes away. Anyone shed any light on... (0 Replies)
Discussion started by: CBorgia
0 Replies

6. HP-UX

root - "Account is disabled"

Hi. I have an issue with root account. System doesn't let me to log on, because accound is disabled/locked. This problem since I have converted passwords file to data base using SAM. I didn't change user's parameters. Somebody knows how can i enable my root account back? (14 Replies)
Discussion started by: netwalker
14 Replies

7. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. UNIX for Advanced & Expert Users

To enable sqlplus for a user in unix

Hi I added a new user using root... now i need to enable sqlplus for that particular user... when i give sqlplus schemaname/pwd it gives $ sqlplus -bash: sqlplus: command not found PFB the OS am using $ uname -a Linux gs-portal-04 2.4.21-57.ELsmp #1 SMP Wed Apr 23... (4 Replies)
Discussion started by: Whiteboard
4 Replies

9. UNIX for Dummies Questions & Answers

USB port is disabled using BIOS, I want to enable it

Hi, I have PC with Linux OS RHEL3 and USB port is disabled from BIOS. BIOS access is protected using password. But, I have root access. Now, how can I enable USB port using root access? Is there any trick that I can do using root access that can enable USB port once my PC has booted up? (3 Replies)
Discussion started by: gydave
3 Replies

10. SCO

SCO 5.0.7 server - Message - Root Account is disabled - but allowing entry via daemon.

SCO 5.0.7 server on an HP Proliant ML350G5 with E200 raid controller. The message on the server during boot says this message in several places. "Root Account Disabled, but allowing entry via deamon" At this point, there are some hardware issues to work through first. One is that we don't... (2 Replies)
Discussion started by: cjdavis618
2 Replies
modprpw(1M)															       modprpw(1M)

NAME
modprpw - modify protected password database SYNOPSIS
username value,... ] username DESCRIPTION
updates the user's protected password database settings. This command is available only to the superuser in a trusted system. Usage other than via SAM, and/or modifications out of sync with may result in serious database corruption and the inability to access the system. All updated values may be verified using the command. See getprpw(1M). uses the configuration file default if is not specified. See nsswitch.conf(4). Options sets user's parameters as defined by the options specified. At least one option is required. If a field is not specified in the option then its value remains unchanged in the database. recognizes the following options: To add a new user entry and to return a random password which the new user must use to login the first time. This entry has to be created with the given username and the Error is returned if the user already exists. May be combined with the option. Unlike the command, it does not create nor populate the home directory, and it does not update This option is specified WITHOUT a user name to expire all user's passwords. It goes through the protected password database and zeroes the successful change time of all users. The result is all users will need to enter a new password at their next login. May be combined with the option. This option is specified with a user name to expire the specified user's password. It zeroes the successful change time. May be combined with the and/or options. To unlock/enable a user's account that has become disabled, except when the lock is due to a missing password or * password. May be combined with the and/or options. This option modifies data for a local user, username. This option must be specified with other options. Modify the database field to the specified value and/or resets locks. Valid with one of the following options: or A list of database fields may be used with comma as a delimiter. An "invalid-opt" is printed, and processing terminates, if a list of database fields passed to contains an invalid database field. Boolean values are specified as YES, NO, or DFT for system default values Numeric values are specified as positive numbers, 0, or -1. If the -1 is specified, the numeric value in the database is removed, allowing the system default value to be used. Time values are specified in days, although the database keeps them in seconds. No aging is present if the following 4 database parameters are all zero: Unless specified by all database fields can be set. They are listed below in the order shown in The database fields are fully explained in prpwd(4). DATABASE FIELD database database Set the uid of the user. No sanity checking is done on this value. database database database Set boot authorization privilege, removes it from the user file. database Set audit id. Automatically limited not to exceed the next available id. database Set audit flag. database Set the minimum time interval between password changes (days). 0 = none. Same as non-trusted mode minimum time. database Set the maximum password length for system generated passwords. database Set password expiration time interval (days). 0 = not expired. Same as non-trusted mode maximum time. database Set password life time interval (days). 0 = infinite. database Modified by options maybe database database Set account expiration time interval (days). This interval is added to "now" to form the value in the database (database 0 = no expiration). database Set the last login time interval (days). Used with database Set password expiration warning time interval (days). 0 = none. database Obsoleted field. database Set whether User Picks Password, database Set whether system generates pronounceable passwords, database Set if generated password is restricted, If password will be checked for triviality. database Set whether null passwords are allowed, is not recommended! database Obsolescent field. database Obsoleted field. database Set whether system generates passwords having characters only, database Set whether system generates passwords having letters only, database Set the time-of-day allowed for login. The format is: Where key has the following values: - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday - everyday - Monday -> Friday and Starttime and Endtime are in military format: HHMM, where: 00 <= HH <= 23, and 00 <= MM <= 59. database database database database database database Set Maximum Unsuccessful Login tries allowed. 0 = infinite. database Set the administrator lock, This option is specified WITHOUT a user name to "validate/refresh" all user's passwords. It goes through the protected password database and sets the successful change time to the current time for all users. The result is that all user's password aging restarts at the current time. May be combined with the option. This option is specified with a user name to "validate/refresh" the specified user's password. It sets the successful change time to the current time. May be combined with the and/or options. Delete the user's password and return a random password that the user must later supply to the login process to login and pick a new password. Not valid for root. Also resets locks. May be combined with the option. RETURN VALUE
0 Success. 1 User not privileged. 2 Incorrect usage. 3 Can not find the entry or file. 4 Can not change the entry. 5 Not a Trusted System. EXAMPLES
Set the Minimum time between password changes to 12 (days), set the System generates pronounceable password flag to NO, and set the System generates password having characters only flag to YES. The following example is to restrict the times that user joeblow can get on the system on Mondays and Fridays to 5PM-9PM, and Sundays from 5AM-9AM. Other days are not restricted. WARNINGS
This command is intended for SAM use only. It may change with each release and can not be guaranteed to be backward compatible. Several database fields interact with others. Side effects may not be apparent until much later. Special meanings may apply in the following cases: o an absent field, o a field without a value, o a field with a zero value. Very little, if any checking is done to see if values are valid. It is the user's responsibility to range check values. HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
System Password file Protected Password Database System Defaults Database AUTHOR
was developed by HP. SEE ALSO
getprpw(1M), prpwd(4), nsswitch.conf(4). TO BE OBSOLETED modprpw(1M)
All times are GMT -4. The time now is 11:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy