Hi List !
I want to use lsh 1.4.2 on a distribution which I build myself.
I have a problem login in as non root. Connecting to sftp-server or lshd as
root works fine.Apr 18 14:43:55 192 lshd[370]: lshd: do_exec_shell: fixing up
name of shell...
I send you a part of the log:
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: argv0 = '-sh'.
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: After -u
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: After -g
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: After -i
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: Argument list:
Apr 18 14:43:55 192 lshd[370]: lshd: 'lsh-execuv'
Apr 18 14:43:55 192 lshd[370]: lshd: '-u'
Apr 18 14:43:55 192 lshd[370]: lshd: '502'
Apr 18 14:43:55 192 lshd[370]: lshd: '-g'
Apr 18 14:43:55 192 lshd[370]: lshd: '100'
Apr 18 14:43:55 192 lshd[370]: lshd: '-n'
Apr 18 14:43:55 192 lshd[370]: lshd: 'ftpuser'
Apr 18 14:43:55 192 lshd[370]: lshd: '-i'
Apr 18 14:43:55 192 lshd[370]: lshd: '--'
Apr 18 14:43:55 192 lshd[370]: lshd: '/bin/sh'
Apr 18 14:43:55 192 lshd[370]: lshd: '-sh'
Apr 18 14:43:55 192 lshd[370]: lshd: exec_shell: before exec
i think the problem is here:
Apr 18 14:43:55 192 lshd[370]: lshd: unix_user: exec failed (errno = 2): No
such file or directory
Apr 18 14:43:55 192 lshd[369]: lshd: lsh_oop_signal_callback: Signal 17,
handler: reaper_callback
Apr 18 14:43:55 192 lshd[369]: lshd: Child 370 died with exit code 1.
Apr 18 14:43:55 192 lshd[369]: lshd: unix_process: do_logout_notice
Apr 18 14:43:55 192 lshd[369]: lshd: unix_process.c: do_utmp_cleanup
(HAVE_UTMPX_H)
Apr 18 14:43:55 192 lshd[369]: lshd: server_session.c: do_exit_shell
Apr 18 14:43:55 192 lshd[369]: lshd: server_session.c: Sending exit-status
message on channel 0
Apr 18 14:43:55 192 lshd[369]: lshd: DEBUG: Sent CHANNEL_REQUEST lshd: (size
25 = 0x19)
Apr 18 14:43:55 192 lshd[369]: 00000000: 62000000000000000b657869742d7374
b........exit-st 00000010: 617475730000000001 atus.....
Apr 18 14:43:55 192 lshd[369]: lshd: write_buffer: do_write length = 56
Which file wants lshd to open there, maybe I have set the wrong permission to
this special file.
Thanx for help, regards
--
mfg
Manfred Gruber
==========================================