[scponly] scponly-4.3 on HP-UX (11.11)
wby oblyr
joe at sublimation.org
Thu Jan 5 17:55:10 EST 2006
Yes, this will all be in the next release. thanks so much for the feedback. i cant promise a timeframe for
scponly-4.4 but so far all the changes are minor so i think it will be soon.
joe
christian.schwabl at chello.at wrote this message on Thu, Jan 05, 2006 at 15:41 +0100:
> Hello,
>
> i recently had to compile scponly-4.3 on HP-UX (11.11 on PARISC with HP's C/Ansi-C Compiler).
>
> Here is a list of problem i encounterd and how i solved them (no diffs/patches, i can provide those if someone tells me how to do this the best way....):
>
> 1) seteuid in scponly.c: There is no seteuid(..) under HP-UX, i replaced it with setuid(..), which should set the EUID under certain conditions
>
> 2) "extern int optreset;" in helper.c: optreset is not declared under HP-UX (maybe in some special getop packages), so i changed this to "int optreset;". What is optreset used for?
>
> 3) LOG_PERROR and LOG_AUTHPRIV: These are not defined under HP-UX, i changed them to LOG_ALERT and LOG_AUTH
>
> 4) FILENAME_MAX: This is defined with "14", which makes some problems, for example i had a chrootet user with a homedir of /home/testscp//home/testscp, scponly chrooted to /home/testscp, which is correct but then stayed in / which is wrong.
> According to IEEE Std. 1003.1, 2004 Edition, FILENAME_MAX is the "Maximum size in bytes of the longest filename string that the implementation guarantees can be opened."
> I redefined FILENAME_MAX with 255
>
> After these changes i was able to compile scponly and after some more work i had a working chrooted environment.
>
> Is there any chance that such changes will be incorporated into the next release?
> If more information is needed, feel free to contact me.
>
> kind regards,
> cs
>
>
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
More information about the scponly
mailing list