1836829 Members
2237 Online
110110 Solutions
New Discussion

ssh jailed account

 
chad_c
Super Advisor

ssh jailed account

Hi. We are running HPUX11.11. Can anyone shed some light on how to create an ssh jailed user account?

Regards,
Chad
1 REPLY 1
Aussan
Respected Contributor

Re: ssh jailed account

hi Chad
here is something worth reading

http://docs.hp.com/en/5991-6482/ch08s06.html#v850353

here it is in case the link does not work

"chroot is a directory jail. It starts up an application in a specified directory and restricts users to accessing that directory and the directories below it. It prevents users from changing directories above that specified directory. It is intended to restrict file and directory access to users of that application while they are using the application.

You must enable chroot for an application. You must create new directories and copy the relevant set of files into those newly created directories.

You can optionally set up ssh, scp, and sftp with a chroot directory.

The HP-UX Secure Shell README file in /opt/ssh/README.hp explains the chroot feature, the chroot setup script, and the specific files that this script copies to enable ssh, sftp, and scp for a chroot environment. Refer also to chroot(1M).

The chroot setup script is in the /opt/ssh/utils/ssh_chroot_setup.sh file, which is part of the HP-UX Secure Shell software product (Secure Shell 4.30.004/005)."


Regards
Aussan
The tongue weighs practically nothing, but so few people can hold it