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 use of ufsdump command in solaris

1 Answers  


what file shows all available ports?

1 Answers  


How do you boot from CD-ROM?

5 Answers  


1.how to see global zone name residing in non global zone?

6 Answers   CSC,


How to check memory statics..?

3 Answers  






How do you view shared memory statistics?

3 Answers  


What is meant by jumpstart?

2 Answers   IBM,


What is OBP and how do you access it?

2 Answers   3i Infotech,


Difference between secure copy and remote copy

1 Answers  


Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.

2 Answers   HP,


what is the command to replace a failed disk in vxvm with example?

3 Answers   TCS,


wht is the difference between mkfs & newfs.... is there any difference..b/w both of them.?

7 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)