Initscripts Slackware

Posted by beritaini

on Thursday, July 7, 2011

Initscripts is a script can be used to set the default umask and ulimit of all processes. By default this script is installed as /sbin/initscript.sample, so if you want to enable it just rename or copy it to /sbin/initscript like this :
#mv /sbin/initscript.sample /sbin/initscript
                                 or
#cp /sbin/initscript.sample /sbin/initscript



My initscripts has been modified :

##########################
umask 002
ulimit -c 2097151
ulimit -HSn 8192
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
#
eval exec "$4"
############end###########