Sponsored Content
Full Discussion: Privilege ids list
Homework and Emergencies Emergency UNIX and Linux Support Privilege ids list Post 302979178 by balajesuri on Wednesday 10th of August 2016 12:41:43 PM
Old 08-10-2016
I think you could build over the solutions presented in think link.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shutdown Privilege

Friends, I have to grant SHUTDOWN privilege to an ordinary user. How this can be achieved? J1yant (4 Replies)
Discussion started by: j1yant
4 Replies

2. Programming

List of Thread IDs of a process

Hello, Can some one tell how to read the thread IDs of the current process in Sun Solaris. Any help will be appreciated. regards, Murali (0 Replies)
Discussion started by: hmurali
0 Replies

3. Shell Programming and Scripting

How create a large list of document ids in VI

How can I create a large list of document ids, about a 1,000 or more in a list without having to type them in? If I can list these documents ids with one command I know how to transfer the output to a new vi list. But how can I strip unwanted extra information in this list and leave only the... (1 Reply)
Discussion started by: ruben7566
1 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Please list email ids or contact info of members

Hi , Is it possible to list the user's email id for further communication. Thanks, MoonwalaPL (3 Replies)
Discussion started by: moonwalapl
3 Replies

5. UNIX for Advanced & Expert Users

Count the distinct list of ids

Hello guys, I have a file in the following format(each line seperated by TAB): ========= Filename id Filename id1 Filename id Filename1 id7 Filename1 id7 Filename2 id1 Filename2 id1 Filename2 id3 Filename3 id2 Filename3 id4 Filename3 id4 Filename3 id6 ========= I would like to... (2 Replies)
Discussion started by: jingi1234
2 Replies

6. UNIX for Dummies Questions & Answers

what does the x privilege mean?

what does x(in rwx) privilege mean? just text files or shell script files? that's so confusing. (3 Replies)
Discussion started by: kang
3 Replies

7. Emergency UNIX and Linux Support

Retrieving a list of "orphan" ids

I have a situation where I would like to retrieve a list of ids on AIX 5.3 server, which do not have proper gecos information. The need is to fix all of these ids before it gets flagged as an audit exposure. Can someone please help me with a command/script to retrieve this list? G (3 Replies)
Discussion started by: ggayathri
3 Replies

8. Shell Programming and Scripting

How to get list of all functional ids in Solaris?

Hi, I wanted to check which all functional ids have been set up to be used as sftp functional ids? Where can I find this data in solaris machine? (1 Reply)
Discussion started by: sidnow
1 Replies

9. Shell Programming and Scripting

List out Process ids restarted today

Hi, I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting. Can any one guide... (7 Replies)
Discussion started by: ananan
7 Replies

10. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies
Privilege(3PERL)					      Perl Library Functions						  Privilege(3PERL)

NAME
Privilege - Perl interface to Privileges SYNOPSIS
use Sun::Solaris::Privilege qw(:ALL); DESCRIPTION
This module provides wrappers for the Privilege-related system and library calls. Also provided are constants from the various Privilege- related headers and dynamically-generated constants for all the privileges and privilege sets. Constants PRIV_STR_SHORT, PRIV_STR_LIT, PRIV_STR_PORT, PRIV_ON, PRIV_OFF, PRIV_SET, PRIV_AWARE, and PRIV_DEBUG. Functions getppriv($which) This function returns the process privilege set specified by $which. setppriv($op, $which, $set) This function modified the privilege set specified by $which in the as specified by the $op and $set arguments. If $op is PRIV_ON, the privileges in $set are added to the set specified. If $op is PRIV_OFF, the privileges in $set are removed from the set specified. If $op is PRIV_SET, the specified set is made equal to $set. getpflags($flag) This function returns the value associated with process $flag or undef on error. Possible values for $flag are PRIV_AWARE and PRIV_DEBUG. setppflags($flag, $val) This function sets the process flag $flag to $val. priv_fillset() This function returns a new privilege set with all privileges set. priv_emptyset() This function returns a new empty privilege set. priv_isemptyset($set) This function returns whether or not $set is empty. priv_isfullset($set) This function returns whether or not $set is full. priv_isequalset($a, $b) This function returns whether sets $a and $b are equal. priv_issubset($a, $b) This function returns whether set $a is a subset of $b. priv_ismember($set, $priv) This function returns whether $priv is a member of $set. priv_ineffect($priv) This function returned whether $priv is in the process's effective set. priv_intersect($a, $b) This function returns a new privilege set which is the intersection of $a and $b. priv_union($a, $b) This function returns a new privilege set which is the union of $a and $b. priv_inverse($a) This function returns a new privilege set which is the inverse of $a. priv_addset($set, $priv) This functon adds the privilege $priv to $set. priv_copyset($a) This function returns a copy of the privilege set $a. priv_delset($set, $priv) This function remove the privilege $priv from $set. Class methods None. Object methods None. Exports By default nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module: :SYSCALLS getppriv(), setppriv() :LIBCALLS priv_addset(), priv_copyset(), priv_delset(), priv_emptyset(), priv_fillset(), priv_intersect(), priv_inverse(), priv_isemp- tyset(), priv_isequalset(), priv_isfullset(), priv_ismember(), priv_issubset(), priv_gettext(), priv_union(), priv_set_to_str(), priv_str_to_set() :CONSTANTS PRIV_STR_SHORT, PRIV_STR_LIT, PRIV_STR_PORT, PRIV_ON, PRIV_OFF, PRIV_SET, PRIV_AWARE, PRIV_DEBUG, plus constants for all privileges and privilege sets. :VARIABLES %PRIVILEGES, %PRIVSETS :ALL :SYSCALLS, :LIBCALLS, :CONSTANTS, :VARIABLES ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpl5u | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
getpflags(2), getppriv(2), priv_addset(3C), priv_set(3C), priv_str_to_set(3C), attributes(5), privileges(5) SunOS 5.11 30 Jan 2004 Privilege(3PERL)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy