From: Mario Stargard <mstargard@myprivacy.ca>
Subject: Re: FTP to remote host fails at password
Date: Tue, 13 Jul 2004 20:13:17 -0400 [thread overview]
Message-ID: <8-mdnUkgnb0D52ndRVn-gQ@magma.ca> (raw)
In-Reply-To: <fdae0b62.0407120807.5fdc528e@posting.google.com>
Nelson wrote:
> I admit it! I scr-scr-scr-screwed up a couple of months ago. I
> stupidly did an unintended 'chmod -R' to the root directory tree and
> messed up a lot of protections. I admit this because it has bearing
> on an ongoing problem that I hope someone can help me resolve.
>
> NOTE: The root account does NOT have this problem. Every other
> account does.
>
> When a user issues the ftp command to a remote system for example like
>
> % ftp johndoe.anynet.com
>
> they are presented with the username request, as expected. Upon
> answering that query the user SHOULD get a password request. However,
> the ftp program 'blows' through the password request and sends a
> 'null' password to the remote ftp server which correctly responds:
>
> 530 Login or password incorrect!
> Login failed.
>
> It is as though the system pressed a RETURN for the user. A new
> account has this problem. All old accounts, except root, have this
> problem. It is not a problem with the remote ftp server. No other
> system exhibits this problem.
>
> I strongly suspect it is a file protection issue but for the life of
> me I have not been able to figure out where! Using another Tru64
> system as a template I believe I have correctly reset all file
> protections, including the s-bits, in the /bin, /usr/..., /sbin/...,
> /dev/..., and /etc/... trees.
>
> I could use some new ideas. Any help would be appreciated. Thank
> you.
>
> - Nelson ...
It's like you have a .netrc file with the wrong password. Which version
are you running?
I would write a script that harvests file modes from the backup dump or
another system and applies them to the live system. You could coddle
something together with vrestore -vt , awk/sed/perl and chmod. If you
compile the Linux stat command, you can get numeric modes right off the bat.
Or you could just restore the system to before the boo-boo. All you
need is / and /usr and possibly /var. This is probably the best bet.
Unless the system is restored, you'll be getting these little surprises
for awhile, and as time progresses, you are less in a position to
actually do the restore.
Mario
next prev parent reply other threads:[~2004-07-14 0:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-12 16:07 FTP to remote host fails at password Nelson
2004-07-14 0:13 ` Mario Stargard [this message]
2004-07-18 19:54 ` FabriceR
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox