what is RBac and how to create a role?






what is RBac and how to create a role?..

Answer / 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




More Solaris AllOther Interview Questions

what is the diff between Sol9 and Sol10 Booting procedure

3 Answers   IBM,


How to see open ports?

2 Answers   Locuz, IATA,


how u can configure the Crontab and how many fields in Crontab file

2 Answers   IBM,


Whats the difference between SVM and VxVM? What would you recommend to your clients? why?

2 Answers  


how to repair /etc/system file with out using jump start and without using os software cd

4 Answers   IBM,






When the system is hang?Unable to login,and console is available?what is the action u will take?

2 Answers  


what are soft links and hard links, and differentiate them.

2 Answers   Bank Of America,


When would you want to reconfigure the kernel and how would you do it?

1 Answers  


How would you freeze a service group?

1 Answers  


Suppose if u want to reconfigure the kernel then how ur going to do?

3 Answers  


how to add a run control script..?

1 Answers  


how can u create volume

3 Answers   HCL,






Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)