Gå til innhold

Har installert gproftp men vinduet forsvinner når jeg starter brukergrensesnittet


Anbefalte innlegg

Har installert gproftpd i følge wikien til diskusjon.no.

Når jeg da skulle starte serveren via menyen så fikk jeg en feilmelding ala:

"Could not launch menu item: Failed to execute child process "su-to-root" (No such file or directory)"

 

Etter å ha googlet litt så fant jeg ut at jeg måtte installere en meny-pakke, etter "menu" ble installert via Synapic så får jeg ikke feilmelding lengre men vinduet forsvinner like fort som det kommer.

 

Vanskelig å forklare men håper dere kan hjelpe :)

Lenke til kommentar
Videoannonse
Annonse

Ser ut som du er blitt rammet av en bug som gjelder noen ubuntu 8.10 installasjoner.

ref. http://ubuntuforums.org/archive/index.php/t-970110.html

http://mange.dynalias.org/linux/misc/Intre...Ibex_errors.txt

 

Ser ut som alle fikk det til ved å bruke annen pakke. Jeg ser denne buggen er fra før jul. Forsøk å oppdatere ubuntu-versjonen din dersom den ikke er oppdatert, dernest ville først forsøkt å installere proftp-pakkene fra 9.04 fremfor Debian-pakken de andre brukte, ellers kan du jo bare bruke samme Debian-pakke som dem.

Endret av Del
Lenke til kommentar

Den er grei. Ta deg tid til å lese hjelpeteksten:

Adding users:

 

When adding a user you can randomize its username and password or use your own.

You can also select its login shell, group, comment and toplevel ftp home directory.

Press add when you are satisfied with the users settings.

When the user has been added you can add and set permissions on its directories.

 

Any other directories added must be located below the ftp home directory for this user.

 

If you need to add more users with similar settings you can simply change a current users

username, password and directory and then press the add button.

 

 

Typical setups:

 

Users needs upload access to a http servers directory:

 

Set the users home directory to the webserver's root directory IE:

/var/www/html or /var/www/html/UserName for a private homepage.

Press add when you are satisfied with the users settings.

Add the required upload permissions for this users directory and press apply.

 

 

Adding anonymous access to a directory:

 

Type anonymous in the username field.

Press the password randomize button or type a password longer then 5 chars.

Type anonymous as group and comment.

Select /dev/null shell.

Set require password to off.

Type this users home directory IE: /var/ftp/anonymous.

Press add to add this anonymous user.

You can now login as anonymous with no password.

 

If the selected shell is false or null the user can only login to this ftpserver otherwise

that user gets a private home directory as well as its ftp directory and can login via ssh

etc if that server allows the user to do so.

 

You can easily add more servers to run on different interfaces and ports.

The same users can have different directories and settings in different servers.

When a user connects to one address and port it gets access according to that servers

configuration for that user.

If you want to turn a server off without deleting it you can set its port value to 0

 

If this Proftpd server is behind a NAT gateway you should specify the gateways

external DNS name or IP-address as "Configure NAT routing" and then turn it on.

 

If you want to add directories thats not under the users root directory you can do this:

 

Linux (as of kernel 2.4.0):

mount --bind /some/directory/to/share /var/ftp/make_this_directory_first

 

Alternatively:

mount -o bind /var/data /var/ftp/bob/data

 

*BSD (as of 4.4BSD):

mount_null /var/data /var/ftp/bob/data

 

Solaris:

mount -F lofs /var/data /var/ftp/bob/data

 

Statistics:

 

Pressing the generate welcome statistics button in the file tab will create

welcome messages for all users in this FTP server

Pressing generate HTML statistics in the file tab creates top 10

upload and download statistics as a webpage IE: /var/www/html/ftp.htm

 

With crond and gprostats you can do this to have it automatically update the statistics:

gprostats -html /path/to/output.html

gprostats -w welcome.msg

or both at the same time: gprostats -html /path/to/output.html -w welcome.msg

Use -c /path/to/proftpd.conf -x /path/to/xferlog if you need to.

 

If you have made customized welcome messages and dont want them overwritten by gprostats

you can configure this by doubleclicking a user and unchecking update statistics.

then pressing the apply button, this will also exclude the user from the html output.

 

If you copy or move a file directly to the ftpservers directory you may need to

chmod it with 644 and chmod directories to 755 so that the directory and file can be accessed.

 

This is one way of chmodding all files recursively in the directory /var/ftp:

find /var/ftp -type f -exec chmod 644 -v {} \;

 

Upload directories should have a chmod of 777 and this can be used for /var/ftp/upload

find /var/ftp/upload -type d -exec chmod 777 -v {} \;

 

 

For more detailed information about the server and its configuration directives visit:

http://www.proftpd.org

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...