Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preventing users to cd out of their home directory

Status
Not open for further replies.

keak

Programmer
Sep 12, 2005
247
CA
Hi there,

Is there a quick way in linux to prevent a SSH user to cd out of their home directory ?

(only allowing users to do everything within their own directory).


 
google for "chroot jail" and "ssh jail"

I'm also fairly certain that sshd_config has an optional setting to enforce this.

D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top