Let me what will happen if i remove the following file from Linux server
Let me what will happen if i remove the following file from Linux server.
1. /etc/hosts.equiv .rhosts files .netrc files 2. Shell /etc/inetd.conf /etc/inetd.conf.orig |
Nothing until you reboot. I assume this is a school question?
|
it depend on your distribution
my distribution don't have /etc/hosts.equiv and /etc/inetd.conf.orig, so it perfectly save to remove. and /etc/inetd.conf is an empty file. but since it was located in /etc directory, I "don't" suggest you to remove it. note: if file with ".orig" or ".bak" exist, it usually a backup file. |
Quote:
.rhosts is a config file for rsh logins, no drama if it goes missing, again you can re-create it. /etc/inetd.conf is part of the BSD inetd package and will certainly be missed by the inetd daemon! I can post a default file for /etc/inetd.conf if you need a template. /etc/inet.conf.orig is just the 'original' inetd.conf file on your system. |
hosts.equiv and .rhosts are part of the r commands. If you don't use them, and they are generally considered to be unsecure now, you don't need the files. The .netrc file contains login and initialization information used by the auto-login process for ftp.
inetd.conf is the config file for inetd (the old super server). http://linux.about.com/od/lna_guide/a/gdelna98.htm All the distributions that I use have xinetd installed as default. If you're actually using inetd then deleting the conf file will delete all your services supplied by it. The .orig file is the original config file, renamed from some time in the past. diff is a useful utility if you want to see the differences between files: diff -u /etc/inetd.conf /etc/inetd.conf.orig |
All times are GMT -5. The time now is 05:15 PM. |