LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 07: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: 335Reputation: 335Reputation: 335Reputation: 335
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 07:08 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 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
Open Source Consulting | Domain Registration