How to reactivate user with command(no SAM)


 
Thread Tools Search this Thread
Operating Systems HP-UX How to reactivate user with command(no SAM)
# 8  
Old 11-11-2007
thanks alot 411seeker, I trying man modprpw for many options.


arm_naja
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
Login or Register to Ask a Question
sam(1M) 																   sam(1M)

NAME
sam - HP System Administration Manager (HP SAM) SYNOPSIS
[ login | ] DESCRIPTION
The command launches the HP System Management Homepage (HP SMH) program for performing system administration on the HP-UX operating system. HP SMH is an enhanced web-based program of HP System Administration Manager (HP SAM) in the HP-UX 11i V3 release. For more information, see smh(1M). If the environment variable is set, the Web-based HP SMH is displayed. If the environment variable is not set, the terminal user interface of HP SMH is displayed. Deprecation Notice The command is deprecated in HP-UX 11i V3 release. HP recommends you use the command. Options recognizes the following options. Execute SAM with the privileges associated with the specified login. When used in conjunction with the Restricted SMH Builder is invoked and initialized with the privileges associated with the specified login. You must be a superuser to use this option. See below for more information. Invokes Restricted SMH. This enables the system administrator to assign limited privileged user access to SMH functionality. You must be a privi- leged user to use this option. See the section below for more information. Restricted SMH Generally, SMH requires privileged user rights to execute successfully. However, through the use of Restricted SMH, SMH can be configured to allow subsets of its functionality to certain non-privileged users or groups of users. System administrators access Restricted SMH by invoking SMH with the option (see above). In Restricted SMH, system administrators may assign subsets of SAM functionality on a per-user or per-group basis. When Restricted SMH is used, non-privileged users are promoted to privileged users when necessary to enable them to execute successfully. By default, Restricted SMH executes all applications as privileged user. However, certain applications, like software distributor have their own security mechanism and do not follow the Restricted SMH security model. In such cases, the application launched through Restricted SMH will be executed with the login ID of the user who invokes it. A non-privileged user who has been given Restricted SMH privileges simply executes and sees only those areas the user is privileged to access. All the SMH functional areas require the user to be promoted to be a privileged user in order to execute successfully. SMH does this auto- matically as needed. SMH provides a default set of SMH functional areas that the system administrator can assign to other users. Restricted SMH applies only to terminal user interfaces. Restricted SMH does not apply to Web-based GUI (HP SMH) since HP SMH has its own roles. For more information, refer to the HP SMH documentation available at and the HP SMH product online help system. SAM Functional Areas SAM has been replaced by SMH. For more information on the various functional areas, see smh(1M). SAM Logging All actions taken by SAM are logged into the SAM log file at The log entries in this file can be viewed using the SAM utility command (see samlog_viewer(1)). can filter the log file by user name, by time of log entry creation, and by level of detail. Functionality Obsolescence and Changes The following functional areas of the previous SAM interface have been removed, changed, or are planned to be obsolete in a future release of HP-UX. Alternate procedures are listed as appropriate. o Trusted systems is planned for obsolescence post HP-UX 11i V3 release. o Backup and Recovery. Use the and commands from the HP-UX system prompt. You can also use backup tools, such as pax(1), from the HP-UX command prompt. o Tape Drives. Add or remove device entries by editing the file or use and commands from the HP-UX command prompt. o Terminals and Modems. Use and commands from the HP-UX command prompt. o Uninterruptable Power Supplies. o Performance Management. Monitor the performance of HP-UX using the commands and o Process Management. To manage processes for such functions as stopping, continuing, changing priority, use and o Routine Tasks. Tasks such as shutting down the system and removing files that are large, unowned, or core files are handled by and o Run SAM on Remote Systems. Executing or configuring SAM on remote systems is no longer needed, because all systems are managed through HP Systems Insight Manager (HP SIM). For more information on HP SIM, see o Custom applications cannot be added using SAM. Any custom application that needs to be added in SAM must provide its own registration files. The registration file has a specific format. You can view a sample registration file from WARNINGS
cannot be run in the background even if the environment variable is set from HP-UX 11i V3 release. The Disks and File Systems area of SAM does not display or configure all the types of devices when the legacy mode of mass storage stack is disabled. AUTHOR
was developed by HP. SEE ALSO
samlog_viewer(1), evweb(1M), fsweb(1M), hpsmh(1M), kcweb(1M), ncweb(1M), parmgr(1M), pdweb(1M), secweb(1M), smh(1M), smhstartconfig(1M), ugweb(1M), intro(7). at TO BE OBSOLETED sam(1M)