GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inetd.conf user environment
Operating System - HP-UX
1848590
Members
3603
Online
104033
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-31-2002 09:54 AM
10-31-2002 09:54 AM
What happend when inetd start a service (user proc) under a user name?
ex: "mate stream tcp nowait user1 /usr/local/bin/mate 3"
Is the /etc/passwd file read, does the HOMEDIR is set, is the ~/.profile read and passed to the proc by inetd?
Thanks
Pierre B. Samson
CAMBAR
psamson@cambarsoft.com
ex: "mate stream tcp nowait user1 /usr/local/bin/mate 3"
Is the /etc/passwd file read, does the HOMEDIR is set, is the ~/.profile read and passed to the proc by inetd?
Thanks
Pierre B. Samson
CAMBAR
psamson@cambarsoft.com
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 10:10 AM
10-31-2002 10:10 AM
Solution
In your case, /usr/local/bin/mate does no more and no less than what it is instructed to do. In essence, the uid is set to that of user1 and the program is exec'ed with stdin and stdout connected to the socket. After that, whatever is done is the sole responsibilty of the programmer including setting up the environment.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP