[TAG] lpr works for user not root in Basiclinux 2.1

Sindi Keesan keesan at grex.cyberspace.org
Thu Mar 1 02:39:34 MSK 2007


To dial I needed to chmod +s eznet, which lets eznet use pppd, which is 
not on the path for user and does not need to be suid or executable by 
user.  So I am dialed as user on all three computers now.



rxvt works for user in Basiclinux 3.40, where it is compiled not to need 
libXPM or lib-ldlinux just libX11 and libc.so.5

In BL2.1 (libc6) it cannot open pseudo-tty. rxvt -h lists XPM and utmp. 
I read something about pseudoterminals and registering users in 
/var/log/utmp (which of course we do not have).  Perhaps if compiled 
without the utmp stuff it would work without a utmp file in BL2.1.

I have switched to xterm, which needs a long list of libraries but not 
XPM.



My remaining problem is that ssh is working on one computer (with a 
standard hardware modem) but not on the two with internal lucent modems 
(where pppd for some reason is accessing ttyS1 and also ttyLT0).

Host key verification failed if I ssh without the login.

ssh keesan at xxxx 
Permission denied (publickey,password,keyboard-interactive).


Same permissions on ssh and on the .ssh files in both computers.

Same problem whether or not I copy over known_hosts from /root/.ssh .

ssh -v keesan at xxxx  generates a long message ending in
debug1:  expecting SSH2_MSG_KEX_DH_GEX_INIT_REPLY
Host key verification failed.

First it received one expected string but not another one.

ssh -v keesan at xxx > ssh.log saves a zero-length file.

I am happy dialing as user and ssh'ing as root, and my friends are 
unlikely to ssh at all, but I would like to understand what is going on 
with ssh.  This continues to be educational.

Someone did once send out a generic mail to previous question-askers 
asking for more questions.  This might be more than you asked for.

Sindi Keesan




More information about the TAG mailing list