[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: shanky, Piyu, Resh  
Forum » Open System-Linux » Linux System questionare » What is /etc/ folder?
What is /etc/ folder?
PiyuDate: Friday, 2014-04-04, 10:40 PM | Message # 1
Private
Group: Users
Messages: 10
Awards: 0
Reputation: 21
Status: Offline
What is /etc/ folder?
 
what is the significance of /etc/passwd, or any other directory present inside /etc/ directory? wacko
 
shankyDate: Monday, 2014-04-07, 12:16 PM | Message # 2
Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
Piyu..
All the files and folders inside /etc  are configuration files of the system. They are the necessary file of a Linux system. It conatins mainy system files such as /etc/passwd , /etc/shadow, /etc/group, ethers, rc.d etc.
 
/etc/passwd: This files contains the user information like username, password, userid, group id, default shell etc. A user just has a read access to this file.
 
/etc/shadow: This file contains the encrypted password of the user. Only the administartor have read write acess to this file.
When ever there is a need of change in passwod of user or user forgets his/her password, the password can be reset in shadow fille for that user by the admin.
 
/etc/group:This file contains the group name group id to which the users belog to.
 
/etc/hosts: This file describes a number of hostname-to-address mappings for the TCP/IP subsystem.  It is mostly used at boot time, when no name servers are running. On small systems, this file can be used instead of a "named" name server.

/etc/rc.d: This folder contains the run levels of the system. Inside this directory we can see the 6 run levels rc1.d to rc6.d
 
/etc/ethers:   This file contains 48 bit Ethernet addresses and their corresponding IP number or hostname. The two items are separated by any number of SPACE and/or TAB char acters. A at the beginning of a line starts a comment which extends to the end of the line. The Ethernet-address is written as x:x:x:x:x:x, where x is a hexadecimal number between 0 and ff which represents one byte of the address, which is in network byte order (bigendian). The IP-number may be a hostname which can be resolved by DNS or a dot separated number.

I hope this will help. For more information on Linux basics and commands, see this


s.k.bhagat
 
PiyuDate: Monday, 2014-04-07, 2:11 PM | Message # 3
Private
Group: Users
Messages: 10
Awards: 0
Reputation: 21
Status: Offline
Thats great Shanky!!!!. Your information are very simple, easy to understand and self-explainatory. Thanks a lot.:D
 
shankyDate: Monday, 2014-04-07, 2:15 PM | Message # 4
Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
You are welcome. I have attached one document on Linux basics . Hope this will be useful
Attachments: Linux_Commands.docx(56.4 Kb)


s.k.bhagat
 
Forum » Open System-Linux » Linux System questionare » What is /etc/ folder?
  • Page 1 of 1
  • 1
Search: