habe Version 1.3.4 und es funzt auch eigentlich alles, bis auf das Setzen der UID für den Standard FTP-User.
In den FAQ von www.haggybear.de stehen alle benoetigten Infos.Würde mich über Hilfe sehr freuen..........
Wie meinst Du das? Der FUM setzt i.d.R. nicht die UID des Standard-FTP Users. Das macht Plesk. Er legt nur weitere User mit der gleichen UID an.
Sorry, irgendwie bootet meine Glaskugel gerade nicht, daher brauche ich nun doch ein paar Infos:Der Standard-FTP User hat die ID 10004 den letzten Benutzer hat er aber mit der ID 1002 angelegt.
.directory 0.05 Kb Fr 15 Mai 2009 17:37:58 CEST -rw-r--r-- root psaadm
INSTALL.txt 2.71 Kb Fr 15 Mai 2009 17:37:57 CEST -rw-r--r-- root psaadm
change.gif 0.61 Kb Fr 15 Mai 2009 17:37:58 CEST -rw-r--r-- root psaadm
config.inc.php 0.54 Kb Fr 15 Mai 2009 17:37:59 CEST -rw-r--r-- root psaadm
conn.php 0.81 Kb Fr 15 Mai 2009 17:37:58 CEST -rw-r--r-- root psaadm
delete.gif 0.35 Kb Fr 15 Mai 2009 17:37:58 CEST -rw-r--r-- root psaadm
doit.php 3.22 Kb Fr 15 Mai 2009 17:37:56 CEST -rw-r--r-- root psaadm
funcs.php 2.59 Kb Fr 15 Mai 2009 17:37:57 CEST -rw-r--r-- root psaadm
index.php 6.99 Kb Fr 15 Mai 2009 17:37:57 CEST -rw-r--r-- root psaadm
logo.gif 1.80 Kb Fr 15 Mai 2009 17:37:57 CEST -rw-r--r-- root psaadm
main.php 2.29 Kb Fr 15 Mai 2009 17:37:56 CEST -rw-r--r-- root psaadm
progress.gif 0.68 Kb Fr 15 Mai 2009 17:37:59 CEST -rw-r--r-- root psaadm
vhost_writer.sh 0.49 Kb Fr 15 Mai 2009 17:37:59 CEST -rwxr-xr-x root psaadm
wrapper 4.89 Kb Fr 15 Mai 2009 17:37:59 CEST -rwsr-xr-x root root
<?php
error_reporting(0);
define("DB_USR", "admin");
define("DB_PWD", trim(exec ("cat /etc/psa/.psa.shadow")));
define("DB_NAME", "psa");
define("DB_HOST", "localhost");
// define your language file en; de;
define("LANG", "de");
// path to your domains
define("DOMS","/var/www/vhosts/");
define("PSA_PATH",trim(exec ("grep PRODUCT_ROOT_D /etc/psa/psa.conf | sed 's/^[\t]*[A-Z_]*[\t]*//'"))."/");
define("PSA_VERSION",substr(trim(exec ("cat ".PSA_PATH."version")),0,1));
define("PSA_ADMIN_USER","PSAptADM");
define("PFTP_VERSION","1.3.4");
?>
Woran könnte es noch liegen......wie gesagt, bekomme ich keine Fehlermeldung
Danke ertmal für dieses tolle tool!
Aber kleines problem,
wenn ich einen FTP user hinzufügen mochte bekomme ich immer diesen Fehler in plesk
Code:[COLOR="Red"]Eingabe fehlerhaft! (Name: nur a-z, A-Z, 0-9, '-' und '.' , Passwort: mind. 6 Zeichen)[/COLOR]
Sorry, irgendwie bootet meine Glaskugel gerade nicht, daher brauche ich nun doch ein paar Infos:
-OS
-Plesk Version
-Log vom Plesk Apachen + Syslog
OS: SUSE 10.3
PLESK: 8.6.0
apachelog:
Der sacht nix...
syslog:
May 28 15:49:46 lvps92-51-162-212 useradd[26383]: new account added - account=staging, uid=1002, gid=2524, home=homeverzeichnis, shell=/bin/false, by=0
May 28 15:49:46 lvps92-51-162-212 useradd[26383]: account added to group - account=staging, group=video, gid=33, by=0
May 28 15:49:46 lvps92-51-162-212 useradd[26383]: account added to group - account=staging, group=dialout, gid=16, by=0
May 28 15:49:46 lvps92-51-162-212 useradd[26383]: running USERADD_CMD command - script=/usr/sbin/useradd.local, account=staging, uid=1002, gid=2524, home=homeverzeichnis, by=0
Ich hoffe das bringt deine Glaskugel zum bootenDanke...
Viele Grüße
Jan Fanslau
edit:
ich hab jetzt einfach mal die ID per Hand eingetragen und es passt.
in doit.php $uin[2]=HAUPTBENUTZER_ID
??? Wie bitte soll der Webserver die Dateien (php etc.) lesen??Die Rechte sollten doch stimmen:
Das wollte ich natürlich posten.
chmod 755 * -R
strip wrapper
chmod 4755 wrapper
Aber das Hauptverzeichnis hat auch Leserechte, ja?so nun sehen die rechte so aus:
We use cookies and similar technologies to provide the best experience on our website. You can choose which purposes you consent to. Your choice applies across websites using the same consent framework.
Below you can select which purposes you consent to. Purpose 1 is required for basic website functionality.
Cookies, device or similar online identifiers together with other information can be stored or read on your device for the purposes presented to you.
Ads can be shown to you based on the content you are viewing, the app you are using, your approximate location, or your device type.
A profile can be built about you and your interests to show you personalised ads that are relevant to you.
Personalised ads can be shown to you based on a profile about you.
A profile can be built about you and your interests to show you personalised content that is relevant to you.
Personalised content can be shown to you based on a profile about you.
The performance and effectiveness of ads that you see or interact with can be measured.
The performance and effectiveness of content that you see or interact with can be measured.
Market research can be used to learn more about the audiences who visit sites/apps and view ads.
Your data can be used to improve existing systems and software, and to develop new products.
Content can be selected based on limited data, such as the content you are viewing or the device you are using.
Below is a list of all technology vendors that may process your data. You can enable or disable each vendor individually.