09-26-2009
Either you carry on and do with the root a/c or create roles. Assign the roles to a new user a/c and use it.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
The directions below were provided by someone on the unslung mailing list. unslung is a linux OS for LinkSys's $100 NSLU2 NAS controller.
I'm posting the query here because
(1) I think it is really a generic linux/unix questions
(2) I did not get a response in the unslung mailing list.
I... (1 Reply)
Discussion started by: siegfried
1 Replies
2. What is on Your Mind?
Has anyone got any advice on how I can get a job as a Unix/Solaris system administrator?
My current job is supporting an application that runs on Solaris servers.
I have very minimal Solaris/Unix skills but would like to expand on them with the aim of getting a junior sys admin role. I have... (4 Replies)
Discussion started by: Sepia
4 Replies
3. AIX
Please may you help me with specific study packs, redbooks etc that may help me pass this certification. Also can you advise me the best AIX certification course as I am new to AIX, coming from solaris and networking environments. Thanx (10 Replies)
Discussion started by: Zim-Aix-Guru
10 Replies
4. Advertise with Us
Composite Software, Inc. is hiring!
Sr. System Administrator
Location: San Mateo, CA
REQ: 10-22
Reports to: IT Manager
Job Description
Composite Software is hiring a full-time System Administrator. The system administrator will be responsible for installing,... (0 Replies)
Discussion started by: Composite SW
0 Replies
5. Shell Programming and Scripting
Hello All,
If possible can anybody kindly let me know the good shell scripting book for system Administrator.
Thanks & Regards,
Vinay.K.S (1 Reply)
Discussion started by: vinay_ks
1 Replies
6. What is on Your Mind?
Couldn't resist:
www.gnu.org/fun/jokes/know.your.sysadmin.html (1 Reply)
Discussion started by: radoulov
1 Replies
7. UNIX for Advanced & Expert Users
Hi guys
I hope I will not break any rules and guidelines on the forum with this post. I am Admir, working as a recruiter for execIT Recruitment Zurich, Switzerland.
Our client is an urgent need of a linux system administrator/support analyst who has trading floor experience and is eligible... (1 Reply)
Discussion started by: BosAd
1 Replies
8. UNIX for Dummies Questions & Answers
I've been learning linux and solaris for the past couple months and have been thinking about seeking a systems admin career. Is it worth it to learn solaris? Do many companies really use it or is it a waste of my time? Would learning just linux be a better idea? I see there's more opportunity as a... (2 Replies)
Discussion started by: austinramsay
2 Replies
roles(1) User Commands roles(1)
NAME
roles - print roles granted to a user
SYNOPSIS
roles [ user ...]
DESCRIPTION
The command roles prints on standard output the roles that you or the optionally-specified user have been granted. Roles are special
accounts that correspond to a functional responsibility rather than to an actual person (referred to as a normal user).
Each user may have zero or more roles. Roles have most of the attributes of normal users and are identified like normal users in passwd(4)
and shadow(4). Each role must have an entry in the user_attr(4) file that identifies it as a role. Roles can have their own authorizations
and profiles. See auths(1) and profiles(1).
Roles are not allowed to log into a system as a primary user. Instead, a user must log in as him-- or herself and assume the role. The
actions of a role are attributable to the normal user. When auditing is enabled, the audited events of the role contain the audit ID of the
original user who assumed the role.
A role may not assume itself or any other role. Roles are not hierarchical. However, rights profiles (see prof_attr(4)) are hierarchical
and can be used to achieve the same effect as hierarchical roles.
Roles must have valid passwords and one of the shells that interprets profiles: either pfcsh, pfksh, or pfsh. See pfexec(1).
Role assumption may be performed using su(1M), rlogin(1), or some other service that supports the PAM_RUSER variable. Successful assumption
requires knowledge of the role's password and membership in the role. Role assignments are specified in user_attr(4).
EXAMPLES
Example 1: Sample output
The output of the roles command has the following form:
example% roles tester01 tester02
tester01 : admin
tester02 : secadmin, root
example%
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
/etc/user_attr
/etc/security/auth_attr
/etc/security/prof_attr
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
auths(1), pfexec(1), profiles(1), rlogin(1), su(1M), getauusernam(3BSM), auth_attr(4), passwd(4), prof_attr(4), shadow(4), user_attr(4),
attributes(5)
SunOS 5.10 14 Feb 2001 roles(1)