1752753 Members
4718 Online
108789 Solutions
New Discussion

Re: 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 1
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