[Wolves] Locking own an SSH login

Broadfield Robert BroadfieldR at walsall.gov.uk
Fri Feb 27 13:04:43 UTC 2009

I'm trying to create a locked down SSH login account on CentOS 4.x, but
I'm having trouble with setting the $PATH variable.

The idea is that I only want to allow the user to run commands provided
in the home directory, so we're forcing a restricting shell so it can't
run commands with a slash in them and modifying the path so they can run
commands in the home directory without having to specify ./command which
would be disallowed by the restricted shell.

Is this any use:



More information about the Wolves mailing list