Operating System - HP-UX
1847683 Members
3793 Online
110265 Solutions
New Discussion

modify user template on sam

 
SOLVED
Go to solution
John McWilliams
Advisor

modify user template on sam

I have 50 HP-UX 10.20 servers and each have a user template set up in sam. I want to change the password expiry time on all 50 servers without going into sam on all of them. Is there a file somewhere I can edit to do this.

Thanks John
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: modify user template on sam

John:

SAM stores user account template information in the /var/sam/ug/templates/ directory. You can move them by copying them from server to server.

Document #S3100004721 describes the ability to create templates:

PROBLEM:

I am running SAM (System Administration Manager) and I want to create templates for add users to use with the SAM useradd subsystem. These variables would be password aging, home, start up shell, etc.

How do I create SAM (System Administration Manager) useradd subsystem templates?

RESOLUTION:

For customized variables under the SAM(1M) useradd subsystem, follow these steps in creating a SAM template:

1. Start SAM. See SAM(1M).

2. Select Accounts for Users and Groups from the main SAM menu.

3. Select Users from the sub-menu.

4. Under Users & Groups sub-menu system:

Actions -> User templates -> create

5. Under the User Template window, make all necessary system-wide changes. This change will affect the useradd SAM subsystem.

NOTE: It is necessary to select the new template each time a user is added to the system:

Actions -> User templates -> select

NOTE: An OS upgrade will cause the template to be eliminated. See Doc ID #S3100004618 on how to preserve your templates.

...JRF...