Unix Technical Forum

/etc/services file

This is a discussion on /etc/services file within the AIX Operating System forums, part of the Unix Operating Systems category; --> I would like to know that is there any way that a deleted /etc/services file could be rebuilt, if ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:29 AM
rs
 
Posts: n/a
Default /etc/services file

I would like to know that is there any way that a deleted /etc/services
file could be rebuilt, if its backup is not available?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:29 AM
Hajo Ehlers
 
Posts: n/a
Default Re: /etc/services file

You might use:
/usr/lpp/bos.net/inst_root/etc/services

but keep in mind that all changes done by any other package to your
/etc/services will not be recovered.


Some usefull commands:

$ which_fileset /etc/services
$ lslpp -w /etc/services
$ restore -Tvqf bos.net.5.x.y.z | grep services

hth
Hajo

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:31 AM
patux
 
Posts: n/a
Default Re: /etc/services file

rs wrote:
> I would like to know that is there any way that a deleted /etc/services
> file could be rebuilt, if its backup is not available?
>


AFAIK, that flat file must be generic in any aix system.
dis you get it from another system?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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
Forum Jump


All times are GMT. The time now is 07:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com