LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-05-2010, 04:06 AM   #1
puja1387
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Unhappy 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
 
Old 04-05-2010, 04:17 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Nothing until you reboot. I assume this is a school question?
 
Old 04-05-2010, 04:22 AM   #3
ganiutomo
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 2
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.

Last edited by ganiutomo; 04-05-2010 at 04:24 AM. Reason: forgot something
 
Old 04-05-2010, 04:23 AM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally Posted by puja1387 View Post
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
You won't find much changes if you remove these files, /etc/hosts.equiv for example is part of the configuration for NFS mounting, if it doesn't exist then it will be ignored. You can recreate it at any time.

.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.
 
Old 04-05-2010, 04:34 AM   #5
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Politics in Linux? When did this happen? drkstr General 76 08-29-2006 04:36 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
How does file downloading happen in HTTP and FTP seidren General 4 11-09-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration