Changing default configuration of programs with /etc/default
In modern Linux distributions, there is a special directory named /etc/default which holds the default configuration informations on some services, programs etc.
For example on a Debian based system, you can set
TMPTIME=7
FSCKFIX=yesin /etc/default/rcS so that your system holds files in /tmp directory not older than 7 days and makes automatic fsck fix when a problem exists on disk. Or you can set
GROUP=500in /etc/default/useradd so that your newly created users have 500 group id in default. There are more, just look at contents of /etc/default
Tags:
linux defaults
- 0 Comment
- Murat Demirten
- 14 Apr 2008, 21:45
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Redirecting tcp / udp ports with socat
- dropbear rsa key problem
- XFS Filesystem has duplicate UUID problem
- Remove all frozen messages from exim mail queue
- Rewriting destination ip address
- Users with /bin/false shell to login on vsftpd
- Recovering mysql root password
- How to record a linux session
- Lowercase Table Names in MySQL
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
