Remote login fun & games
From: Michael Hopkins (michael.hopkins_at_hopkins-research.com)
Date: 08/17/05
- Previous message: B..._at_gmail.com: "Re: is real time change of bios setting possible ?"
- Next in thread: B..._at_gmail.com: "Re: Remote login fun & games"
- Reply: B..._at_gmail.com: "Re: Remote login fun & games"
- Reply: Rob MacGregor: "Re: Remote login fun & games"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 17 Aug 2005 16:55:34 +0100
Hi all
After a few months of pain-free ssh remote login and NFS access between Mac
OS X desktop and a FreeBSD server (FreeBSD Athlon 5.4-RELEASE-p6), things
got a bit fraught recently when I:
(1) installed Tiger on the OS X machine
(2) tried to make a backup mirror of the FreeBSD boot disk
Somewhere along the way, ssh stopped letting 'mwh' in as a user even though
'root' was still accepted, I found a lot of my /etc/ files on the server had
got set back to defaults and my automated backups had not been saving /etc/
<- one BIG lesson learned for the future. I now have the hosts, hosts.allow
& exports files back where they were and NFS is working again.
Anyway.. I have been using ssh for remote login and running X apps remotely.
This was working well but as the network is a trusted local one I thought it
would be faster to use an unencrypted connection because I am doing some
heavy graphics work on 100Mb network. I thought about rlogin & telnet.
I have enabled these in inetd.conf
telnet stream tcp nowait root /usr/libexec/telnetd telnetd
shell stream tcp nowait root /usr/libexec/rshd rshd
login stream tcp nowait root /usr/libexec/rlogind rlogind
...and inetd is running.
Now if I rlogin under my user account 'mwh' it lets me in then IMMEDIATELY
closes the connection after welcoming me etc:
mwh@laptop ~ % rlogin mwh@Athlon
Password:
Last login: Wed Aug 17 16:42:14 from Laptop
[snip MOTD]
rlogin: connection closed.
mwh@laptop ~ %
...and if I do the same for root..
mwh@laptop ~ % rlogin root@Athlon
Password:
Login incorrect
login:
..it doesn't recognise the root password.
Telnet just hangs with both mwh & root...
mwh@laptop ~ % telnet -l mwh Athlon
^C
mwh@laptop ~ % telnet -l root Athlon
^C
Any thoughts on why this should be happening? Where should I look to stop
this behaviour? I don't know where to begin because as far as I know (I'm
not an expert on Unix) everything is set up OK.
Many thanks
Michael
P.S. Please CC replies this address
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/_/_/ Hopkins Research Ltd
_/ _/ _/ _/
_/_/_/_/ _/_/_/ http://www.hopkins-research.com/
_/ _/ _/ _/
_/ _/ _/ _/ 'touch the future'
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
- Previous message: B..._at_gmail.com: "Re: is real time change of bios setting possible ?"
- Next in thread: B..._at_gmail.com: "Re: Remote login fun & games"
- Reply: B..._at_gmail.com: "Re: Remote login fun & games"
- Reply: Rob MacGregor: "Re: Remote login fun & games"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|