Re: what does ssh use instead of /bin/login?

From: sekn (sekn@dev.null)
Date: 06/28/02


From: sekn <sekn@dev.null>
Date: Thu, 27 Jun 2002 22:40:11 GMT

For interactive logins the behavior will be more like you expect.
see: man 5 sshd_config

On 25 Jun 2002 16:21:44 -0700, Igor B <igor_bumshteyn@yahoo.com> told me:
> i understand the login mechanism on a unix machine. what i'm trying to
> establish is how ssh logs in the user as opposed to telnet
> as far as i know, when you telnet, tty execs into /bin/login and after
> successful authorization it execs into shell and shell runs all init
> files. the reason i'm posting this is because of the problem i'm
> having w/ ssh3.1.0 on sco5.0.5 box.
> when i login via regular telnet everything is ok. however when i login
> via ssh not all env variables get initialized. what's wierd is that it
> happens 3 out 5 times. i traced it step by step and it turns out that
> the last line in /etc/profile, which sets some env variables, is not
> being executed.
> any thoughts on that?
> thanks

-- 
                                         
  . .;i  seken  i;. .
   '`             `'



Relevant Pages

  • Re: Why doesnt /etc/profile get read?
    ... > using telnet and not when I use XWindows. ... If you are starting xterm use the "-ls" option, it will start it as a login ... shell which will read /etc/profile and $HOME/.profile. ... -ls Indicates that the shell that is started in the xterm window is a login ...
    (comp.unix.aix)
  • Expect, telnet, frozen console.
    ... telnet into remote host, provide username/password, surrender control to ... This script will eventually be tied into /etc/inittab so that it ... app called 'loe' which presents a login screen in 80x24 ASCII a la ...
    (comp.lang.tcl)
  • Re: what does ssh use instead of /bin/login?
    ... i understand the login mechanism on a unix machine. ... establish is how ssh logs in the user as opposed to telnet ... as far as i know, when you telnet, tty execs into /bin/login and after ... via ssh not all env variables get initialized. ...
    (comp.security.ssh)
  • Re: what does ssh use instead of /bin/login?
    ... i understand the login mechanism on a unix machine. ... establish is how ssh logs in the user as opposed to telnet ... as far as i know, when you telnet, tty execs into /bin/login and after ... via ssh not all env variables get initialized. ...
    (comp.security.ssh)
  • Re: Automated login, but run in a telnet console? possible?
    ... it took way too much resources for my embedded system. ... But I thought by simply automate login and select some console (telnet ... >> I have developed an embedded Linux system (app) which does its job well. ...
    (comp.os.linux.embedded)