[scponly] how can i change directory?

Paul Hyder Paul.Hyder at noaa.gov
Mon Jan 30 18:25:27 EST 2006


Have you tried the "//" syntax in the top level password file paths?

Something like: "/home/allusers//clients/joe" as the path for joe?

Would mean some manual modification of the top level password file
or a custom script to build jails but it should do what you want.
    Paul Hyder
    NOAA Earth System Research Laboratory, Global Systems Division
    Boulder, CO

daniel wrote:
> hi all,
> 
> i am searching for an easy way to jail a user to a directory (for 
> instance /home/allusers/) but automatically cd into their respective home 
> directory when they log in. 
> (/home/allusers/clients/joe, /home/allusers/staff/bob)
> i think this is not possible with the --with-default-chdir switch of configure
> 
> thanks,
> daniel
> 
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly




More information about the scponly mailing list