General :: Limit Every User To His Own Home Folder Only

Jul 12, 2011

i have a linux server which users connect to with SSH. my users only upload and download content from their /home folder.

Basicly, I want them to be limited to see and use only their home folder.

I read that it might not be a good idea to do so, since they nead read premissions to run programs and scripts, but again: they are only downloadinguploading content to their home dir.

How can I do it?

View 2 Replies


ADVERTISEMENT

General :: Ubuntu - Limit Every User To His Own Home Folder Only

Aug 29, 2011

Limit every user to his own home folder only.I have a web server running 10.04 LTS and as a newbie in the world of server administration, I'm in a bind.Right now, I have three users. Root, which obviously has access to everything, and two other users that each own a website.For these two users, their website is located in their respective home folder in an extra folder they each have Read, Write & Execute permissions on. This is the only folder they can write to. They cannot delete it, or change anything outside the folder.

So far so good, except that by default, they can also read any file in the system, meaning they can navigate to my other websites' folders and read, for instance, the database passwords from WordPress config files.This is obviously problematic.The users access their files and folders through SSH with FileZilla.

How can I prevent these users from reading sensitive data, i.e. how can I restrict their access to only their home folder?The users must continue to login through SSH with FileZilla (i.e. no FTP solutions)Apache must still be able to access the user's folders (i.e. cannot chmod to 750)Folder containing the command line tools (/bin/bash I think) will probably have to be symlinked in the user's home folder?

View 1 Replies View Related

General :: Lock A User Into Websites Folder Not Home Folder?

Jan 9, 2009

id like to lock a user into his websites folder not his home folder. and i dont want him to be able to veiw anything outside that folder, only be able to play with whats inside that folder. is this possible?

View 4 Replies View Related

General :: Customized Home Folder For The Every New User?

Jul 8, 2011

I am looking the changes of the home folder location. if create the new user, automatically home folder will assigne to customized location.

View 2 Replies View Related

CentOS 5 Server :: User Limit Access To One Folder

Mar 24, 2011

for create an user I put:

useradd username
passwd username

View 4 Replies View Related

Debian Configuration :: Limit All Users To Use Only Their Own / Home / User Directory

Feb 1, 2011

I need to add another user besides the one set up during the installation procedure but I also need to limit all users to use only their own /home/user directory.

View 4 Replies View Related

Software :: Limit Mount Points Of SSHFS To Just User's Home Directory

Apr 21, 2010

We recently had a serious loss of data because of SSHFS mounting. A user in our group mounted the entire home directory of our server (/home). This was so they could easily move between user folders to read/write data from other people involved in the same project. They then deleted several folders that were not in there home directory.

Now I know this is a bad idea and that there should be a dedicated "projects" folder where everyone collaborates and does their stuff. Such a folder/system exits but I can't make them use it. My question: Is there anyway to configure SSHFS such that the only thing the user's can mount is their home directory? Obviously this won't fix the problem since they can sym-link to other folders but I've got to start somewhere. Perhaps there's a better solution (one that doesn't involve me nagging users about proper form).

View 4 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

Ubuntu :: Copy User Settings / Folders From One User Home Folder To Another?

Jan 10, 2010

I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried

Code:

sudo cp -nRv /home/user1/* /home/user2
but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.

im talking about the .adobe, .amsn ..........

How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.

View 4 Replies View Related

Fedora :: Set Up User's Home Folder Away From Home?

Mar 10, 2010

Wondering if its possible to have a User's home folder that resides in a different partition (could be ntfs or ext). I don't mean mounting /home on a different partition. The home directory will still be available for adding more users but I'd like to have a specific User's folder away from /home

How can one achieve this?

View 6 Replies View Related

Debian :: Limit User Access - Download And Upload To His Home File "browser By Firefox"?

Jul 30, 2011

i have VPS server and i installed Xserver on it and all ok i created new user for my client but i need to limit his access to the following

he can download and upload to his home file " browser by Firefox"
he can't install or use any application "just the one i installed it"
he can't see the file system or browser it !! if i can give him specific space on harddisk would be better
he can extract and compress files
he can't edit the settings ....

i have another sensitive folder and setting i don't want him to see it so how to limit his access?

View 8 Replies View Related

Ubuntu :: Restore A User For A Home Folder ?

Mar 13, 2010

I messed up, and was forced to reinstall the system. my user data ws stored on another partition /home/Andre I installed as a new user "test" How do I make a new user "Andre" such that it uses /home/Andre ?

View 9 Replies View Related

Server :: Limit The Suphp User Memory Limit?

May 12, 2010

I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:

Quote:

5484 coldclim 25 0 46476 32m 5920 R 0.0 6.4 0:00.93 php

The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)

View 2 Replies View Related

Ubuntu :: Samba User's Home Folder Is Not Visible?

Feb 16, 2010

I'm having some trouble with the user's home folders in Samba, ubuntu clients.I have a Samba server (Ubuntu Server 9.10)nd a bunch of windows clients and ubuntu clients too.On windows clients, each usercan see his home folder without problems, and the other shared folders too of course.The problem appears in ubuntu (i'm using gnome desktop with nautilus and the plugin for I enter Places->Network->Windowsetwork->DOMAIN->SERVER I only see the public shared folders, but no the samba user's home folder.I tryied connecting to samba through Places->Connect to Server and entering the username (for previous auth just in case) but nothing happens...

If, in nautilus I write smb://server/username, once it asked me for my user and password (but I told the popup to keep the password forever so now it doesnt ask me anymore :S), but it keeps not showing the folder under SERVER, the only way to access it is through smb://server/username directly. Even username@server does not work.Mi auth type in the Samba server is "user", and the auth config at my ubuntu client is also userJust in case.. when I type smbclient -L //SERVER -U username, it shows me the home folder ok.

View 1 Replies View Related

Ubuntu :: How To Change The UID Of A User With An Encrypted Home Folder

Sep 18, 2010

Just did a new netbook install of Lucid. Went through the setup, putting in my usual username etc. But I thought as it's a portable, I'd better select the encrypted home folder option. All went OK.

I have a home network with a NAS and I needed to change the UID to 1004 to match the rest of the network.

That's when it all when wrong. If I do that, I end up with no permissions on the user folder. A bit of a paradox, you can't change UID if logged in, but unless you're logged in, can't access the files.

My attempts to get around it by changing UID's back chowning, changing back etc. have screwed things up completely.

I have managed to open the encrypted folder and chown, but after a reboot it's all back to the original UIDs, but now I can't get in at all.

View 2 Replies View Related

Ubuntu Installation :: Default Home Folder For First User?

Jun 12, 2011

when installing ubuntu, the installer asks for username/login/password of the first user which will be allowed to sudo and administer the system... let's call that user "ubuntu"

what if I want to:

1) Automate those answers (which preseed variables should I set if any?)

2) Change the default home directory only for that user... let say I want it to be /ubuntu instead of /home/ubuntu (because I want /home/ to be empty after setup).

I know I could tweak /etc/passwd after setup (before first reboot) but I would like to know if there is a "clean way" to do that.

View 1 Replies View Related

Red Hat :: Mounting Network Drive Under A User's Home Folder, Possible?

Apr 25, 2011

This is the command I tried using:Code:mount -t cifs //NAS1/reports /home/user/public_html/reports -o rw,umask=0338,uid=587,gid=584,username=admin,password=passwordIt looks like the user can't access the files on the NAS drive. Is there any way to do this?

View 6 Replies View Related

Ubuntu :: Change Language Of Home , User , Documents Folder Name?

May 11, 2010

When I installed Lucid and first switched language/locale settings, a window popped up asking me if I wanted to change the name of the Documents, Music, Video etc folders into the new language.

Originally I was worried that this might be some irreversible operation and said no and ticked the don't ask me again box.

It seems though that this is just a cosmetic operation and I'd quite like to use this function now. Does anyone know where I can change the setting to accomplish this?

View 3 Replies View Related

Ubuntu Installation :: Create User With Encrypted Home Folder

Mar 8, 2011

I want to create a user with a encrypted home folder. I tried "sudo adduser --encrypt-home username" but I get following error "adduser: Could not find program named `ecryptfs-setup-private' in $PATH". I installed the cryptsetup package but without result.

View 1 Replies View Related

Ubuntu :: Create A User Partition And Move The Contents Of Home Folder Into It

Mar 7, 2010

Gparted shows that my dual boot laptop has the following partitions: [URL] I want to create a partition and move the contents of my Home folder into it.

View 3 Replies View Related

General :: Bandwidth Limit To One User Using Squid?

Sep 29, 2010

Im using squid proxy server..i want to limit bandwidth for single user using squid proxy.

View 6 Replies View Related

General :: Limit User Acess To Their Own Directory?

Aug 3, 2011

Im new to linux and would like help or to be taught. My question is how do i limit users to their own directory for an example User andrew /home/andrew cant acess root or usr

View 10 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General :: Setting Bandwidth Limit - 16kbps Per User

Nov 22, 2008

I am newbie for Linux I want to script for bandwidth Limite per user MAC based also how can i add user MAC and where to add? I want per user 16Kbps each user.

View 1 Replies View Related

General :: Limit Root Access To User Account?

Jun 24, 2010

I am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?

View 14 Replies View Related

Fedora :: User Memory Allocation - Set A Maximum Limit On The Amount Of Ram A User Can Utilize?

Jul 24, 2009

I have a few multi-user servers in an academic laboratory. I am having a problem with some users maxing out the available RAM, causing such sever slowdowns the machine essentially crashes. My servers are Dell Power Edge's running Ubuntu 8.10 Server Edition (Not my choice). I would like to set a maximum limit on the amount of ram a user can utilize. This morning I experimented with setting limits via /etc/security/limits.conf and using ulimit. Neither of them prevented my test program, a simple infinite loop of mallocs, from crashing the server.

View 7 Replies View Related

General :: Give User Access To Directory In Another User's Home

Mar 8, 2010

I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.

I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.

View 7 Replies View Related

Ubuntu Servers :: User Quotas - Limit - One User Should Be Able To Use 1900 GB And The Other 600 GB

Oct 29, 2010

Im trying to limit the diskspace users on the system may consume, and i found quotas (im a total linux noob). But when i try to set it, no matter what i set it to the maximus is 2 GB. Now... i need quite a lot more than that. One user should be able to use 1900 GB and the other 600 GB. How can i fix this? Im using ubuntu server 10.04.

View 9 Replies View Related

General :: Ubuntu New User: Can't See New User In Home Directory

Jul 28, 2011

i'm new to linux and just installed Ubuntu and decided to play around with it. i just executed

Code: useradd test which supposedly creates a folder in the home directory '/home/test' but when i look in there i can't see it i also did a

Code: grep test /etc/passwd which returns: 'test:x:1001:1001::/home/test:/bin/sh' which i believe means it is meant to exist.

Addendum: I have also now noticed that when i log in and log back in i have the option to login as 'test' but it prompts me for a password which i did not set :s

View 5 Replies View Related

Fedora :: What Is Folder Limit For Each Folder

Nov 16, 2009

I want to know how many folder I can create in one folder.

Also I want to create more than 200,000 folders in one folder. Is it a feasible option to go with.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved