Hallo
Ich habe mit scponly installiert und es läuft so weit auch ganz gut.
Wenn man sich mit entsprechendem Passwort und Username einloggt kommt man in den Homeordner:
bin
etc
incoming
lib
usr
im Ordner incoming hat man dann schreib- und leserechte. So weit so gut.
Allerdings will ich nach dem Login sofort in den Ordner incoming kommen. Ich habe die Angaben in /etc/passwd ohne Erfolg geändert. Hat jemand eine Idee?
Chris
scponly
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: scponly
/path/to/chroot/etc/passwd
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 11
- Joined: 2005-04-25 18:28
Re: scponly
also ich habe
/etc/passwd geändert -> dann kann ich mit gftp oder winscp mich nicht mehr einloggen.
/path/to/chroot/etc/passwd
habe ich ebenfalls geändert, allerdings ohne ein Egebniss, ich kann dort eintragen was ich will, was ich allerdings jetzt wo ich darüber nachdenke auch sehr merkwürdig finde .....
/etc/passwd geändert -> dann kann ich mit gftp oder winscp mich nicht mehr einloggen.
/path/to/chroot/etc/passwd
habe ich ebenfalls geändert, allerdings ohne ein Egebniss, ich kann dort eintragen was ich will, was ich allerdings jetzt wo ich darüber nachdenke auch sehr merkwürdig finde .....
-
- Posts: 11
- Joined: 2005-04-25 18:28
Re: scponly
Also ich habe den Fehler gefunden:
Ich habe in die /etc/passwd des Servers und nicht des chroots
folgendes eingetragen.
gelegen. JA JA was so ein Slash manchmal anrichted,....
Ich habe in die /etc/passwd des Servers und nicht des chroots
folgendes eingetragen.
Wie ihr seht kommt nach scponly zweimal der Slash, daran hat es bei mirscponly1007
:/home/scponly//incoming:/usr/sbin/scponlyc
gelegen. JA JA was so ein Slash manchmal anrichted,....