Sponsored Content
Operating Systems Solaris Restarting inetd picks up environment, passed on via telnet Post 302660647 by jlliagre on Friday 22nd of June 2012 06:18:48 PM
Old 06-22-2012
Quote:
Originally Posted by mde
Has anyone else noticed this?
Yes.
Quote:
Is this a bug?
No. It is a Solaris 9 and older documented behavior.
If you kill and restart inetd, be aware that any environment variables in your shell are inherited by a shell for an incoming telnet session. For example, if you have USER=root in your environment, a user who connects to your machine with telnet inherits USER=root.

Quote:
Or should I have restarted the service some other way?
If your goal was for inetd to reread its configuration, the documented way would have been to send SIGHUP to the inetd process, eg:
Code:
pkill -HUP inetd

Note that current Solaris releases (10, 11) no more use the same mechanism to restart this service so do not exhibit this issue.
This User Gave Thanks to jlliagre For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Inetd and security

Ok, So I've been lazy over the past 3 years with the SCO server I maintain, as it just primarily hosts my private networked proprietary software, until now. We have dedicated net access, in which the SCO server is not setup for and not going to be setup to connect to the internet by any direct... (8 Replies)
Discussion started by: ftn96
8 Replies

2. Shell Programming and Scripting

refreshing inetd

Hi I have a question, what is the purpose of this command and what will it do "refresh -s inetd" Thanks in Advance Swaraj (3 Replies)
Discussion started by: kswaraj
3 Replies

3. HP-UX

inetd process

-------------------------------------------------------------------------------- Hi All , I have a client an server among which i want to make the server an inetd process. I have enries in etc/services and etc/inetd.conf The enries looks like below etc/services servername 5551/tcp... (4 Replies)
Discussion started by: binums
4 Replies

4. IP Networking

Error inetd

Hi , I need help, today I restarted the server, when the machine was up, it had been to writte in the file osmlog that : "inetd: talk/udp: bind: Address already in use" This message appears in ten minutes every time. Why ? Thanks. (6 Replies)
Discussion started by: By_Jam
6 Replies

5. Solaris

cannot telnet after restarting server

Dear guys, Pls help me this case. I telnet normally to Solaris. After restarting it manually, I can only console, cannot telnet from my latop although I can ping it. I checked /etc/default/login /usr/sbin/in.telnetd /etc/inet/inetd.conf All these files are the same. I don't see telnet... (2 Replies)
Discussion started by: wipi
2 Replies

6. Solaris

Inetd problem

Hi All, When i am trying to restart the inetd daemon it throughing error. Please find the message and tell me what i need to do ? Apr 7 22:57:37 HYDOHS01 inetd: ISTATE not in environment Apr 7 22:57:41 HYDOHS01 inetd: stop: No such file or directory Apr 7 22:58:01 HYDOHS01 inetd: ... (5 Replies)
Discussion started by: lbreddy
5 Replies

7. Shell Programming and Scripting

loop picks up password for 2 entry...how to avoid that ?

hello all, i am trying to find a better to do what i am doing right now... i have a file called sidlist...which has my database_name and password to the respective database so something like below.. file is called sidlist and entry is below... test, abc123 kes12, abcd12 pss, abcd1234... (5 Replies)
Discussion started by: abdul.irfan2
5 Replies

8. UNIX for Dummies Questions & Answers

From where mv command picks

Hi, I am using mv command for moving file mv /tmp/test /tmp/test_bkp but I am getting change from notrun to 0 failed: Could not find command 'mv' I am using mv command in puppet language, so generally we use like below command => "/usr/bin/awk '/search/ { print $1}' /tmp/test ... (1 Reply)
Discussion started by: stew
1 Replies
rpc.mdcommd(1M) 					  System Administration Commands					   rpc.mdcommd(1M)

NAME
rpc.mdcommd - multi-node disk set services SYNOPSIS
/usr/sbin/rpc.mdcommd DESCRIPTION
rpc.mdcommd is an rpc(4) daemon that functions as a server process. rpc.mdcommd manages communication among hosts participating in a multi- node disk set configuration. rpc.mdcommd is invoked by inetd(1M). EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmfu | +-----------------------------+-----------------------------+ |Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), inetadm(1M), inetd(1M), metaset(1M), svcadm(1M), rpc(3NSL), rpc(4), services(4), attributes(5), smf(5) Solaris Volume Manager Administration Guide NOTES
The rpc.mdcommd service is managed by the service management facility, smf(5), under the service identifier: svc:/network/rpc/mdcomm Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil- ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config- uration information for this service. The service's status can be queried using the svcs(1) command. SunOS 5.10 29 Oct 2004 rpc.mdcommd(1M)
All times are GMT -4. The time now is 07:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy