1752541 Members
5168 Online
108788 Solutions
New Discussion юеВ

privgroup

 
SOLVED
Go to solution
Pedro Sousa
Honored Contributor

privgroup

Anyone knows what's the syntax for the file /etc/privgroup that is called by /sbin/init.d/set_prvgrp?
I need to add the group dba with the MLOCK privilege, after setting it with setprivgrp, for it to work after future reboots.
thanks.
4 REPLIES 4
Vincenzo Restuccia
Honored Contributor
Solution

Re: privgroup

0. Log in as root.
1. Create a file /etc/privgroup
2. Make the following entry in this file
sybase MLOCK
3. Run the following command
# setprivgrp -f /etc/privgroup
4. Log out as root

/sbin/init.d/set_prvgrp executes the command in step 3 above on system
startup.


James R. Ferguson
Acclaimed Contributor

Re: privgroup

Hi Pedro:

See: 'man 1m setprivgr'.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: privgroup

Hi again:

...lost a character!...

See: 'man 1m setprivgrp'

...JRF...
Pedro Sousa
Honored Contributor

Re: privgroup

thanks vicenzo and james.
Completely correct.