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 are the two settings you can change to make a system boot faster?

3 Answers  


in RAID 0+1 and !+0 which u will preffer(Veritas)0+1

1 Answers   IBM,


How do you give a user access to an application or program that needs to run as root without giving them the root password?

2 Answers   Infosys,


What does ndd do?

2 Answers  


what r d crontab fields?

3 Answers   emc2, JK Technosoft,






what r the phases in fsck?

3 Answers   Accenture, Cognizant, HCL,


how to know the creation time of users and creation time of zones in solaris

1 Answers  


what is split brain? if it happens, what are the solutions need to be applicable?

2 Answers  


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

1 Answers  


Difference b/w crash dump and core dump files..?

2 Answers   Mphasis, Sun Microsystems,


u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?

3 Answers   IBM,


user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it

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