[clug] Linux user permissions

Ian darkstarsword at gmail.com
Mon Mar 24 06:05:15 GMT 2008

Hey Tim,

On Mon, Mar 24, 2008 at 3:01 PM, Tim Murphy <tim at murphy.org> wrote:
> Hi all,
>  I'm sure this will sound very basic to the majority of you, but I've never dealt with this before and have found myself stuck.  I have created a user on my ubuntu server and want to restrict that user to be able to view what's in his home folder only (basically so he can access the files I want him to via SFTP but nothing else).
>  Is there an easy way to do this?  I don't have X loaded so it's all got to be through the command line on a very slow connection.

I used to be able to do this with scponly (which restricts SSH to only
using SCP and SFTP and also provides a chrooted version), but the
chrooted version stopped working for me a while back and I haven't
bothered/motivated to figure out why.


On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
 -- Erik Raymond, 2005
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

More information about the linux mailing list