LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-13-2002, 08:09 PM   #1
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Rep: Reputation: 15
ftp users and groups


Hi,

I am trying to setup users to access my ftp site. I have made a group called ftpclients using UserDrake. I added a couple of users to it including myself and gave them passwords.
I also have them all accessing the same directory

/usr/ftp



But, When I ftp the site and type in the username and password, I get an "incorrect login" message.

In addition, everytime I add a new user, linux creates a new group with the username, something I would rather have it not do.

The only username and password that work are one I made a couple of days ago.

Am I missing something?

Last edited by artman62; 08-13-2002 at 08:11 PM.
 
Old 08-13-2002, 10:42 PM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Yes, you are missing alot.

Need more info like what FTP deamon you are running, the config file, server logs, etc.

You can specify the group that users are added to when they are created so they don't get created in their own groups. Be a real man and use "adduser" in the command prompt.
 
Old 08-14-2002, 03:15 PM   #3
tyler_durden
Member
 
Registered: May 2001
Posts: 125

Rep: Reputation: 15
or you can be a REAL real man and edit /etc/passwd and /etc/group by hand

just kidding :-)

try reading /var/log/messages and see what the ftp server is posting about why the users can get in.
 
Old 08-22-2002, 05:45 PM   #4
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Original Poster
Rep: Reputation: 15
1) I did use adduser at the command prompt to initially set up the users.

2) You know, like many on this forum, I'm looking for help when I get stuck - so I don't need stupid comments like
"Be a real man and use "adduser" in the command prompt" - TruckStuff. I don't know if you were trying to be funny, but it didn't come off that way.

I figured out the problem. I didn't set a shell for the users I added. Which I realized when I compared all the users in my group with UserDrake.

Thanks for the help anyway
 
Old 08-23-2002, 10:04 AM   #5
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Lighten up. That's what means. Sit back, have a beer, and take a deep breath.
 
Old 08-23-2002, 11:28 AM   #6
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Original Poster
Rep: Reputation: 15
It's been a long week.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
groups and users twb2005 Linux - Newbie 7 10-10-2005 06:21 PM
users and groups twb2005 Linux From Scratch 2 10-10-2005 01:47 PM
users and groups twb2005 Red Hat 1 10-10-2005 01:47 PM
users and groups Red Squirrel Linux - Newbie 2 02-22-2004 07:37 PM
users and groups krfulton Linux - Security 1 01-05-2004 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration