
wangchen at cn
Mar 19, 2008, 10:47 PM
Post #1 of 2
(652 views)
Permalink
|
|
[QUESTION] how to auto-exec cmd when login
|
|
Sorry, this post is neither for patch not for bug reporting. I just want to ask a question. Requirement: --- User want to login to a server(which has a chroot environment) by ssh. And when user login to the server, sshd will automatically make the login account to chroot first, and user can only use that chroot env. --- I know we have a ChrootDirectory feature in current development tree. But on RHEL, SLED and other distributions, there are only old openssh (maybe OpenSSH_4.2). So I think ChrootDirectory is not a good solution for this kind of requirement. Can you tell me how to achieve this purpose by old Openssh, such as OpenSSH_4.2? -- WCN _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev [at] mindrot https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|