Operating System - HP-UX
1819884 Members
2680 Online
109607 Solutions
New Discussion

Restricted Sam Access by Non Primary Group

 
SOLVED
Go to solution
Simpson
Occasional Advisor

Restricted Sam Access by Non Primary Group

I am having an issues assigning restricted SAM to a users within a group. If the group is not the primary for the user the sam access is still restricted. Is this a normal operation of restricted sam or should i be able to assign to users, by group when the group is not the primary ?

sorry for the bad description.
1 REPLY 1
Tim Nelson
Honored Contributor
Solution

Re: Restricted Sam Access by Non Primary Group

I have not used the group option but ...

If the group is not huge then add each user ?

Another trick.

Id all users in specific group. ( i.e. logins -g 'groupname'.

In /etc/sam/custom directory copy a template user can create each user's access file.

A script might look like this.

logins -g mygroup|awk '{print $1}' while read list
do
cp /etc/sam/custom/template_user.cf /etc/sam/custom/$list.cf
done

Your tempate user would be created with 1 session of sam -r.


There is always another way.