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

Compare and contrast VCS and Sun Cluster.

1 Answers  


what r d boot options?

2 Answers   TCS,


what r the phases in fsck?

3 Answers   HCL, Accenture, Cognizant,


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

2 Answers  


How to use disk quotas in solaris (command mode) ? what is the procedure for checking disk space of the particular user in command mode?

7 Answers   Samsung,






what is difference between tar and cpio

1 Answers   IBM,


How can you check that a particular volume is mirrored?

5 Answers   CGI,


in this what is the configuration of .profile file and the other files

1 Answers   IBM,


how to chk who r the users currently ogged in to the system..?

4 Answers  


How do you view shared memory statistics?

3 Answers  


What is the use of Flar command in solaris

1 Answers  


Command to check all the process statistics..?

2 Answers  






Categories
  • Solaris Commands Interview Questions Solaris Commands (356)
  • Solaris Threads Interview Questions Solaris Threads (8)
  • Solaris IPC Interview Questions Solaris IPC (15)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (2)
  • Solaris System Calls Interview Questions Solaris System Calls (14)
  • Solaris General Interview Questions Solaris General (116)
  • Solaris AllOther Interview Questions Solaris AllOther (297)