Changeset 2184


Ignore:
Timestamp:
19/02/07 14:44:24 (12 years ago)
Author:
pjkersha
Message:

python/share/ndg-sm, python/share/ndg-aa, python/share/ndg-log, python/share/ndg-gk and
python/share/ndg-ca: added group id option for user account to run under twistd.

Location:
TI12-security/trunk/python/share
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/share/ndg-aa

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
    2525 
    2626# Set path to Twisted 'tac' file 
     
    4949# process listing 
    5050prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     51args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     52--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5353cmd="${prog} ${args}" 
    5454 
  • TI12-security/trunk/python/share/ndg-ca

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
    2525 
    2626# Set path to Twisted 'tac' file 
     
    4949# process listing 
    5050prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     51args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     52--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5353cmd="${prog} ${args}" 
    5454 
  • TI12-security/trunk/python/share/ndg-gk

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
    2525 
    2626# Set path to Twisted 'tac' file 
     
    4949# process listing 
    5050prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     51args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     52--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5353cmd="${prog} ${args}" 
    5454 
  • TI12-security/trunk/python/share/ndg-log

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
     25gid="globus" 
    2526 
    2627# Set path to Twisted 'tac' file 
     
    4950# process listing 
    5051prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     52args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     53--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5354cmd="${prog} ${args}" 
    5455 
  • TI12-security/trunk/python/share/ndg-sm

    r2182 r2184  
    2020. /etc/rc.d/init.d/functions 
    2121 
    22 # Edit "user", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
     22# Edit "uid", "prefixDir", "srvSubDir" and "tacFilePath" variables as  
    2323# required 
    24 user="globus" 
     24uid="globus" 
     25gid="globus" 
    2526 
    2627# Set path to Twisted 'tac' file 
     
    4950# process listing 
    5051prog=/usr/local/NDG/bin/twistd 
    51 args="-u ${user} --syslog --prefix=${serviceName} --pidfile=${pidFilePath} \ 
    52 -oy ${tacFilePath}" 
     52args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
     53--pidfile=${pidFilePath} -oy ${tacFilePath}" 
    5354cmd="${prog} ${args}" 
    5455 
Note: See TracChangeset for help on using the changeset viewer.