Through ssh whole directory structure from / is shared
regardless the user we have connected with ....... how do i
prevent sharing ??
Answer Posted / parveen khera
Hi,
You can use any of these below mentioned:
1. Use restricted bash(rbash), which not only restricts
users to their home directory but also provides other
required restrictions. http://www.wlug.org.nz/rbash%281%29
or
http://pizzashack.org/rssh/
2. Use SSH Jail with PAM_ChRoot:
http://singe.za.net/blog/archives/378-Linux-SSH-Jail-with-pam_chroot.html
3. Use Jail Kit Chroot:
http://olivier.sessink.nl/jailkit/jk_chrootsh.8.html
Thanks.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the gate of ftp server in redhat linux?
This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.
What is the difference between ext3 and ext4?
why /etc/shadow file do not have any permission ?
i installed clustering packages.When i try to run it getting LUCI error...what is it..??
I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers
How to Trouble shoot performance issue in RHEL administration ? please give to one example
What are the differences between FTP , NFS , SAMBA servers explain separately.
Why is it suggested to disable journalism in ext4 filesystem?
What is Hard mount and soft Mount?
what is difference between TFTP abd FTP?
1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?
How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples
As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.