Re: telnet logins

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 01/12/05


Date: Wed, 12 Jan 2005 01:43:22 -0500

In article <1105464688.326502.161380@c13g2000cwb.googlegroups.com>,
 "Randy" <yates@ieee.org> wrote:

> > Randy <y...@ieee.org> wrote:
> > > Is it conventional to exclude the x-client directory (on my system
> its
> > > /usr/openwin/bin) from the path when logging in over a telnet
> session?
> >
> > *exclude*, no. However it's pretty common to not have it in the
> default
> > path, but add it when logging in via a graphical interface, or when
> > starting X windows.
>
> Semantics. Are we "excluding" or "choosing not to add"?

There's usually a separate initialization file for X logins, e.g.
.xinitrc, as well as various system scripts that are run by XDM or
startx. These X-specific scripts typically add the directories
containing GUI applications.

When you do a text login, you never execute these scripts, so none of
the X stuff is added to your path. It's not just telnet logins that are
affected by this. If you use the option to get a plain console login,
you also won't have these scripts executed.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: How to allow some basic programs to start automatically
    ... The Natural Philosopher wrote: ... its own set of scripts, though it seems that sometimes they share. ... For console and other non-graphical logins, ... Well you could recompile everything to use a common couple of scripts... ...
    (comp.os.linux.misc)
  • Re: telnet logins
    ... > There's usually a separate initialization file for X logins, ... These X-specific scripts typically add the directories ... there is an improper mixing of X-display server setup and X-client ...
    (comp.unix.solaris)
  • Re: Add my own start scripts to /etc/init.d/rc3.d?
    ... |(to fix my mail permissions between logins, ... Remember the scripts get run at initialisation, not logins. ... /etc/permissions.local which gets run when SuSEconfig gets run. ...
    (alt.os.linux.suse)
  • Re: Can I limit the number of logins per user?
    ... That only limits the number of logins per system and not per user. ... there are plenty of scripts that can do this .. ...
    (comp.unix.aix)
  • Re: Logging
    ... There are several of us developing scripts and trying to get ... > a consistent logging method for the group. ... Dim strNOW ... Set objOTF = objFSO.OpenTextFile ...
    (microsoft.public.scripting.vbscript)