Operating System - HP-UX
1753479 Members
4885 Online
108794 Solutions
New Discussion

swacl - how do I add several hosts in the ACL file

 
Padmaja Reddy
Occasional Contributor

swacl - how do I add several hosts in the ACL file

I have a quick question. We have a depot server. I would like to do the following.
Deny permissions for all users except for root and scc from this depot and all other hosts (we have like 50 hosts ). How do I list several hosts in the ACL file ? The default ACL file is as follows:
sa11.mcc [root]> swacl -l host
#
# swacl Host Access Control List
#
# For host: abc
#
# Date: Mon Mar 31 17:52:15 2003
#

# Object Ownership: User= root
# Group=sys
#Realm=abc.mcc.abccompany.int
#
# default_realm=abc.mcc.abccompany.int
group:swadm:crwit
any_other:-r---

**********************************************
How do I add several hosts into the above file.

Thanks
Shreesairam
paddy
1 REPLY 1
Michael Steele_2
Honored Contributor

Re: swacl - how do I add several hosts in the ACL file

Give root@rights

swacl -l root -M user:root@:a

should end up kinda like:

user:fred:r-ctw
group:swadmin:crwit

# default_realm=sapprd.chanelusa.com
num_entries=4
user:root@ sapprd1.chanelusa.com:0133
user:xpsd@ sapprd2.chanelusa.com:0133
user:root@ sapprd3.chanelusa.com:0133
user:root@ sapprd4.chanelusa.com:0133

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90692/B2355-90692_top.html&con=/hpux/onlinedocs/B2355-90692/00/01/160-con.html&toc=/hpux/onlinedocs/B2355-90692/00/01/160-toc.html&searchterms=access%7crealm%7cswacl&queryid=20030331-130922
Support Fatherhood - Stop Family Law