Restarting inetd picks up environment, passed on via telnet

view full story

http://www.unix.com – Curious problem I just encountered: needing to restart inetd, I su'd to root and executed the usual commands Code: # /etc/init.d/inetsvc stop # /etc/init.d/inetsvc start Shortly after this, users started reporting unexpected behaviour after logging in with telnet, and it turned out they all had environment variables set to values that only I would use. It appears (at least, this is the only explanation I have been able to come up with) that inetd inherited my environment (carried over via su) when I executed the 'inetsvc start' script, and telnet, and thence the login shell, then al (HowTos)