Sponsored Content
Top Forums UNIX for Dummies Questions & Answers what does the x privilege mean? Post 302347528 by kang on Wednesday 26th of August 2009 12:26:29 AM
Old 08-26-2009
Question what does the x privilege mean?

what does x(in rwx) privilege mean?
just text files or shell script files?
that's so confusing.
 

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

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

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

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

6. AIX

User Privilege

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

7. Red Hat

Save sudo privilege for session

I have setup public key based login to my CentOS VPS. I wish to disable direct root login and have created an admin user under wheel group and have modified /etc/sudoers file and gave Wheel group all privileges. But now I am being prompted for password whenever I type sudo. I do not wish to... (4 Replies)
Discussion started by: JoyceBabu
4 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
privileges(3)						     Library Functions Manual						     privileges(3)

NAME
privileges: priv_addset(), priv_delset(), priv_ismember(), priv_isobserved(), privset_add(), privset_alloc(), privset_copy(), privset_del(), privset_empty(), privset_fill(), privset_free(), privset_intersect(), privset_inverse(), privset_isempty(), privset_ise- qual(), privset_isfull(), privset_ismember(), privset_issubset(), privset_subtract(), privset_union() - privilege manipulation operations for checking and debugging purposes SYNOPSIS
Parameters dstp to type; points to the destination privilege set. num type; specifies a privilege by number. privid type; contains the ID of the privilege to be acted upon. privname type; string that contains the name of the privilege to be acted upon. privp Pointer to type; points to the privilege set to be acted upon. srcp to type; points to the source privilege set. DESCRIPTION
Adds the privilege privname to the privilege set referred to by privp. Removes the privilege privname from the privilege set referred to by privp. Check whether the named privilege privname is a member of the privilege set privp. Checks whether the calling process observes the named privilege privname See privileges.5 for more information on when a process observes a privilege. Adds the privilege privid to the privilege set referred to by dstp. Allocates memory for a privilege set of type but does not initialize the space. The space allocated by this routine should be released using the routine. Copies the privilege set referred to by srcp to the privilege set referred to by dstp. Removes the privilege specified by num from the privilege set referred to by privp. Clears all privileges from privp. Assigns all privileges, including those not currently define on the system, to the privilege set privp. Deallocates the space used by the privilege set referred to by privp. If privp is NULL, no action occurs. Finds the privileges that the privilege sets srcp and dstp have in common and places the results in the privilege set dstp. Inverts the privilege set pointed to by privp. Checks whether the privilege set privp is the empty set. Checks whether the privilege sets srcp and dstp are equal sets. Check whether the privilege set privp is the full set of privileges. A full set of privileges is a set with all bits set, regardless of whether the privi- lege is currently defined on the system. Check whether the privilege privid is a member of the privilege set privp. Checks whether the privilege set srcp is a subset of the privilege set dstp. Subtracts the privilege set referred to by srcp from the privilege set referred to by dstp. Checks the privileges in the privilege sets srcp and dstp and puts any privilege that is in either set into dstp. RETURN VALUE
and return the following values: Successful completion. Function failed. is set to indicate the error. and return the following values: Non-zero number. Condition is TRUE. Condition is FALSE. is set to indicate the error. returns the following values: pointer Successful completions. Returns a non-null pointer to the allocated space. NULL pointer Function failed. Returns a null pointer and sets to indicate the error . ERRORS
If any of the following conditions occur, the functions fail and set Insufficient memory available to allocate space to hold a privilege set. The application can try again later. Invalid argument. SEE ALSO
priv_getbyname(3), priv_getbynum(3), priv_set_to_str(3), priv_str_to_set(3), privileges(5). privileges(3)
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy