Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

getprivgrp

SOLVED
Go to solution
Sajjad Sahir
Honored Contributor

getprivgrp

/etc/privgroup

contains

dba MLOCK RTPRIO RTSCHED

I used getprivgrp command as a root user

but it showing only

dba:

file permission is rw-rw-rw

but in other servers

is showing completely(see below)

file permission is same as aboe
rw-rw-rw

hp_data1#getprivgrp dba
dba: RTPRIO MLOCK RTSCHED
1 REPLY
Matti_Kurkela
Honored Contributor
Solution

Re: getprivgrp

Don't let the /etc/privgroup file be world-writable: rw-r--r-- is enough, and world-writable is bad for security. Someone might gain unauthorized privileges by editing that file and then forcing the machine to crash.

Any changes to the /etc/privgroup file won't take effect automatically: you must use the "setprivgrp -f /etc/privgroup" command to make the changes effective, or reboot.

MK
MK