- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Several questions about Unix fundermental
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
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
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
06-02-2008 05:08 AM
06-02-2008 05:08 AM
1. Which of the following entries are valid in .rhosts or /etc/hosts.equiv?
A. -
B.
C.
D. ?
E. *
2. Is the following statement true?
init never restart failed process
3. "stty" command read termcap database and get the keyboard setting. Is that true?
Can you help me and explain it ?
Tks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:11 AM
06-02-2008 05:11 AM
Re: Several questions about Unix fundermental
1) man host.equiv
2) man init
3) man stty
If you have questions after reading the man pages, please come back then and ask about what you do not understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:23 AM
06-02-2008 05:23 AM
Re: Several questions about Unix fundermental
1. I think none of the entries is valid
2. I don't find any information from the manual page about whether it will restart the failed process. If you know, could you quote it here
3. The same problem. I can't find any information about this question from the manual
I'll very appreciate if you can help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:31 AM
06-02-2008 05:31 AM
Re: Several questions about Unix fundermental
.rhosts entry will be like this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:45 AM
06-02-2008 05:45 AM
Re: Several questions about Unix fundermental
So you think all of the entries are invalid?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:50 AM
06-02-2008 05:50 AM
Re: Several questions about Unix fundermental
2. man inittab (not man init). Note tha the respawn must be set for the process. It depends what you mean by a failed process. If the process is running and has not exited completely, init will not restart it regardles of what the state of the process is.
3. man stty and read the comments at the top of the /etc/termcap file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:55 AM
06-02-2008 05:55 AM
Re: Several questions about Unix fundermental
It's right there on the man page and in the examples. The only special chars are "-", "+" and "@".
http://docs.hp.com/en/B2355-60130/hosts.equiv.4.html
>2. ... whether it will restart the failed process.
Look for "respawn". Also look at inittab(4):
http://docs.hp.com/en/B2355-60130/inittab.4.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:58 AM
06-02-2008 05:58 AM
Re: Several questions about Unix fundermental
1.A. -
The "-" is preceeding the hostname. I 'll grant you that it is not very visible and easily missed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 06:22 AM
06-02-2008 06:22 AM
Solution1) I guess that only the first one is valid (A. -
2) false. If a process has the field "action" initialized with the value "respawn" in /etc/inittab, init will try to restart it when it ends. see "man inittab"
3) Not exact. Historically, "stty" was a tool to control rs232 settings and some input and outputs formattings. For exemple, you can specify baud rate, map input CR as CRLF, disable echo of characters, etc ... But with stty you can't send special sequences to the screen, for example to have bold characters at screen, nor map any keyboard key to whatever you want. And of course, "man stty" :-)
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 04:10 AM
06-03-2008 04:10 AM