Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Linux Operating System > Technical
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-13-2005, 06:12 PM   #1 (permalink)
sarg
Junior Member
 
Join Date: Jul 2005
Posts: 14
Default Where are the setup and configuration files?

Hello -

I am exploring redhat9. Where are the setup and configuration files usually found (System-wide settings) ? Are they all located in one directory?
sarg is offline   Reply With Quote
Sponsored Links
Old 10-14-2005, 06:56 AM   #2 (permalink)
augustine
Senior Member
 
Join Date: Sep 2005
Posts: 128
Default

Which configs are you looking for?
Most can be found in the /etc directory.
augustine is offline   Reply With Quote
Old 10-14-2005, 06:19 PM   #3 (permalink)
sandman
Junior Member
 
Join Date: Jul 2005
Posts: 36
Default

As ~ augustine mentioned they are stored in the /etc directory. User-specific settings are stored in the user home directory /home/user_login_name.
Here is a listing of some system-wide configuration files that I use most often:
SHELL DEFAULTS
/etc/bashrc - system-wide default functions and aliases for the bash shell
/etc/profile - system-wide defaults for bash shell, including system-wide environment variables.
ADMINISTRATIVE SETTINGS
/etc/passwd - contains passwords and other information concerning users who are registered to use the system. It can be modified by root directly, but it is preferable to use a configuration utility such as passwd to make the
changes. A corrupt /etc/passwd file can easily render a Linux box unusable.
/etc/shadow - contains "shadow" information for the passwd file, i.e., the information pieces which "the world" does not have permission to read.
/etc/group - similar to /etc/passwd but for groups.
/etc/crontab - setup for "cron", which runs commands periodically (hourly, daily, weekly, monthly, etc.).
/etc/inittab - runs different programs and processes on startup.
/etc/issue - message that accompanies login prompt. This is often overwitten by the rc.local script.
/etc/issue.net - same as above, but used when login is attempted over the network.
/etc/motd - "message of the day" file, displayed after a user logs in.
/etc/rc.d/rc.local - the last script to execute on the system bootup. I put the commands which customize my local machine at the end of this file. It works like DOS "autoexec.bat".
NETWORK CONFIGURATION
/etc/hosts - contains a list of host names and absolute IP addresses.
/etc/hosts.allow - hosts allowed to access Internet services
/etc/hosts.deny - hosts forbidden to access Internet services
/etc/resolv.conf - setups for a list of domain name servers used by the local machine
/etc/inetd.conf - configures the inetd daemon to tell it what TCP/IP services your machine should run.
/etc/exports - specifies hosts to which file systems can be exported using NFS (network file system). man exports contains information on how to set up this file for remote users.
HARDWARE CONFIGURATION
/etc/conf.modules - setup for the linux kernel modules. Modules are like "device drivers" under MS Windows or DOS.
/etc/fstab - contains information on partitions and filesystems used by system to mount different partitions and devices on the directory tree.
/etc/mtab - shows currently mounted devices and partitions and their status.
/etc/lilo.conf - configuration file for lilo boot loader.
/boot/grub/grub.conf - configuration file for grub boot loader.
/etc/printcap - setup for printers.
/etc/termcap - ASCII database defining the capabilities and characteristics of different consoles, terminals, and printers. You typically don't want to change these.
/etc/X11/XF86Config - X configuration file. For XFree version 4.xx, the file is /etc/X11/XF86Config-4 (if it does not exist, then XF86Config is tried).
sandman is offline   Reply With Quote
Old 10-15-2005, 11:12 AM   #4 (permalink)
cristobal
Senior Member
 
Join Date: Sep 2005
Posts: 219
Default

Woohoo... Thats about the most detail config list I have seen!!
Good job sandman! There couldn't be a miss in that.
cristobal is offline   Reply With Quote
Old 11-20-2005, 06:33 PM   #5 (permalink)
que
Member
 
Join Date: Aug 2005
Posts: 31
Default

niCE reply POsT ~ sandman thanks - I have been tinkering with redhat lately and this definitly helps so i bookmarked this thread.
que is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 01:34 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums