* FTP to remote host fails at password
@ 2004-07-12 16:07 Nelson
2004-07-14 0:13 ` Mario Stargard
2004-07-18 19:54 ` FabriceR
0 siblings, 2 replies; 3+ messages in thread
From: Nelson @ 2004-07-12 16:07 UTC (permalink / raw)
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 ...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: FTP to remote host fails at password
2004-07-12 16:07 FTP to remote host fails at password Nelson
@ 2004-07-14 0:13 ` Mario Stargard
2004-07-18 19:54 ` FabriceR
1 sibling, 0 replies; 3+ messages in thread
From: Mario Stargard @ 2004-07-14 0:13 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: FTP to remote host fails at password
2004-07-12 16:07 FTP to remote host fails at password Nelson
2004-07-14 0:13 ` Mario Stargard
@ 2004-07-18 19:54 ` FabriceR
1 sibling, 0 replies; 3+ messages in thread
From: FabriceR @ 2004-07-18 19:54 UTC (permalink / raw)
Nelson a �crit :
> 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.
Hello,
I think you must begin with fverify and see after ...
Best regard,
FabriceR.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-18 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-12 16:07 FTP to remote host fails at password Nelson
2004-07-14 0:13 ` Mario Stargard
2004-07-18 19:54 ` FabriceR
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox