HELP ME! (proftpd adding users)

Problems with the Linux version of XAMPP, questions, comments, and anything related.

HELP ME! (proftpd adding users)

Postby david5220 » 27. March 2006 08:10

Hello all

Please tell me, how do you add users other than nobody to the proftpd program thing! I can't edit the proftpd.conf file and i am not sure even how to encrypt them. Please help!

Thanks in advance

David :oops:
david5220
 
Posts: 4
Joined: 26. January 2006 07:30

Postby deepsurfer » 27. March 2006 22:57

to add user for ProFTP you can use the normal linuxsystem "useradd" function.

--- --- --- --- --- --- --- --- --- --- ---
in RedHAT 9.1 (now known as Fedora Core)
adduser NAME -d /opt/lampp/htdocs/NAME -s /bin/false
after that with "passwd NAME" to create passowrd

in DeBian-Sarge
adduser --home /opt/lampp/htdocs/NAME --shell /bin/false NAME
here comes the password crypt automatic

in DeBian-Sarge give the "useradd" to
useradd -d /opt/lampp/htdocs/NAME -s /bin/false NAME
after that with "passwd NAME" to create password

in SuSE 9.3 standard Install is the "useradd"
useradd -d /opt/lampp/htdocs/NAME -p password -s /bin/false NAME
in this case the password is in this linedas Passwort mit eingetragen.
--- --- --- --- --- --- --- --- --- --- ---

in the proftpd.conf you must edit the line
DefaultRoot /opt/lampp/htdocs
into
DefaultRoot ~

after that restart XAMPP and now you user have FTP Login in the right webfolder with no shell login (e.g. Putty).

This Information comes from the german forumside of ProFTP in apachefriends.org.

Many FAQ you can find at http://proftpd.org/

greets
Deep
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

HEy

Postby david5220 » 28. March 2006 05:08

Sorry, i have mandrake linux. What should i do? and what do you mean by putty?

I want it that they login under their username and password but no anonomous users allowed. what is a good free website configurer, like cpanel but free? Thanks, i'm only 11 and i'm a linux beginner.

Thanks
David.
david5220
 
Posts: 4
Joined: 26. January 2006 07:30

HEy

Postby david5220 » 28. March 2006 05:12

To add to my reply

i cannot edit the proftpd.conf file. how do i do this?

any more tips on what i need for a server?

and finally, could you explain what all the things in the adduser function is?

Thanks

David
david5220
 
Posts: 4
Joined: 26. January 2006 07:30

Postby deepsurfer » 17. April 2006 14:03

i cannot edit the proftpd.conf file. how do i do this?

open terminalwindow as root, use Linux-Editor = " vi ", or use an Editor from your GUI-Interface (like Gnome or KDE).

Note: editing as " root "

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

and finally, could you explain what all the things in the adduser function is?


i dont know what you mean... in the Linuxsystem you can add any user for login and working with linux without your own logindatas.

In this case the ProFTP-Server use the LinuxUser statements to activate a ftp-login.

LinuxUser known by ProFTP to connect.

the useradd "/bin/false" is a rule that this user cannot login with any Terminalsession in your Linux (e.g. Putty / Telnet ).

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

Sorry, i have mandrake linux. What should i do? and what do you mean by putty?

Mandrake Linux is another Linux Distribution, in this Linux you have
"useradd" and/or "adduser" to.

Putty is a terminalprogramm without grafikal interfaces to log on system to administrate/working with keyboard input.
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 17 guests