Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Virtual FTP Server on 4.1
       [not found] <3381FB98.79968E96@redrose.net>
@ 1997-05-20  7:58 ` Christopher McCrory
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher McCrory @ 1997-05-20  7:58 UTC (permalink / raw)


Hello...

	Add the name of group #523 (from passwd entry) to the /etc/ftpaccess file.

i.e. guestgroup ftponly
	guestgroup testgroup
	guestgroup testgroupcompany2

Does that do it?

Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.com
admin@netus.com

At 03:29 PM 5/20/97 -0400, you wrote:
>We are trying to set up virtual ftp servers on our PC164 running 4.1.
>
>We have the following entry in our ftpaccess file:
>
>virtual x.x.x.x /home/server/htdocs/rrs /home/ftp/etc/banner.msg
>
>where x.x.x.x is the IP number of the server,
>
>and the following in our passwd file:
>
>test:password:521:523:RHSLinuxUser:/home/server/htdocs/rrs/./test:/bin/false
>
>/bin and /etc are in /home/server/htdocs/rrs.  /bin contains ls and the
>other approriate files.  /etc contains a passwd and group file with the
>approriate entries.
>
>When we ftp in as test, we get to their home directory, but it's like a
>normal ftp; we can move about directories, all the way up to top.
>
>What are we missing here?
> 
>-- 
>John Banghart
>Systems Administrator
>Red Rose SuperNet
>john@redrose.net
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
       [not found] <3382044B.AB83AABF@redrose.net>
@ 1997-05-20  8:26 ` Christopher McCrory
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher McCrory @ 1997-05-20  8:26 UTC (permalink / raw)


Hello...

	You need the 'ls' program. 

Cut and paste is wonderful.  Here is the whole process.  :

	Yes it is possible.  Read the FAQ from wu-ftpd on setting up grestgroups.
Basically the steps are:

One:	edit the /etc/ftpaccess file and add a guestgroup entry
two:	make the user a member of said guestgroup
three:	make the directory structure you want them to stay in along with any
libs and progs (ls) from the anonamous ftp area.  Look in the bin and lib
derectorys.  
i.e.	/home/ftponly/etc
	/home/ftponly/bin
	/home/ftponly/lib
	/home/ftponly/home/userdir
	/home/ftponly/home/other_user_dir
four:	make their shell something else (if you don't want shell access) like
/dev/null or /bin/passwd .  With /bin/passwd they can shell in the the
passwd program and change their own passwd.  :)
five:	IMORTANT put the shell program they use in the /etc/shells file
IMPORTANT
six:	edit their home directory entry and put a   /./  in it 
i.e	/home/ftponly/./home/userdir
seven:	TEST
eight: edit the passwd and group files in their new /etc/ directory to
reflect their uid/gid 's .  
nine:	IMPORTANT you don't need their encrypted passwords in the new passwd
file so DON'T put them there IMPORTANT

Hope this helps

Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.net
admin@netus.net

QUAKE Capture the Flag server @ quake.netus.com

At 04:06 PM 5/20/97 -0400, you wrote:
>Christopher McCrory wrote:
>> 
>> Hello...
>> 
>>         Add the name of group #523 (from passwd entry) to the
/etc/ftpaccess file.
>> 
>> i.e. guestgroup ftponly
>>         guestgroup testgroup
>>         guestgroup testgroupcompany2
>> 
>> Does that do it?
>
>Yes and no.  :)
>

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
       [not found] <33820CC0.9324B87B@redrose.net>
@ 1997-05-20  9:59 ` Christopher McCrory
  1997-05-21  1:20 ` Dwayne A. Ghant
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher McCrory @ 1997-05-20  9:59 UTC (permalink / raw)


Hello...

	Did you use the 'ls' program from /bin/ls or from /home/ftp/bin/ls ?

At 04:42 PM 5/20/97 -0400, you wrote:
>Christopher McCrory wrote:
>> 
>> Hello...
>> 
>>         You need the 'ls' program.
>
>Well, it's in /home/server/htdocs/rrs/bin, and /home/server/htdocs/rrs
>is set as the root in ftpaccess.  However, it simply won't execute the
>program.  If I try executing some of the other commands in that
>directory, like compress for instance, it just says ?Invalid command.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Virtual FTP Server on 4.1
@ 1997-05-20 19:29 John Banghart
  0 siblings, 0 replies; 8+ messages in thread
From: John Banghart @ 1997-05-20 19:29 UTC (permalink / raw)


We are trying to set up virtual ftp servers on our PC164 running 4.1.

We have the following entry in our ftpaccess file:

virtual x.x.x.x /home/server/htdocs/rrs /home/ftp/etc/banner.msg

where x.x.x.x is the IP number of the server,

and the following in our passwd file:

test:password:521:523:RHSLinuxUser:/home/server/htdocs/rrs/./test:/bin/false

/bin and /etc are in /home/server/htdocs/rrs.  /bin contains ls and the
other approriate files.  /etc contains a passwd and group file with the
approriate entries.

When we ftp in as test, we get to their home directory, but it's like a
normal ftp; we can move about directories, all the way up to top.

What are we missing here?
 

-- 
John Banghart
Systems Administrator
Red Rose SuperNet
john@redrose.net

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
@ 1997-05-20 20:06 John Banghart
  0 siblings, 0 replies; 8+ messages in thread
From: John Banghart @ 1997-05-20 20:06 UTC (permalink / raw)


Christopher McCrory wrote:
> 
> Hello...
> 
>         Add the name of group #523 (from passwd entry) to the /etc/ftpaccess file.
> 
> i.e. guestgroup ftponly
>         guestgroup testgroup
>         guestgroup testgroupcompany2
> 
> Does that do it?

Yes and no.  :)

Now we get the right root directory, /test in this case, but we can't
see any files.  I can put and retrieve files but not see them.

Test owns the directory and file and test is the group on both. 

-- 
John Banghart
Systems Administrator
Red Rose SuperNet
john@redrose.net

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
@ 1997-05-20 20:42 John Banghart
  0 siblings, 0 replies; 8+ messages in thread
From: John Banghart @ 1997-05-20 20:42 UTC (permalink / raw)


Christopher McCrory wrote:
> 
> Hello...
> 
>         You need the 'ls' program.

Well, it's in /home/server/htdocs/rrs/bin, and /home/server/htdocs/rrs
is set as the root in ftpaccess.  However, it simply won't execute the
program.  If I try executing some of the other commands in that
directory, like compress for instance, it just says ?Invalid command.

-- 
John Banghart
Systems Administrator
Red Rose SuperNet
john@redrose.net

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
       [not found] <33820CC0.9324B87B@redrose.net>
  1997-05-20  9:59 ` Christopher McCrory
@ 1997-05-21  1:20 ` Dwayne A. Ghant
  1 sibling, 0 replies; 8+ messages in thread
From: Dwayne A. Ghant @ 1997-05-21  1:20 UTC (permalink / raw)


Clearify what you mean by the ls program??????????
so I can truly understand what you mean.
Thank You.
Represently Yours 
dghant

On Tue, 20 May 1997, John Banghart wrote:

> Christopher McCrory wrote:
> > 
> > Hello...
> > 
> >         You need the 'ls' program.
> 
> Well, it's in /home/server/htdocs/rrs/bin, and /home/server/htdocs/rrs
> is set as the root in ftpaccess.  However, it simply won't execute the
> program.  If I try executing some of the other commands in that
> directory, like compress for instance, it just says ?Invalid command.
> 
> 
> -- 
> John Banghart
> Systems Administrator
> Red Rose SuperNet
> john@redrose.net
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Virtual FTP Server on 4.1
@ 1997-05-21 12:04 John Banghart
  0 siblings, 0 replies; 8+ messages in thread
From: John Banghart @ 1997-05-21 12:04 UTC (permalink / raw)


Dwayne A. Ghant wrote:
> 
> Clearify what you mean by the ls program??????????
> so I can truly understand what you mean.
> Thank You.
> Represently Yours
> dghant

Yes, I used the ls from /home/ftp/bin, as I did with all the programs.

It almost seems to be a path problem since it can't locate those
programs, but as far as I can tell, everything is right.

-- 
John Banghart
Systems Administrator
Red Rose SuperNet
john@redrose.net

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-05-21 12:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3382044B.AB83AABF@redrose.net>
1997-05-20  8:26 ` Virtual FTP Server on 4.1 Christopher McCrory
1997-05-21 12:04 John Banghart
  -- strict thread matches above, loose matches on Subject: below --
1997-05-20 20:42 John Banghart
1997-05-20 20:06 John Banghart
1997-05-20 19:29 John Banghart
     [not found] <33820CC0.9324B87B@redrose.net>
1997-05-20  9:59 ` Christopher McCrory
1997-05-21  1:20 ` Dwayne A. Ghant
     [not found] <3381FB98.79968E96@redrose.net>
1997-05-20  7:58 ` Christopher McCrory

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox