08-08-2011
Linux admin
Hi,
Please give some important admin command document . which is helpful in my role.
THanks,
Mani
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have just been handed two new Suse 7.2 Linux systems to Administer.
We are wanting to setup monitoring of applications, file system space, etc. Are there standard log directories that an experienced Admin would put scripts, log files, documentation, etc. or just put it under the /root Home... (1 Reply)
Discussion started by: darthur
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
I am working on LINUX shell scripting. I have root privileges and I know some basic root/admin commands like user creation, modification and so on. Till last week i was able to create users but now i am not able to create users or groups. When I give the command i got an error as ... (6 Replies)
Discussion started by: naina
6 Replies
3. Linux
Im a solaris admin, not too familair with linux, can anyone give me 5-10 questions I should ask a Linux admin Im going to interview for a job. The job requires an experiencend Linux admin, who can do backups, system builds, create file systems, monitor, etc... in a production environment. Any help... (3 Replies)
Discussion started by: csaunders
3 Replies
4. UNIX for Dummies Questions & Answers
I'm working on further developing my Unix skills and I'm just curious what some of the experienced admins out there would consider to be 10 essential commands every admin should know. (12 Replies)
Discussion started by: Arkitech
12 Replies
5. UNIX for Dummies Questions & Answers
Hey guys, I've been doing some study guides and practice exams for some certs, had some friends give me some things to do in preperation as well. I have compiled a few of the questions I was unable to figure out:wall:, I was hoping to get some help here. I am running Fedora16. If you need any... (2 Replies)
Discussion started by: jahburmski
2 Replies
6. Red Hat
Hi ,
I have skill set in unix/shell scripting. But I would like to become a linux admin..So could you please help on this..
1) what are the things need to be learn,
2) any reference should be appreciable.
3) or any website..
THanks,
Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies
7. What is on Your Mind?
I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that.
Can we get "DAY" shifts in any one of the admin Job ?
Can't we have shift timings in any company ?
Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies
8. Linux
Hello guys,
First I apologize for asking non technical question but I am goging to move to the USA and I have 8 year experience as a senior linux admin, I am administering storage subsystems as well.
Can you please tell me how much is an average salary for Linux admins?
Thanks in advance. (4 Replies)
Discussion started by: Vit0_Corleone
4 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)