<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.2">
</HEAD>
<BODY>
On Thu, 2010-08-12 at 16:44 +0200, roland wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Thu, 12 Aug 2010 15:31:04 +0200, Tim <<A HREF="mailto:ignored_mailbox@yahoo.com.au">ignored_mailbox@yahoo.com.au</A>>
wrote:
> On Thu, 2010-08-12 at 14:40 +0200, roland wrote:
>> I would like to give someone a login on my server.
>> But, I would like to limit access to his home dir.
>>
>> With Nautilus, Konqueror or from distance with p.e. Winscp, this
>> person could see what he wants and do maybe the unexpected.
>
> Unless you get slack with permissions, they can't read files owned by
> someone else unless those files have read permission for "other" users.
> Likewise, regarding writing to them. No ordinary user can change system
> or application files, only their own files.
>
> And, as far as restricting them, that may depend on what you mean by
> logon to your system. You're sharing out a drive, directories, or
> actually allowing a direct logon where they can run things.
>
Someone who will install a website on the server. So I thought to give him
a login and config apache to read the dir in his home dir.
He has to upload the files for this site. So I won't him to see only his
home dir.
So actually he will not run something, just install.
--
Roland
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
chrooted ssh.<BR>
<BR>
<A HREF="http://www.howtoforge.com/chrooted_ssh_howto_debian">http://www.howtoforge.com/chrooted_ssh_howto_debian</A><BR>
<BR>
It's for debian, but it works ok on fedora too. You don't necessarily need to download patched openssh, as now the openssh fedora ships supports chroot out of the box.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<BR>
<BR>
Calin<BR>
<BR>
Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857<BR>
<BR>
=================================================<BR>
Come quickly, I am tasting stars! -- Dom Perignon, upon discovering champagne.
</TD>
</TR>
</TABLE>
</BODY>
</HTML>