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

If you can ping a server, but can't telnet or ssh to it, whats wrong?

8 Answers   HCL,


In TOP command, can you please explain what is the three numbers reported as part of the load average output "load average: 11.57, 9.84, 8.26"

2 Answers   IBM,


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

1 Answers   IBM,


If ping command is not working then how to check the status of the server..?

2 Answers  


Whats the boot process of VxVM?

1 Answers   Wipro,






What does the pkgadd command do?

4 Answers  


What is the use of Flar command in solaris

1 Answers  


how to freeze nodes in vcs?tell me step by step?

3 Answers   Mphasis,


what is major number and what is minor number..?

3 Answers   Wipro,


Does "AMD Turion 64 X2 Processor TL50, 1.6 GHz and above" supports Solaris 10?.

1 Answers  


How do you get system diagnostics information?

5 Answers  


how to add patched to the kernel

3 Answers   IBM,


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)