- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX Command to modify entries in /etc/initab
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 06:31 PM
тАО01-31-2005 06:31 PM
HP-UX Command to modify entries in /etc/initab
I want to know HP-UX command to modify the records in /etc/inittab file
Note : AIX has such command(mkitab,rmitab,chitab and lsitab) to do modification in /etc/initab file
Thanks
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 06:47 PM
тАО01-31-2005 06:47 PM
Re: HP-UX Command to modify entries in /etc/initab
the most commonly used tool for this is "vi" :)
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 06:47 PM
тАО01-31-2005 06:47 PM
Re: HP-UX Command to modify entries in /etc/initab
you can edit the file with vi and force save as root, but what are you trying to do?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 07:18 PM
тАО01-31-2005 07:18 PM
Re: HP-UX Command to modify entries in /etc/initab
There is no commands to modify /etc/inittab file.
you have to do it manually by editing the file.
suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 07:32 PM
тАО01-31-2005 07:32 PM
Re: HP-UX Command to modify entries in /etc/initab
make a backup , vi ....
if you mess up, thats it !!
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 07:35 PM
тАО01-31-2005 07:35 PM
Re: HP-UX Command to modify entries in /etc/initab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 07:50 PM
тАО01-31-2005 07:50 PM
Re: HP-UX Command to modify entries in /etc/initab
Util now, I haven't known command to modify it.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 09:02 PM
тАО01-31-2005 09:02 PM
Re: HP-UX Command to modify entries in /etc/initab
HP-UX does not have any commands to modify /etc/inittab. Use vi to edit the file and force save it. use
init q command to re-examin the file with out changing the runlevel.
to apply reboot the system
Cheers
Shantaram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 09:20 PM
тАО01-31-2005 09:20 PM
Re: HP-UX Command to modify entries in /etc/initab
AIX is UNIX written by a bunch of mainframe system programmers, and as such it always does things different - sometimes better, sometimes worse.
One of the big issues with AIX is that (much like Windows), configuration information is held in several different locations - in traditional UNIX text files (like inittab), and in an object database 'registry' (called ODM in AIX-land). If the two locations don't agree then things get screwy (changes vanish or don't behave as expected).
Now your average UNIX admin expects to just edit the file, and have the change come into effect, either when he reboots, restarts a daemon, or forces a daemon to re-read its config file (often by sending a HUP signal to the process). Try this on AIX and you'll soon find yourself in trouble, as you have only changed the text file, not the ODM. AIX gets round this by giving you LOADS of commands that read/update both the text files and the ODM at the same time (like mkitab,rmitab,chitab and lsitab).
On HP-UX the text config file is the ONLY source of information for almost all config settings - so we don't need a thousand different commands to change configurations, you can just edit the inittab file and then (in the case of init) issue 'init q' to have init re-read its config. If you have a desire to automate this, then standard UNIX text manipulation tools like sed/ed/awk should allow you to add/delete/change lines without too much of a problem.
I'll leave it to you to decide which you prefer!
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 09:33 PM
тАО01-31-2005 09:33 PM
Re: HP-UX Command to modify entries in /etc/initab
in AIX, the /etc/initab or /etc/filesystem cannot directly edit. It is advice to use mkitab, rmitab, chitab or use smitty because those files are directly to ODM.
in HPUX, just use any of your favourite editor such as vi.
Regards
Rashid