From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,cc027ea1d8ab3196 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.magma.ca!news.magma.ca.POSTED!not-for-mail NNTP-Posting-Date: Tue, 13 Jul 2004 19:13:17 -0500 Date: Tue, 13 Jul 2004 20:13:17 -0400 From: Mario Stargard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja, de MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: FTP to remote host fails at password References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8-mdnUkgnb0D52ndRVn-gQ@magma.ca> NNTP-Posting-Host: 209.217.122.220 X-Trace: sv3-UoK+Bc/WQJl2xevjpge9ZQ+LwRrfnvnHiAkku7fPdtktJz55Z9wbzA5j8d2n414DiQ40aot78HRdDRv!a4JtgpNziNoBF/Y9tyey+MIyaMSyCSTJ7BfNGHYVX7kiWnG9dp/hTxAkwRpxkw172Roe+R+YSZU= X-Complaints-To: abuse@magma.ca X-DMCA-Complaints-To: abuse@magma.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: g2news1.google.com comp.unix.tru64:176 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