what is RBac and how to create a role?

Answer Posted / norton anti virus

RBAC is role based access control list and it is used to
assign user some roles of administrator like creating user
and deleting and shutdown the system in the absence of the
admin
vi /etc/security/prof_attr - create a profile
usermgt:::"user can create users"
wq!
vi /etc/security/exec_attr
usermgt:smuser:cmd:::/usr/sbin/useradd:uid=0
wq!
#roleadd -d /usr/role1 -P usermgt -m role1
#usermod -R role1 user1
#passwd role1
new passwd
#su - user1
passwd
$su - role1
passwd
$/usr/sbin/useradd user2 - he can now create users.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2246


What is the zone in DNS?

1894


how can u give space garentee for volume in netapp storage

2810


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2029


Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

2744






Local zone in shutting down state.how to bring state of zone to installed?

1618


How do u know that,what patch can be applicable on the system?

1799


hi to all,, i need few real time issues please provide me,, if you have any,,,

1747


What is the use of Sam utility in solaris

2360


How to create a gateway?

6332


In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

1745


What is cachefs?

1924