Re: Restricted SSH access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vladimir Kovacevic wrote:
Hi!
I'm working on embeded Fedora on Atmel and have a problem with restricting ssh access for user that log on to system. The only privilege I want to give them is executing some programs that I wrote (permit any view on a system directories except /home/user_name).
I looked in /etc/ssh_config but did't find what I was looking wor. Also,
tried with assigning a user /bin/bash console with -r (restricted) parameter (set it up on /etc/passwd)
but then I couldn't log on with putty or WinSCP to system.
Any ideas for simple solution for my problem?

P.S. Somebody might ask why would somebody use ssh for that limited access. Answer is that it must be supported, project specifications...


If you don't want someone to see the system directories, you have to build a chroot environment and keep them there.

http://www.howtoforge.com/chroot_ssh_sftp_fedora7

--
  Les Mikesell
   lesmikesell@xxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux