Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Mon Jan 06, 2003 5:47 am    Post subject: proftpd Reply with quote

I run proftpd on mandrake and I can't figure out how to add a user!!!

This is what I tried...

Code:
#adduser username -p password -g users -G wheel
#cd /etc/init.d
#./proftpd stop
#./proftpd start


went to ftp://username:password@mydomain didn't work. Then tried to login with ftp://alex:password#mydomain and it worked. I added alex when I installed mandrake, the installer asked if I wanted other users, I said yes, and added alex. Any ideas?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Mon Jan 06, 2003 6:34 am    Post subject: Reply with quote

if your version of adduser doesn't automatically create home directories, that could result in a refused connection
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Mon Jan 06, 2003 3:19 pm    Post subject: Reply with quote

I'm pretty sure that /home/username is the default home directory. I'll try to add the home directory and see if that works.

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Mon Jan 06, 2003 3:51 pm    Post subject: Reply with quote

you need to add the username to /etc/proftpd/proftpd.conf
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 1:02 am    Post subject: Reply with quote

well...

proftpd.conf was in /etc so I edited it, but it didn't say anything about usernames. Got any other ideas?

Thanks,

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Jan 07, 2003 1:26 am    Post subject: Reply with quote

Rain Designs wrote:
Got any other ideas?

what happens if you try to login as 'username'?
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 1:29 am    Post subject: Reply with quote

well I first enter in ftp://mydomain into my browswer, then it prompts me for a username and pword, I input username and password, it doesn't work, then I try to login as alex:password and that works. alex belongs to wheel, I added alex in the mandrake install.

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Tue Jan 07, 2003 1:42 am    Post subject: Reply with quote

Show us proftpd's log... I'm sure it will explain a _very_ lot..
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 1:55 am    Post subject: Reply with quote

there were no logs in /var/log/proftpd where else could I find the logs?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Jan 07, 2003 2:00 am    Post subject: Reply with quote

Rain Designs wrote:
well I first enter in ftp://mydomain into my browswer, then [...]

no, what happens if you try to login on the console...
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 2:03 am    Post subject: Reply with quote

I can't login to the console.

8O

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Tue Jan 07, 2003 2:21 am    Post subject: Reply with quote

Rain Designs wrote:
I can't login to the console.

8O

Thanks

Rain


How do you see the logs if you can't log in? Try /var/log/messages
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 2:23 am    Post subject: Reply with quote

I was viewing the logs as root. I can't login as username. /var/log/messages doesn't exist :x

Any other thoughts?

Thanks for all the help :D

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Jan 07, 2003 5:13 am    Post subject: Reply with quote

Rain Designs wrote:
I was viewing the logs as root. I can't login as username.

what error messages gives a 'su - username'? if this doesn't show you the right way, then
  • check username's home dir in /etc/passwd and verify that it exists and is at least readable for username
  • check username's shell in /etc/passwd and verify that it's a valid shell and it's name is listed in /etc/shells
  • verify that username's primary group (fourth value in username's /etc/passwd line) exists (in /etc/group)
  • do a 'passwd username' and enter username's password twice

shouldn't be needed, but do a 'pwconv'. doesn't do any harm.

hth, jukka
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Jan 07, 2003 6:10 am    Post subject: Reply with quote

I had to passwd the user!!!

Thanks :D

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum