vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have ProFTPD running on my 9.1 box and want to put a users home directory in the web folder as this user will be putting docs on our website. I have successfully chrooted the ftp server to lock him in the directory, however I do NOT want that user to be able to log in and get a shell. Whenever I put an invalid shell in the /etc/passwd file I am unable to log into FTP. When i put it to /bin/bash, I have no problems. Is it possible to have a user login via FTP but not have a valid shell or am I out of luck. I would have to believe the former, but I cant seem to find a way. Thanks, Gecko |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gecko wrote: | I have ProFTPD running on my 9.1 box and want to put a users home | directory in the web folder as this user will be putting docs on our | website. I have successfully chrooted the ftp server to lock him in the | directory, however I do NOT want that user to be able to log in and get | a shell. Whenever I put an invalid shell in the /etc/passwd file I am | unable to log into FTP. When i put it to /bin/bash, I have no problems. | Is it possible to have a user login via FTP but not have a valid shell | or am I out of luck. I would have to believe the former, but I cant | seem to find a way. http://www.proftpd.org/docs/directiv...alidShell.html jkb - -- Im wyzszy postawisz sobie cel, tym bardziej bedziesz samotny. (R. Kapuscinski) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAGTrkQhBzeHEgRd4RAs5bAJ4sJGqUcMC2CKmd4Wdaqz T6oeCAMQCff6ed tAII1LqGlMmBCvBrgn06mw4= =kch8 -----END PGP SIGNATURE----- |
| |||
| On Thu, 29 Jan 2004 09:33:23 -0500, Gecko <jason@eubulus.net> wrote: > Whenever I put an invalid shell in the /etc/passwd file I am > unable to log into FTP. When i put it to /bin/bash, I have no problems. > Is it possible to have a user login via FTP but not have a valid shell > or am I out of luck. I would have to believe the former, but I cant > seem to find a way. I'm not sure, but it might help to put your invlaid shell in to /etc/shells -- Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read) GPG KeyID: 4A3B58AC |
| ||||
| Thank you very much Jacek. I have been looking for that and just passed it over. I really appreciate your message. Works great! Jacek K. B?aszkowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gecko wrote: > | I have ProFTPD running on my 9.1 box and want to put a users home > | directory in the web folder as this user will be putting docs on our > | website. I have successfully chrooted the ftp server to lock him in > the > | directory, however I do NOT want that user to be able to log in and get > | a shell. Whenever I put an invalid shell in the /etc/passwd file I am > | unable to log into FTP. When i put it to /bin/bash, I have no > problems. > | Is it possible to have a user login via FTP but not have a valid shell > | or am I out of luck. I would have to believe the former, but I cant > | seem to find a way. > > http://www.proftpd.org/docs/directiv...alidShell.html > > jkb > > > - -- > Im wyzszy postawisz sobie cel, tym bardziej bedziesz samotny. > (R. Kapuscinski) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFAGTrkQhBzeHEgRd4RAs5bAJ4sJGqUcMC2CKmd4Wdaqz T6oeCAMQCff6ed > tAII1LqGlMmBCvBrgn06mw4= > =kch8 > -----END PGP SIGNATURE----- |