Sponsored Content
Operating Systems HP-UX How to reactivate user with command(no SAM) Post 302142369 by Perderabo on Thursday 25th of October 2007 07:15:43 PM
Old 10-25-2007
Is this a trusted system? If so it's
/usr/lbin/modprpw -k user
 

8 More Discussions You Might Find Interesting

1. HP-UX

help on sam

hi, any idea how to get more info on the usage, unix equivalent of sam in hp-ux? thanks (7 Replies)
Discussion started by: yls177
7 Replies

2. UNIX for Dummies Questions & Answers

How to reactivate expired account in Linux as a root user

I am an administrator of a Red Hat Enterprise Linux system. Now one account expired. I wonder how to reactivate the account. Thanks (2 Replies)
Discussion started by: cy163
2 Replies

3. HP-UX

Where are SAM user templates stored?

Hey, new here, so be nice! I'm trying to write a little script to automate the user creation process on one of our boxes. But I would like to be able to use the templates that we have set up in SAM. Is the information in these templates stored in a file somewhere, that I can reference in my... (5 Replies)
Discussion started by: paqman
5 Replies

4. HP-UX

Adding user to a group without SAM

How can I add a user to a specific group without using SAM? I know I can user modprpw -G, but that will overwrite any groups the user is in with the ones I specify. I need to assume that I do not know what groups the user is already in, so I can't put them in the modprpw command. I just need... (2 Replies)
Discussion started by: paqman
2 Replies

5. HP-UX

Getting command (command line) from SAM?

Hi I hope this is easy and sorry if I am using the wrong HP terms. I am looking for a way to glean the command line information from a process I run in SAM? In AIX I can just select any options I want for particular process and hit F6 and the command line is shown on the screen for use in... (3 Replies)
Discussion started by: KmJohnson
3 Replies

6. Shell Programming and Scripting

root user command in shell script execute as normal user

Hi All I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh URL="www.google.com" VBURL="10.5.2.211" echo "Setting route for $URL for GPRS" URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1` echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies

7. Linux

Reactivate an account

Hello, I had this issue today. One of my co-workers accounts was looked due to inactivity. The passwd -u command didn't work. So I did what I posted below. I don't think this the proper way to do this. What is the right to reactivate an account in Linux? After I changed the inactivity to never he... (2 Replies)
Discussion started by: bitlord
2 Replies

8. HP-UX

Display SAM user list at the command line

Hello, I've been doing Linux and AIX administration for years, but I'm very new to HPUX. We have an old audit process which involves someone manually using sam to generate user lists. I'd like to kill that old process with fire... But... After working a bit in the morning to try and pull... (3 Replies)
Discussion started by: Celt1977
3 Replies
depord(8)						      System Manager's Manual							 depord(8)

NAME
depord - Sort subset names into dependency order SYNOPSIS
/usr/lbin/depord [-c ctrldir [-c ctrldir]...] [-f [namefile | -]] [-I | -i] [subsetID [subsetID...]] OPTIONS
Searches the directory ctrldir for subset *.ctrl files instead of the current directory. You can use multiple -c options. Reads the subset names from namefile. If you use the "-" argument instead of namefile, read the subset names from standard input. The namefile and "-" argu- ments to the -f option are mutually exclusive. If you also specify subset names with subsetID operands, they are concatenated with the sub- set names specified with the -f option. Includes in the ordered output the names of all prerequisite subsets for the subset name argument list. The -I and -i options are mutually exclusive. Includes in the ordered output the names of all prerequisite subsets for the subset name argument list, and excludes from the output any prerequisite subsets that are already installed. The -I and -i options are mutually exclusive. OPERANDS
The name of a subset for dependency checking and ordering. If you also specify subset names with the -f option, they are concatenated with subsetID operands. DESCRIPTION
The depord command reads the subset *.ctrl files in the specified directories for dependency information, then sorts the subset name argu- ment list (and, optionally, prerequisite subset names) in dependency order. If other directories are not specified, depord searches for subset *.ctrl files in the current directory. If you install the subsets in the order shown in the depord output, subset dependencies are satisfied. If you are not using either the -I or -i option and if a subset dependency cannot be satisfied by the other specified subset names, an error message displays and that subset is not included in the output. All subsets in a dependency cycle (where subsets are mutu- ally dependent) are ignored. An error message displays, and those subsets are not included in the output. The depord command is used by the setld(8) utility. EXAMPLES
To sort the subsets listed on the command line into dependency order: # /usr/lbin/depord OSFCDEDT500 OSFX11500 OSFCDEMIN500 OSFX11500 OSFCDEMIN500 OSFCDEDT500 To use the -I option to list the prerequisite subsets for OSFDCEDT500, sorted into dependency order: # /usr/lbin/depord -I OSFCDEDT500 OSF- BASE500 OSFX11500 OSFCLINET500 OSFNFS500 OSFCDEMIN500 OSFCDEDT500 To use the -i option to check the prerequisite subsets for OSFDCEDT500, and exclude from the output those that are already installed: # /usr/lbin/depord -i OSFCDEDT500 OSFCDEDT500 RESTRICTIONS
The -I and -i options are mutually exclusive. FILES
Executable file for depord command Indicates subsetID is already installed. Contents list other subsets dependent upon subsetID. Control files with dependency information SEE ALSO
setld(8) stl_ctrl(4) Programming Support Tools depord(8)
All times are GMT -4. The time now is 01:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy