Sponsored Content
Full Discussion: Shutdown Privilege
Top Forums UNIX for Advanced & Expert Users Shutdown Privilege Post 14537 by j1yant on Friday 1st of February 2002 12:47:57 PM
Old 02-01-2002
OS is SCO UNix Ware 7.0
The security package you mentioned is not installed.
Without any such security package can we grant SHUTDOWN privilege.Is there any work around ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shutdown Privilege

Dear all, An ordinary user can shutdown the UNIX MACHINE ? SCO UNIXWARE 7.0. what has to be done to privilage for an ordinary user to SHUTDOWN the PC?? i would be thankful if i will get a solution. with regards, konda. (2 Replies)
Discussion started by: konda
2 Replies

2. UNIX for Dummies Questions & Answers

Write privilege for user

Is it possible to grant write privileges to a user on a directory with out having to add the user to a group or make the user the owner of the directory? My background is in Windows and in Windows you can grant specific privileges to a user without having to put the user in a group or making the... (3 Replies)
Discussion started by: here2learn
3 Replies

3. Solaris

root privilege

Hello All, I need your help to know how i can give regular user ALL root privileges. If there is any way pleas help me :) Regards, Ahmad (7 Replies)
Discussion started by: ahmad_one
7 Replies

4. Solaris

Root privilege for user

Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies

5. 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

6. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

7. AIX

User Privilege

How to assign superuser privilege to an ordinary user temporarily (1 Reply)
Discussion started by: udtyuvaraj
1 Replies

8. Shell Programming and Scripting

Create user with different privilege

Hi , I want to create 3 different user with below privilege in Solaris and Linux. 1) Read Only 2)Read and Write Only 3) Admin user Can you guys help me on this . (3 Replies)
Discussion started by: Naveen Pathak
3 Replies

9. Emergency UNIX and Linux Support

Privilege ids list

I would like to capture the list of all users that belong to the "system" group. Or in other words all those who have privilege access on the system. Can someone please help me with a shell script/sed/awk code to obtain this please. (3 Replies)
Discussion started by: ggayathri
3 Replies

10. Red Hat

Block any root Privilege

Hey is there any method (base on kernel) to block adding any root Privilege? only "root" account allow on system and no one can add new root Privilege, ? (4 Replies)
Discussion started by: nimafire
4 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_isemptyset(), 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.10 30 Jan 2004 Privilege(3PERL)
All times are GMT -4. The time now is 01:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy