Page 1 of 1

HELP ME! (proftpd adding users)

PostPosted: 27. March 2006 08:10
by david5220
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:

PostPosted: 27. March 2006 22:57
by deepsurfer
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

HEy

PostPosted: 28. March 2006 05:08
by david5220
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.

HEy

PostPosted: 28. March 2006 05:12
by david5220
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

PostPosted: 17. April 2006 14:03
by deepsurfer
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.