Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* FTP-only account with welcome message
@ 2001-12-19 21:06 Reinhard Eigner
  2001-12-20  9:17 ` Emmanuel Choquet
  0 siblings, 1 reply; 7+ messages in thread
From: Reinhard Eigner @ 2001-12-19 21:06 UTC (permalink / raw)


Hi all!

I'm running Tru64 5.1 and I want to make an user account with
ftp access only (no telnet function and so on).
If the ftp user will login he should get a welcome message like 'welcome on
....'
All ftp users sould get this message.

Any ideas?
Thanks in advance!

Reinhard




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

* Re: FTP-only account with welcome message
  2001-12-19 21:06 FTP-only account with welcome message Reinhard Eigner
@ 2001-12-20  9:17 ` Emmanuel Choquet
  2001-12-20 22:22   ` Reinhard Eigner
  0 siblings, 1 reply; 7+ messages in thread
From: Emmanuel Choquet @ 2001-12-20  9:17 UTC (permalink / raw)


"Reinhard Eigner" <r.eigner@t-online.de> wrote in message news:<9vqv9m$f4m$03$1@news.t-online.com>...
> Hi all!
> 
> I'm running Tru64 5.1 and I want to make an user account with
> ftp access only (no telnet function and so on).
> If the ftp user will login he should get a welcome message like 'welcome on
> ....'
> All ftp users sould get this message.
> 
> Any ideas?
> Thanks in advance!
> 
> Reinhard

Banner message sould be in /etc/banner. You'll have to create it,
default is not in there.

add /usr/bin/true in /etc/shells to get getusershell(3) happy (called
by ftpd)
create your ftponly user with /usr/bin/true as default shell(adduser
script)
This user must not appear in /etc/ftpusers which logs exactly the
opposite of his name : users that won't be able to use ftp.

Actually, RTFM man ftpd will tell you everything :-)

Cheers

Emmanuel


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

* Re: FTP-only account with welcome message
  2001-12-20  9:17 ` Emmanuel Choquet
@ 2001-12-20 22:22   ` Reinhard Eigner
  2001-12-21  0:19     ` Trevor Osatchuk
  0 siblings, 1 reply; 7+ messages in thread
From: Reinhard Eigner @ 2001-12-20 22:22 UTC (permalink / raw)


Hi!

I tried it as described in the ftpd man page. Now I get a ftp prompt and I
can type ftp or anonymous as user and then ftp says "guest login ok, send
ident as password"
What means "ident"?? I cannot type in any password.
my ftp-user doesn't have a password.
Can anyone tell me, what's wrong??


"Emmanuel Choquet" <emmanuel.choquet@compaq.com> schrieb im Newsbeitrag
news:4618c6b9.0112200117.46eeb8cf@posting.google.com...
> "Reinhard Eigner" <r.eigner@t-online.de> wrote in message
news:<9vqv9m$f4m$03$1@news.t-online.com>...
> > Hi all!
> >
> > I'm running Tru64 5.1 and I want to make an user account with
> > ftp access only (no telnet function and so on).
> > If the ftp user will login he should get a welcome message like 'welcome
on
> > ....'
> > All ftp users sould get this message.
> >
> > Any ideas?
> > Thanks in advance!
> >
> > Reinhard
>
> Banner message sould be in /etc/banner. You'll have to create it,
> default is not in there.
>
> add /usr/bin/true in /etc/shells to get getusershell(3) happy (called
> by ftpd)
> create your ftponly user with /usr/bin/true as default shell(adduser
> script)
> This user must not appear in /etc/ftpusers which logs exactly the
> opposite of his name : users that won't be able to use ftp.
>
> Actually, RTFM man ftpd will tell you everything :-)
>
> Cheers
>
> Emmanuel




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

* Re: FTP-only account with welcome message
  2001-12-20 22:22   ` Reinhard Eigner
@ 2001-12-21  0:19     ` Trevor Osatchuk
  2001-12-21  5:50       ` Reinhard Eigner
  0 siblings, 1 reply; 7+ messages in thread
From: Trevor Osatchuk @ 2001-12-21  0:19 UTC (permalink / raw)


On Thu, 20 Dec 2001 23:22:26 +0100, "Reinhard Eigner"
<r.eigner@t-online.de> wrote:

>Hi!
>
>I tried it as described in the ftpd man page. Now I get a ftp prompt and I
>can type ftp or anonymous as user and then ftp says "guest login ok, send
>ident as password"
>What means "ident"?? I cannot type in any password.
>my ftp-user doesn't have a password.
>Can anyone tell me, what's wrong??

Nothing.  It is customary to use your email address as a password on
anonymous servers.  Just a friendly 'I was here' when you access
public information.

>
>
>"Emmanuel Choquet" <emmanuel.choquet@compaq.com> schrieb im Newsbeitrag
>news:4618c6b9.0112200117.46eeb8cf@posting.google.com...
>> "Reinhard Eigner" <r.eigner@t-online.de> wrote in message
>news:<9vqv9m$f4m$03$1@news.t-online.com>...
>> > Hi all!
>> >
>> > I'm running Tru64 5.1 and I want to make an user account with
>> > ftp access only (no telnet function and so on).
>> > If the ftp user will login he should get a welcome message like 'welcome
>on
>> > ....'
>> > All ftp users sould get this message.
>> >
>> > Any ideas?
>> > Thanks in advance!
>> >
>> > Reinhard
>>
>> Banner message sould be in /etc/banner. You'll have to create it,
>> default is not in there.
>>
>> add /usr/bin/true in /etc/shells to get getusershell(3) happy (called
>> by ftpd)
>> create your ftponly user with /usr/bin/true as default shell(adduser
>> script)
>> This user must not appear in /etc/ftpusers which logs exactly the
>> opposite of his name : users that won't be able to use ftp.
>>
>> Actually, RTFM man ftpd will tell you everything :-)
>>
>> Cheers
>>
>> Emmanuel
>
>

Trevor Osatchuk

Any man whose errors take ten years to correct is quite a man. 
          - J. Robert Oppenheimer, speaking of Albert Einstein 


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

* Re: FTP-only account with welcome message
  2001-12-21  0:19     ` Trevor Osatchuk
@ 2001-12-21  5:50       ` Reinhard Eigner
  2001-12-21 11:48         ` Emmanuel Choquet
  0 siblings, 1 reply; 7+ messages in thread
From: Reinhard Eigner @ 2001-12-21  5:50 UTC (permalink / raw)



> >Hi!
> >
> >I tried it as described in the ftpd man page. Now I get a ftp prompt and
I
> >can type ftp or anonymous as user and then ftp says "guest login ok, send
> >ident as password"
> >What means "ident"?? I cannot type in any password.
> >my ftp-user doesn't have a password.
> >Can anyone tell me, what's wrong??
>
> Nothing.  It is customary to use your email address as a password on
> anonymous servers.  Just a friendly 'I was here' when you access
> public information.
>

But the ftp doesn't accept any password. The "normal" users are working
fine.
the /etc/passwd:
.
.
.
ftp::202:15::/usr/users/ftp:/bin/sh

Is this correct?
What else I have to do, that the ftp login works?`



> >
> >"Emmanuel Choquet" <emmanuel.choquet@compaq.com> schrieb im Newsbeitrag
> >news:4618c6b9.0112200117.46eeb8cf@posting.google.com...
> >> "Reinhard Eigner" <r.eigner@t-online.de> wrote in message
> >news:<9vqv9m$f4m$03$1@news.t-online.com>...
> >> > Hi all!
> >> >
> >> > I'm running Tru64 5.1 and I want to make an user account with
> >> > ftp access only (no telnet function and so on).
> >> > If the ftp user will login he should get a welcome message like
'welcome
> >on
> >> > ....'
> >> > All ftp users sould get this message.
> >> >
> >> > Any ideas?
> >> > Thanks in advance!
> >> >
> >> > Reinhard
> >>
> >> Banner message sould be in /etc/banner. You'll have to create it,
> >> default is not in there.
> >>
> >> add /usr/bin/true in /etc/shells to get getusershell(3) happy (called
> >> by ftpd)
> >> create your ftponly user with /usr/bin/true as default shell(adduser
> >> script)
> >> This user must not appear in /etc/ftpusers which logs exactly the
> >> opposite of his name : users that won't be able to use ftp.
> >>
> >> Actually, RTFM man ftpd will tell you everything :-)
> >>
> >> Cheers
> >>
> >> Emmanuel
> >
> >
>
> Trevor Osatchuk
>
> Any man whose errors take ten years to correct is quite a man.
>           - J. Robert Oppenheimer, speaking of Albert Einstein




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

* Re: FTP-only account with welcome message
  2001-12-21  5:50       ` Reinhard Eigner
@ 2001-12-21 11:48         ` Emmanuel Choquet
  2001-12-23 17:03           ` Reinhard Eigner
  0 siblings, 1 reply; 7+ messages in thread
From: Emmanuel Choquet @ 2001-12-21 11:48 UTC (permalink / raw)


What do you want exactly :

2 options for ftp access :

-1- The one descibed in my answer is a ftp only access, with sign on :
the user will have to sign and enter his password. This password is
created by root using standard passwd ftponly <CR>

-2- Anonymous access, in this case the ftp username is 'anonymous' and
password prompt is not an actual password, but the polite anonymous
ftp accesser will leave his email account ( actually loosing the
anonymousness of the access! ).'ftp' is declared in /etc/passwd, but
'anonymous' is the username you must use. BTW, set ~ftp and
subdirectory as described in man ftpd, otherwise there are *huge*
security holes and issues.


"Reinhard Eigner" <r.eigner@t-online.de> wrote in message news:<9vuih5$rem$02$1@news.t-online.com>...
> > >Hi!
> > >
> > >I tried it as described in the ftpd man page. Now I get a ftp prompt and
>  I
> > >can type ftp or anonymous as user and then ftp says "guest login ok, send
> > >ident as password"
> > >What means "ident"?? I cannot type in any password.
> > >my ftp-user doesn't have a password.
> > >Can anyone tell me, what's wrong??
> >
> > Nothing.  It is customary to use your email address as a password on
> > anonymous servers.  Just a friendly 'I was here' when you access
> > public information.
> >
> 
> But the ftp doesn't accept any password. The "normal" users are working
> fine.
> the /etc/passwd:
> .
> .
> .
> ftp::202:15::/usr/users/ftp:/bin/sh
> 
> Is this correct?
> What else I have to do, that the ftp login works?`
> 
>


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

* Re: FTP-only account with welcome message
  2001-12-21 11:48         ` Emmanuel Choquet
@ 2001-12-23 17:03           ` Reinhard Eigner
  0 siblings, 0 replies; 7+ messages in thread
From: Reinhard Eigner @ 2001-12-23 17:03 UTC (permalink / raw)


Hi!

I want one ftp only user and if it's possible one anonymous ftp account.
My ftp program (windows commander) is not able to connect with user
anonymous and eMail as password.
The security hole is not so high, because this AlphaStation is in my private
network, and you can only access the computer via ISDN dial-in. My router
checks via CHAP trhe connection. Via internet it's not possible because the
router uses PAT.

I'll try that again!
Thanks for helping and a merry Christmas!


"Emmanuel Choquet" <emmanuel.choquet@compaq.com> schrieb im Newsbeitrag
news:4618c6b9.0112210348.6edf5324@posting.google.com...
> What do you want exactly :
>
> 2 options for ftp access :
>
> -1- The one descibed in my answer is a ftp only access, with sign on :
> the user will have to sign and enter his password. This password is
> created by root using standard passwd ftponly <CR>
>
> -2- Anonymous access, in this case the ftp username is 'anonymous' and
> password prompt is not an actual password, but the polite anonymous
> ftp accesser will leave his email account ( actually loosing the
> anonymousness of the access! ).'ftp' is declared in /etc/passwd, but
> 'anonymous' is the username you must use. BTW, set ~ftp and
> subdirectory as described in man ftpd, otherwise there are *huge*
> security holes and issues.
>
>
> "Reinhard Eigner" <r.eigner@t-online.de> wrote in message
news:<9vuih5$rem$02$1@news.t-online.com>...
> > > >Hi!
> > > >
> > > >I tried it as described in the ftpd man page. Now I get a ftp prompt
and
> >  I
> > > >can type ftp or anonymous as user and then ftp says "guest login ok,
send
> > > >ident as password"
> > > >What means "ident"?? I cannot type in any password.
> > > >my ftp-user doesn't have a password.
> > > >Can anyone tell me, what's wrong??
> > >
> > > Nothing.  It is customary to use your email address as a password on
> > > anonymous servers.  Just a friendly 'I was here' when you access
> > > public information.
> > >
> >
> > But the ftp doesn't accept any password. The "normal" users are working
> > fine.
> > the /etc/passwd:
> > .
> > .
> > .
> > ftp::202:15::/usr/users/ftp:/bin/sh
> >
> > Is this correct?
> > What else I have to do, that the ftp login works?`
> >
> >




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

end of thread, other threads:[~2001-12-23 17:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-19 21:06 FTP-only account with welcome message Reinhard Eigner
2001-12-20  9:17 ` Emmanuel Choquet
2001-12-20 22:22   ` Reinhard Eigner
2001-12-21  0:19     ` Trevor Osatchuk
2001-12-21  5:50       ` Reinhard Eigner
2001-12-21 11:48         ` Emmanuel Choquet
2001-12-23 17:03           ` Reinhard Eigner

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