1748049 Members
4901 Online
108757 Solutions
New Discussion юеВ

Remove entry in inittab

 
SOLVED
Go to solution
ITT_ITZ
Occasional Advisor

Remove entry in inittab

Hi guys,
i need to delete an entry in inittab.
What is the precedure?
Can i edit and delete a entry by vi?
6 REPLIES 6
Jorge Pons
Trusted Contributor

Re: Remove entry in inittab

Hi

What can you delete?

Regards
Rita C Workman
Honored Contributor
Solution

Re: Remove entry in inittab

Yes you can edit the inittab.

Might also want to run 'init q' to have it re-read the inittab file.

Regards,
Rita
Horia Chirculescu
Honored Contributor

Re: Remove entry in inittab

Of course, why not?

You can comment out the offending line by adding a # in front of it.


Afther that you should run

"init q"

in order to re-read inittab file.

Best regards
Horia.
Best regards from Romania,
Horia.
Jose Mosquera
Honored Contributor

Re: Remove entry in inittab

Hi,

First create a copy of your current /etc/inittab file!

Have you seen the entry you want to delete?
#strings /etc/inittab

vgscan allows recreation of the /etc/lvmtab and possibly the associated Logical Volume Group device files. Check online manual pages for vgscan command.
#man vgscan

Becareful, use vgscan -p -v to obtain a Preview the actions taken but do not update file.

Rgds.

Jose Mosquera
Honored Contributor

Re: Remove entry in inittab

Hi,

Forget my previous post, a mixup between /etc/inittab and /etc/lvmtab files!

Rgds.
James R. Ferguson
Acclaimed Contributor

Re: Remove entry in inittab

Hi:

You sound as if your experience has been with AIX :-) HP-UX follows the Unix tradition of human-readable, editable configuration files without the encumbrances of special commands to edit them.

Regards!

...JRF...