LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-01-2009, 08:21 AM   #1
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Rep: Reputation: 1
User Permissions


Hey, I have yet another question. How do I allow user only to see his home directory. On my server (debian) I have a user named 'normis'. I want to let him manage files in /home/normis, and that he could not even see any files that are not in that directory. Hope you understood my really bad english. Thanks in advance.
 
Old 08-01-2009, 08:49 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
you din't mention that what kind of users you have are they windows based or linux based users, if windows then you should use the FTP, SAMBA both should work.
 
Old 08-02-2009, 03:14 PM   #3
thewebhostingdir
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
You would need to create new FTP account and also need to select the Directory as "normis" so that whenever a user use this FTP account he/she can view the contents of normis.
 
Old 08-03-2009, 07:00 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
What you're probably looking for is referred to as 'jail a user'. As you don't indicate how your user will access the system, it's a bit difficult to give advise. If it's FTP, some (or all?) FTP servers support this by means of a configuration option (in vsftpd it's the option chroot_local_user).

If the user accesses the system using ssh, you have to build a jail environment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Giving user 'www-data' same permissions as normal user MikeOfAustin Linux - Software 5 06-08-2007 02:50 AM
User permissions JSLayton Linux - General 4 01-19-2006 11:25 AM
user permissions paul62 Slackware 2 10-28-2004 03:15 PM
user permissions??????? Scarface Slackware 2 12-24-2003 10:36 AM
user permissions newpenguin Linux - General 7 11-07-2002 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration