Linux-Misc Digest #836, Volume #25               Fri, 22 Sep 00 16:13:01 EDT

Contents:
  Re: Extended partition trouble (peracchi)
  Re: ext2 file size limit? ([EMAIL PROTECTED])
  Re: still can't upload via anonymous ftp (Don)
  Re: Query RPM database for date an update was made? ("D. D. Brierton")
  Re: Query RPM database for date an update was made? ("D. D. Brierton")
  Re: shut down using keys (sena)
  Re: Suse 6.4 / 7.0 ("Gareth Williams")
  Canon LBP-660 and RedHat 6.2?? ([EMAIL PROTECTED])
  Re: [OT] Re: Will Linux go bankrupt? (YY Lee)
  Re: kernel recompile needed, but Mandrake has modified the source... (Bruce LaZerte)
  Re: KPPP prevents other apps from loading ([EMAIL PROTECTED])
  view tty output!!! ([EMAIL PROTECTED])
  Mandrake7.1 with 3dProphetIImx ("stephane.delaune")
  Problems with telnet ([EMAIL PROTECTED])
  Re: ext2 file size limit? (Andreas Jaeger)
  Re: FTP login problems (john)

----------------------------------------------------------------------------

From: peracchi <[EMAIL PROTECTED]>
Subject: Re: Extended partition trouble
Date: Fri, 22 Sep 2000 17:56:46 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> On Wed, 20 Sep 2000 20:47:08 GMT, peracchi wrote:
> >Hi everbody, Please help, I've got myself in a bad problem. ANY
> >comments/help is much appreciated. In short, I installed win98se in one
> >partition (primary), a few days later, i installed linux (eDesktop 2.4)
> >in a logical partition inside a extended partition. System Commander
> >controls the boot process.  After boot in linux, the system will not
> >boot anymore unless i use some program to mark the first primary
> >partition as active. � Now, if the When i choose boot the linux in
> >hda7, System Commander marks hda4 (extended) and hda7 as bootable.
> >After i reboot the system, System Commander don't appear anymore.
> >Instead i receive a message asking for a boot/system disk. I
>
> Odd, but I think this hackaround will work:
>
> 0. Use fdisk within Linux to set /dev/hda1 as active.
> 1. dd if=/dev/hda of=/sbin/hackboot.raw bs=512 count=1
> 2. Edit the shutdown script (/etc/rc.d/init.d/halt on RedHat,
> /sbin/init.d/halt on SuSE, no idea for Caldera) so that it includes the
> following line somewhere before the "halt" command:
>   dd if=/sbin/hackboot.raw of=/dev/hda bs=512 count=1
>
> BTW, LILO and grub can boot other operating systems without all this
> silliness.  You may wish to look into using one of those.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin /  Those who do not understand Unix are
> http://www.brainbench.com     /   condemned to reinvent it, poorly.
> -----------------------------/           --Henry Spencer
>

Thanks for the tip! I imagine that one solution would be something before
linux reboots, but don't know what to do. I found that the problem is a bug
in System Commander. I installed BootMagic (from Powerquest) and works ok.


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.system
Subject: Re: ext2 file size limit?
Date: Fri, 22 Sep 2000 17:59:14 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Centuries ago, Nostradamus foresaw a time when Paul Reilly would say:
> >Can someone tell me what the max size for a single file is in linux?
>
> There is no single answer to this.
>
> >I'm trying to creat a 6GB loopback device, but using dd if=/dev/zero
> >of=file
> >crashes out after filling the file with 2GB. I presume this is
happening
> >as I've reached some file system limit? Is there any way around this
or
> >any plans on making ext2 handle larger files?
>
> No, you have _not_ reached a filesystem limit.  ext2 supports files as
> large as 2TB in size.
>
> Apparently your version of VFS and the interface from there to LIBC
and
> on to the dd application does not support this.

        I am runnign Linux 2.4 and it supports
        files > 2GB. See /usr/include/bits/stat.h
        and look at struct stat64, which supports file size
        up to 1 TB (always half of max filesystem size), because
        file size is a signed data type.
        You will have to define
        __USE_LARGEFILE64 when you create the file with
        O_LARGEFILE (see /usr/include/bits/fcntl.h).
        To find out more about this, do
        find /usr/include -name \*.h | xargs grep LARGEFILE | more

        I created a 120 GB file on a 300 GB raid volume.

        Cheers,

        Joe

        P.S: Kernel experts interested in workin on filesystem size
        limitations and on the block I/O layer and LVM layer,
        please let me know. We are looking for 2 or more Linux
        kernel engineers to join our group at Maxtor Corp to
        work on these issues.


> --
> [EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/linuxkernel.html>
> All extremists should be taken out and shot.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Don <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,comp.os.linux.setup
Subject: Re: still can't upload via anonymous ftp
Date: Fri, 22 Sep 2000 14:10:20 -0400

Hi,

Thanks for your assistance.  Ok, I took your advice and created a REAL user on my web
server for the purposes of ftp'ing files from my internal networked machine to my web
server. FYI, I am using the TIS firewall proxies so my line in inetd.conflokks like 
this:

ftp stream tcp nowait root /usr/local/etc/netacl in.ftpd

and in my /usr/local/etc/netperm-table file, I limit the users who can ftp into my web
server to the IP of my internal network machine so no one from the outside can ftp in. 
 I
trust that this makes my web server more secure?

Finally, I downloaded, compiled and installed ncftp which has a utility called ncftpput
that allows me to automatically (via cron) schedule file transfers by putting it in a
script (this was my original intention).  So I finally have what I wanted.

Thanks again,
Don

> Congrats, I can see that you have been reading the FAQ and the
> upload.instructions.HOWTO. Now you just have to start doing as they
> recommend rather than trying to use a "roll your own" method.
>
> Ok, first you have a number of typos in your file.
> ( upretrieve ?   nodors ? )
>
> How are you launching ftpd? ( Please show the entire command line )
> I strongly recommend using tcp_wrappers with inetd
> # /etc/inetd.conf
> ftp stream tcp nowait root  /usr/sbin/tcpd  in.ftpd -I -l -a -w
> # after in.ftpd the -I (capital "eye") = don't use identd lookup
> # -l (lowercase " el " ) log to syslog
> # -a  use ftpaccess for configuration info
> # -w  log ftp logins to wtmp with shell login logs
>
> I don't believe you understand the use for anon-ftp.  It is NOT
> intended for web server maintenance (horrible, insecure idea).  If you
> are uploading files that are updating your webserver DO NOT use
> anon-ftp, use a REAL account.  Anon-ftp is designed to provide unknown
> or remote users with temporary disk space to store files (i.e. save
> email strain by uploading or downloading a CAD file)  Anon-ftp should
> NEVER be used for actual server maintenance.  Do you understand that
> anon-ftp is a BAD BAD BAD idea yet?
>
> You seem to want to force your own non-working setup rather than use
> the examples given to you in the FAQ.  I have included the section but
> I replaced  " root " & " daemon " with the more secure " ftpadmin " as
> mentioned in the "upload.configuration.HOWTO".
>
> <<snipped right from the FAQ>>
> WU-FTPD FAQ
> Section 11 - Item 8
> =>I want anonymous users to be able to upload files, but in the most
> secure manner possible
> => In general: you don't want this. But, if you're stubborn...
> (( Get the point? Even the folks who write the software say it's a bad
> idea.))
>
> Read the upload.configuration.HOWTO, pointer at the beginning of this
> faq.
>
> They mention the HOWTO but you have to go back to the home page to see
> the link.
>
> http://www.wu-ftpd.org/HOWTO/upload.configuration.HOWTO
>
> Follow the steps carefully. DO NOT make your own shortcuts.  If you
> are going to tinker, do it after you know it is working (and have
> saved your config).
>
> Finally, here are some additional security lines you really should add
> to your ftpaccess file. Some of the paths may not match your system,
> so adjust as needed. Most of the items can actually be put on one
> line, I have them broken up for readability and to fit whatever mail
> reader format you have.
>
> # /etc/ftpaccess
> # restrict file upload naming
> # I didnt want the line to wrap
> # replace real with real,anonymous,guest
> path-filter real /etc/paths.msg ^[-A-Za-z0-9\._]*$ ^\. ^-
>
> ### Restrict download access
> #Users have no reason to download system files
> noretrieve /bin /boot /dev /etc /lib /mnt
> noretrieve /opt /proc /root /sbin /tmp /usr /var
> noretrieve lost+found
> #Anti-crack protection - don't give away your passwd files
> noretrieve passwd shadow passwd- shadow- .htaccess core *.core .notar
> #Don't give away security to protected web directories
> #SSH isn't any good if you give away your encrypted keys
> noretrieve /home/*/.htaccess /home/*/.ssh
> noretrieve authorized_keys identity identity.pub
> noretrieve known_hosts random_seed
> #Users can upload but not download
> noretrieve /home/ftp/incoming
>
> #Increase logging to track users
> log transfers   guest,real,anonymous    inbound,outbound
> log security    guest,real,anonymous
> log syslog+xferlog
> #block specific user access - list  here or /etc/ftpusers
> defaultserver deny root ftpadmin
>
> # Restrict all users to their home directories
> restricted-uid *
> restricted-gid *
> #unrestricted-gid %600
> ### Deny access to addresses w/o nameservers or incorrect dns entries
> dns refuse_mismatch /etc/msgs/ftp.dns-error
> dns refuse_no_reverse /etc/msges/ftp.dns-error
> # end /etc/ftpaccess
>
> OK. this should get you up and running with the information from
> http://www.wu-ftpd.org/HOWTO/upload.configuration.HOWTO
>
> On Thu, 21 Sep 2000 11:56:53 -0400, Don <[EMAIL PROTECTED]> wrote:
>
> >I reread the FAQ and redid my ftpaccess file but to no avail (same problem).  Oddly
> >enough though, I can download  files from the server's /home/ftp/pub directory even
> >though I specified no uploading in the same access file.  It seems that the
> >/etc/ftpaccess file is being completely ignored???  Regardless, it seems that I can
> >download from it but cannot upload to it which is what I want to do.
> >
> >Perhaps I am going about this the wrong way.  What I actually want to do is to be
> >able to transfer files from my internal network to my web server in the 
>/home/ftp/pub
> >directory.  I don't really need to give anyone else ftp access.
> >
> >If I comment out aftp from both /etc/services and the /etc/inetd.conf, the 
>connection
> >is refused so I know of no other way to allow ftp to this server.
> >
> >One other thing...I installed and am using the TIS firewall proxies and configured 
>my
> >/etc/inetd.conf and /etc/services file accordingly
> >
> >Here's my updated ftpaccess file
> >
> >==============================
> >class   all   real,guest,anonftp,anonymous  *
> >
> >email root@localhost
> >
> >loginfails 5
> >
> >readme  README*    login
> >readme  README*    cwd=*
> >
> >message /welcome.msg            login
> >message .message                cwd=*
> >
> >compress        no guest,real,anonymous
> >tar             no guest,real,anonymous
> >chmod           no guest,anonymous
> >delete          no guest,anonymous
> >overwrite       no guest,real,anonymous
> >rename          no guest,anonymous
> >
> >class anonftp anonymous *
> >upload /home/ftp/ * no
> >noretrieve .notar
> >upload /home/ftp /pub yes ftpadmin ftpadmin 0440 nodirs
> >noretrieve /home/ftp/pub
> >
> >upretrieve /home/users/bin
> >upretrieve /home/users/etc
> >upretrieve /home/users/dev
> >
> >upload /home/users/ftpadmin *     no
> >upload /home/users/ftpadmin /tmp   yes nodors
> >upload /home/users/ftpadmin /home/users/ftpadmin yes
> >upload /home/users/ftpadmin /home/users/ftpadmin/* yes
> >upload /home/users/ftpadmin /home/ftp/pub  yes ftpadmin ftpadmin 0440 nodirs
> >
> >log transfers real,anonymous inbound,outbound
> >
> >shutdown /etc/shutmsg
> >
> >passwd-check rfc822 warn
> >==============================
> >
> >
> >The Drag wrote:
> >
> >> Well, you didn't actually read the FAQ or you would have the answer.
> >> (or perhaps you just don't understand how anon-ftp is actually
> >> supposed to be used)
> >>
> >> Please tell us why you insist on installing anon-ftp for a production
> >> webserver.  At this point you have a breachable server as you didn't
> >> setup enough security in your ftpaccess file.
> >>
> >> Tell us what you want to accomplish, and we'll post an appropriate
> >> config to help you out.  The point being that none of us want to help
> >> you get rooted by offering the same lack of security as the ftpaccess
> >> file you posted.
> >>
> >> TD
> >>
> >> ---------------------------------------------------------------------------------
> >> On Wed, 20 Sep 2000 10:02:09 -0400, Don <[EMAIL PROTECTED]> wrote:
> >> >Ok, I'm waving the white flag.  After upgrading to wu-ftp 6.1 and
> >> >modifying my ftp access file according to the docs, I still can't
> >> >upload, i.e., I am getting "permission denied on server" error messages
> >> >when I try yo upload to the /home/ftp/pub directory.  Does someone have
> >> >an example ftpaccess file I can look at?  Here is mine so maybe you can
> >> >spot the problem.
> >> >
> >> >Thanks in advance,
> >> >Don
> >> >
> >> >===========================================
> >> >class  all  real,guest,anonftp,anonymous  *
> >> >
> >> >email root@localhost
> >> >
> >> >loginfails 5
> >> >
> >> >readme README*    login
> >> >readme README*    cmd=*
> >> >
> >> >message /welcome.msg           login
> >> >message .message                  cwd=*
> >> >
> >> >compress    yes    all
> >> >tar               yes    all
> >> >chmod         no     guest,anonymous
> >> >delete          no     guest,anonymous
> >> >overwrite    no     guest,anonymous
> >> >rename        no     guest,anonymous
> >> >
> >> >class anonftp anonymous *
> >> >upload /home/ftp /pub yes ftp ftp 0440 nodirs
> >> >noretrieve /home/ftp /pub
> >> >
> >> >log transfers anonymous,real inbound,outbound
> >> >
> >> >shutdown /etc/shutmsg
> >> >
> >> >passwd-check rfc822 warn
> >> >===========================================
> >> >
> >


------------------------------

From: "D. D. Brierton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Query RPM database for date an update was made?
Date: Fri, 22 Sep 2000 19:27:40 +0100
Reply-To: [EMAIL PROTECTED]

In article <8qg393$8od$[EMAIL PROTECTED]>, "Bill Unruh"
<[EMAIL PROTECTED]> wrote:


> rpm -qf /usr/X11R6/bin/xlock to make sure it is only listed as part of
> one rpm Then rpm -Vf /usr/X11R6/xlocak to tell you if its checksum is
> the same as it was when installed.

Thank you! That did the trick. 

-- 
======================================================================
D. D. Brierton       Department of Philosophy, University of Edinburgh
[EMAIL PROTECTED]                    http://www.cogsci.ed.ac.uk/~ddb
======================================================================

------------------------------

From: "D. D. Brierton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Query RPM database for date an update was made?
Date: Fri, 22 Sep 2000 19:28:08 +0100
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, "Flotsam" <[EMAIL PROTECTED]>
wrote:


> rpm -qf /usr/X11R6/bin/xlock      gives the package <name>;
> 
> rpm -qi  <name>               output contains an installation date.

Thanks. That was just what I was after.

-- 
======================================================================
D. D. Brierton       Department of Philosophy, University of Edinburgh
[EMAIL PROTECTED]                    http://www.cogsci.ed.ac.uk/~ddb
======================================================================

------------------------------

From: [EMAIL PROTECTED] (sena)
Subject: Re: shut down using keys
Date: 22 Sep 2000 18:38:21 GMT

I heard Claus Atzenbeck <[EMAIL PROTECTED]> saying:
>With <ctrl> + <alt> + <del> I can restart the computer.
>How can I shut down the computer using some key combination?
>
Take a look at the inittab man page (describing the format of
/etc/inittab). Look for the "kbrequest" action and create your own key
combination, and create a new line based on the "ca::ctrlaltdel:....."
line.

You have to edit your keymaps file, but that's (almost) explained on the
man page.

Regards, sena...

-- 
,---------------------. ,--------------------------------------.
|  [EMAIL PROTECTED]  | | gpg key: decoy.ath.cx/~sena/sena.asc |
| decoy.ath.cx/~sena/ | |   Decoy org:  http://decoy.ath.cx/   |
`---------------------' `--------------------------------------'

------------------------------

From: "Gareth Williams" <[EMAIL PROTECTED]>
Subject: Re: Suse 6.4 / 7.0
Date: Fri, 22 Sep 2000 19:39:02 +0000

"Jason Byrne" <[EMAIL PROTECTED]> spake unto the multitude, saying:
>> Does anybody know a place where I can download Suse 6.4 or 7.0
> 
> that's a really good question ;-)
> 
> I'm a little put off by the lack of related news/announcements about
> downloads on their site... unless I'm completely missing something.

Latest news on the SuSE website is that 7.0 (Intel) will be available for
FTP download at the end of September.

-- 
All the best, GH Williams.



------------------------------

From: [EMAIL PROTECTED]
Subject: Canon LBP-660 and RedHat 6.2??
Date: Fri, 22 Sep 2000 18:39:27 GMT

The laser beam Canon LBP-660 uses the Windows Microsoft Printing
System... so probably incompatible with linux.(??)
Has someone succeeded in making it work under linux and how?
Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: YY Lee <[EMAIL PROTECTED]>
Subject: Re: [OT] Re: Will Linux go bankrupt?
Date: Fri, 22 Sep 2000 19:19:43 GMT

Will Linux go bankrupt?  That ain't gonna happen.  Linux distro companies
can seize and desist but not Linus.

Andreas Kahari wrote:

> In article <8ofnhv$cka$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
> >The future of money.
> [cut]
>
> You are changing the topic on that very first line from "The future of
> GNU/Linux" (rewrite of the subject line) to "The future of money".
> Unfortunately economics is off topic in comp.os.linux.misc, even
> "cybermoney".
>
> GNU/Linux will stay healthy because it is licensed under the GNU
> General Public License (GPL) and may thus be sold or given away for
> free as long as the source code for the kernel is distributed and all
> changes to it are well documented. Re-read the GNU GPL at
> <URL:http://www.gnu.org/copyleft/gpl.html>. The GNU GPL may be (and
> is) discussed in detail in the gnu.misc.discuss forum.
>
> Also note that GNU/Linux is not a country and can't "create cybermoney
> and use it as a way to sustain itself". Not even large companies can
> do that, yet.
>
> *plonk*
>
> /A
>
> --
> Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
> All junk e-mail will be reported to the appropriate authorities.
> ------------------------------------------------------------------------
> The important thing is not to stop questioning.


------------------------------

From: [EMAIL PROTECTED] (Bruce LaZerte)
Subject: Re: kernel recompile needed, but Mandrake has modified the source...
Date: Fri, 22 Sep 2000 19:16:48 GMT

On Fri, 22 Sep 2000 12:42:52, -ljl- <[EMAIL PROTECTED]> wrote:

> I have used Linux for over 7 years and never experienced problems
> due to replacing the distributed sources with the official ones.

I've been told that the current Mandrake version 7.1 kernel (2.2.15) is 
patched for UDMA66, supermount and up to 170 other features/fixes, many of 
which I don't need/use but some of which I certainly do. 

If these features are not now in the linux standard patches (16,17,18pre) 
then there's a chance that parts of my installation will not have the 
kernel support they need. 

> I know one person who refuses to use distributed kernels and after
> installation fetches source from 'ftp.kernel.org' to compile and
> install on his systems.

That is a tempting approach, but I get the feeling that there's some 
non-standard stuff out there that I'm using in mandrake that would be good 
to have. Not sure though.

Guess I'll just have to give it a try...

Thanks for the advice. I see also that debian is recommended. Guess I'll 
look over there as well.

======================
Bruce LaZerte   
Muskoka,Ontario,Canada
mail at fwr dot on dot ca       

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: KPPP prevents other apps from loading
Date: Fri, 22 Sep 2000 19:24:13 GMT

If I try to start netscape from a console, it says can't get display.
The others do the same.

In article <[EMAIL PROTECTED]>,
  Andreas K�h�ri <[EMAIL PROTECTED]> wrote:
> In article <8qg173$71p$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >  Has anyone had this problem.       I launch kppp from my root
account just fine
> >and connect to the net, but then I can't start any applications.  ie
> >netscape, konsole.  As soon as I kill kppp, I can start my other
apps.
>
> I'm not familiar with 'kppp'. Can you describe what happens when you
> try to start another application?
>
> /A
>
> --
> Andreas K�h�ri, <URL:http://hello.to/andkaha/>. Junk mail, no.
>
========================================================================
> What part of "GNU" did you not understand? <URL:http://www.gnu.org/>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat
Subject: view tty output!!!
Date: Fri, 22 Sep 2000 19:25:27 GMT

Hi all,

I have a program running on machine ABC.  This program is procesing a
log file which display the parsing of the log file if I am sitting on
machine ABC.

Now I telnet to machine ABC.  Can I view the same output from the tty
that is displaying the parsing of the log file via a telnet session.

If it's possible, can someone let me know!!!!!

thanks,
hallian


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "stephane.delaune" <[EMAIL PROTECTED]>
Subject: Mandrake7.1 with 3dProphetIImx
Date: Fri, 22 Sep 2000 21:35:29 +0200

Comment faire tourner Mandrake7.1 avec une 3D ProphetII mx?

help me my config for Mandrake7.1 with Card video 3d Prophet is big
bug,please help me for config,(my anglish is not good.



------------------------------

From: [EMAIL PROTECTED]
Subject: Problems with telnet
Date: Fri, 22 Sep 2000 19:28:35 GMT

I have a RH 6.2 installation at work as a internet gateway. We use this
crap satelite access through a company, thus the connection always cuts
in and out. The problem is that when the connection to the internet is
not working, i can't telnet to the linuxbox at the same time. But as
soon as the internet comes back up, i can get in without any problems.
Any suggestions?
Thanks,
~geoff~


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Andreas Jaeger <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: ext2 file size limit?
Date: 22 Sep 2000 21:48:45 +0200

>>>>> jdavida  writes:

 >      I am runnign Linux 2.4 and it supports
 >      files > 2GB. See /usr/include/bits/stat.h
 >      and look at struct stat64, which supports file size
 >      up to 1 TB (always half of max filesystem size), because
 >      file size is a signed data type.
 >      You will have to define
 >      __USE_LARGEFILE64 when you create the file with
Check <features.h> - __USE_LARGEFILE64 cannot be defined by user
space.

 >      O_LARGEFILE (see /usr/include/bits/fcntl.h).
[...]

Andreas
-- 
 Andreas Jaeger
  SuSE Labs [EMAIL PROTECTED]
   private [EMAIL PROTECTED]
    http://www.suse.de/~aj

------------------------------

From: john <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.mandrake,alt.linux.redhat,alt.linux,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.security,comp.os.linux.setup
Subject: Re: FTP login problems
Date: Fri, 22 Sep 2000 19:58:11 GMT

Mufasa wrote:

> I had ProFTPd working for a while for myself. When I added a user so my
> friend could join, it kept kicking him into the anonymous directory. I
> started messing with stuff to figure out why, because I could log in with my
> account just fine, but I messed something up. Now everytime anyone, user or
> anonymous, go to login they get refused and the logs say the user was not
> found. I think it has something to do with the auhtentication in Linux but
> don't know what. Any help?
>
> I'm using ProFTP. Here's my pam.d/ftp:
>
> #%PAM-1.0
> auth       required     /lib/security/pam_listfile.so item=user sense=deny
> file$
> auth       required     /lib/security/pam_pwdb.so shadow nullok
> auth       required     /lib/security/pam_shells.so
> account    required     /lib/security/pam_pwdb.so
> session    required     /lib/security/pam_pwdb.so
>
> My ftpusers only has "root" in it. I checked the file permissions and
> they're fine too. Any help? Thanks.
>
> --
> Mufasa
>
> [EMAIL PROTECTED]

Hummm....  Either you are protecting your layout or something is amiss in the
first line.  Here is mine:

auth       required     /lib/security/pam_listfile.so item=user sense=deny
file=/etc/ftpusers onerr=succeed

Used as above if you are using ftpusers as a DENY file...

And I do not have this line present in my PAM ftp file:

auth       required     /lib/security/pam_shells.so

The rest is the same...

--
To send email: Send to John and remove '-the-hobit'.



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to