![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| i cannot assign float point numbers to an array in solaris | naree | SUN Solaris | 11 | 02-27-2008 04:06 AM |
| Secondary groups show in groups but don't show in id (Not working) | zen03 | HP-UX | 4 | 12-31-2007 11:15 AM |
| Assign groups by e-mail | moe2266 | UNIX for Dummies Questions & Answers | 8 | 10-10-2007 03:13 PM |
| FTP rights | Burhan | SUN Solaris | 2 | 03-15-2007 07:22 AM |
| Groups Rights | niasdad | UNIX Desktop for Dummies Questions & Answers | 3 | 07-16-2002 09:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
you can add users to group with the help of usermod command
usermod -g( in case if u want to assign the primary group or -G in case the of secondary group ) followed by group name or gid then user name . i.e usermod -g <primary group name / gid> -G < secondary group name / gid> <username> check the detail with groups <username> |
|
||||
|
Dears.
To assign the rights to specific User In Solaris Role-based access control (RBAC) is an alternative to the all-or-nothing superuser model. RBAC uses the security principle of least privilege. No user should be given more privilege than necessary for performing the user's job. RBAC makes it possible for an organization to separate superusers' capabilities and assign these capabilities to specific users or to special user accounts that are called roles. Roles can be assigned to specific individuals, according to their job needs you have already user in your system named dell you want to assign some administration tasks to del to do 1) you must make profile in this example the profile named is useradmin # vi /etc/security/prof_attr then you will write at the end of the file useradmin:::: ========================================================== then at this file /etc/security/exec_attr you will assign the command what you want this user (dell) to do /etc/security/exec_attr useracc:suser:cmd:::/usr/sbin/useradd:uid=0 useracc:suser:cmd:::/usr/sbin/userdel:uid=0 useracc:suser:cmd:::/usr/sbin/usermod:uid=0 useracc:suser:cmd:::/usr/sbin/groupadd:uid=0 useracc:suser:cmd:::/usr/sbin/groupdel:uid=0 useracc:suser:cmd:::/usr/sbin/groupmod:uid=0 ========================================================== when you add role it's like useradd you will found the role name at /etc/passwd Create role:- ************** # roleadd -c "User Administration" -g "Primary Group" -md /export/home/username -s /user/bin/pfksh -P "useracc" username -c if you want to add comment -g if you want to add this role to primary group -md to create the home directory for the role (it's like useradd home directory for the user) -s to assign shell for user (this is like ksh we use but it is special for this command becouse it is check the rights you given to the user) -P capital P to assign the profile # passwd username # usermod -R username dell -R to assign role to existing user Last edited by dellroxy; 03-02-2009 at 10:36 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|