LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2011, 04:05 PM   #1
ghandizzle8
Member
 
Registered: Jun 2010
Posts: 30

Rep: Reputation: 0
User Restriction


Hey guys,

I have a fedora cloud server . How do i force a user to only see a particular folder when they log on? I would not want the user to be able to access or see any other folder than that one?

The reason y i ask is that we have a non-techie that needs to upload large amounts of files.

Any help would be great


ghandizzle
 
Old 02-04-2011, 08:06 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
There are several things you can do. The first thing that comes to mind is that the individual might not need to log on to the server at all. They could use ftp from another machine to put the files on the server. Or you could export a directory for that person to mount via Samba or NFS.

Another approach would be to use a chroot jail.

You could use a restricted bash shell (rbash) and you could make their login script call a menu that logs off when they exit it.

All of these things are well documented. You should be able to find information on all of them using Google.

Last edited by stress_junkie; 02-04-2011 at 08:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
provide restriction to user pankajkarde Linux - Security 2 03-02-2007 05:29 AM
Squid User Restriction ajkannan83 Linux - Software 2 06-29-2006 05:41 AM
User account restriction br.man Linux - Newbie 2 04-21-2005 11:58 PM
User restriction on SSH RKris Linux - Software 5 06-22-2003 12:38 PM
Restriction on user logins klmn1 Linux - Networking 2 05-26-2003 06:40 AM


All times are GMT -5. The time now is 07:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration