Software :: Shared Home Directories (NFS) Across Different Distributions?
May 27, 2011
I have a server which serves up home directories and users for the other machines. So when you login to one of the other machines your home directory is stored on the server. The problem here is, some of the client machines are running Red Hat and others are running Ubuntu and this causes configuration errors in some applications (e.g. Gnome).
Just a general question: If I have /home on a separate partition, is it possible to mount that /home partition on multiple distributions (Ubuntu, SuSE for example) on the same PC?
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.
Is it practical to have 2 different Linux distributions which share the same home partition? I know that programs save their configuration in home directory and that can mess up, yet I would like to play with different Linux distros at the same time while always finding my files at home.
I've set up a separate Data partition, Creating a separate home partition in Ubuntu during installation Now I wish, if I'm able too, to access this partition of Data with both my 10.04 LTS edition and the new 11.04 Edition of Ubuntu.I tried once, using the methods above, to gain access to that partition, but it just denied me access to the 11.04 installation.I edited the Fstab file in mediaubuntu 11.04etcfstab, and changed back to regain access.* Mount ubuntu 11.04 first to access it*
Am I able to configure my system, that both distributions, can access the same Data partition.If so How would I go about it.I have 2 separate login names for the 2 distributions, but I want to access the same Data partition, folders, using either one. Same programs, games, and e-mail accounts.Also how would I set up Evolution, so that both operating systems use the same e-mail database, saving me from having mail in both, and no idea of where any of it is.I've read numerous posting on this, but either they don't apply, are just too technical, or only relate to 8.04 at best.
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?
I am running Ubuntu 9.04, and wish to share a folder to be accessed without logging in via Windows Vista. If I set up the share through the nautilus right-click menu and enable "Guest Account", the share is inaccessible. The folder shows up, but it fails to mount. Vista says that it can see the computer, but not the shared folder.
The folder is
/home/william/shared
The only way I can get it to work is if I change the permissions of the folder /home/william to allow Others to access files.
Would anyone be so kind as to point me to a good reference for how use the command line to configure a directory to be shared in the directory properties?I know how to do it using graphical tools such as Nautilus, Konqueror, and Gnome's shares-admin, but I'd like to know how to do with via command line, because, once you know the commands, the command line is always quicker.I guess you could say I'm looking for a command line method for sharing directories in much the same way that chmod sets permissions from the command line.
I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:
Using a SUSE server, what's the best method/tool available to mount existing shared directories? I have defined shares on a Window 2008 server and am attempting to configure the SUSE server.
I'm setting up a Squeeze system with multiple users. I would like to have it the way that no user is allowed to read other user's files. I have searched the net and the forums here and have found quite a lot of stuff but it's all a bit confusing to me.
Some suggest that one should use dpkg-reconfigure adduser and select <no> But that doesn't do what I'd like to achieve (with a newly created user): wussy@dorm:/home$ ls -l
In system info my ext4 /home directory shows total space of 51.7 gigs with 51.5 gigs available.
My ext4 / directory shows total space 19.7 gig and 7.7 gig free. Whenever I install anything it goes to the / (as guess root directory) In Dolphin it shows my /home directory but anything installed under that seems like it installs on the / directory.
If I have 51 gigs free where is it and how do I gain access?
I'm hoping somebody can find something here that I haven't. I'm trying to use rsync to backup home directories to a nas. First, I NFS mounted the nas and ran an rsync and everything worked out fine. the transfer completed after a few hours and everyting was transferred (lots of stuff!). I then decided that I don't want to leave the nas mounted all the time and I didn't want to automate mounting and unmounting of the nas as I didn't think I could produce a script that would work reliably enough. So I decided to start an rsync daemon on the nas and upgrade via that. I run the following command (results are included. the ^C is me killing it after it hangs).
I'm using Edubuntu 10.04 in my classroom. I use an administrator account. There are about 8 student accounts on the computer, created as desktop users. I would like to login with my account and be able to view, create, and delete files in the students' home directories. However, I can't figure out how I would give myself this permission.
I've tried sudo chmod, but that won't work, because I'm not the owner of those files.
I've tried sudo chown, but that won't work, because the students need to be owners of their own directories.
I'm looking for the best distributed filesystem to share my home directory among all my computers, and I'm interested in what advice I could get here.
Here are my requirements: 1) It must be completely POSIX compliant, because I've noticed that many programs will break if not. 1a) Must support file locking (i.e. flock()) preferably sharing lock advisories between the clients 1b) Must support hard links, and be able to recognize a hard link connection by looking at the number of references 2) It must have encryption, and security suitable for it to be exposed to the internet. 2a) I would like to use password-less authentication. Preferably SSL client certs (HTTPS style). Static keys (SSH style) are also fine. I would begrudgingly accept a password authenticated system if it used a fairly secure challenge/response algorithm if it met all of my other requirements. (Extra points if it supports PKCS#11 and thus supports smart cards) 2b) Encrypted traffic must be an option. 2c) No thanks to kerberos. It was too annoying to maintain when I tried it before and I don't like passwords. 3) Preferably, it should be stable and fairly easy to maintain. 4) Optionally, it should be tolerant of network drops, and reconnect automatically as needed, because my laptop wireless is a little flaky sometimes.
Why when I command "useradd -m barth" do I get the error message: "cannot create directory /home/barth"? It only does this when a partition is mounted to /home.
I'm a refugee from WindowsXP, running Fedora 14 with three user accountsMy problem is that I need the primary user (userd 500) to be able to have full access all other users' files in their home directories so that user can copy, move, delete, etc.I tried making that user a member of the other users' groups - but I still get the 'not got permission' error when I try to access their home directories
All with their own home drives. My media (music, films, photos etc) is kept on a separate (Vista) partition on my Desktop with symlinks from my home directory on Dendrite. Ideally, I'd have the /home directory synced across all 3 computers. I had been toying with the idea of a networked /home kept on an external HD plugged into synapse, but not sure how this would work out with Axon out of the reach of the network. I have dyndns set up and can access the home network over ssh, but obviously that's impractical (I assume) for a home drive.
Thoughts? Ideas? Pointers? I'm comfortable playing around with fstab, nfs and the terminal, but still very much a beginner.
I want to share home directories from two different machines so that I can log on to both using the same account.
One idea was to host the home directory on a server and mount it to a local directory. I don't think this will work though, because I'm pretty sure the directory wont be mounted until the logon session starts and I'm guessing it wont without the appropriate home directory.
So the question becomes, what tells the OS where the home directory is in the first place. Yes it's in a default place but that path as to be stored in some config file somewhere right?
But another problem is... If the server goes down, I'll have to make sure I can log on via root at the logon screen/get into a terminal/use LiveCD to get access.
It wouldn't be too much of a problem to create an account on each machine, all my media will be on the server anyway. But if I create an account on one, it would be nice if it was automatically added to the other. And it would be great for keeping settings if I want to do a compete wipe if I'm upgrading the file-system or something. I suppose I could just do a backup like everyone else..
I have a perplexing problem that I was hoping some of you might help me solve. My servers run 10.10 and also serve as standalone LTSP hosts - none of this is terribly relevant I hope. Recently, a user complained of permission problems and so I ran a simple command:
Code: chown -R username:username /home/username/* and
I am runnin CentOS 5.4 on a machine wiht 2GB of ram. of that 2GB free -m shows that 1.8 is being used. I wanted to find out what was consumign the RAM. I came across .mozilla folder in every users home directory. I am thinkning, is this machine some kind of GUI that is consuming the ram?I did ps aux | grep gnome and ps aux | grep kde but that came up with nothing.rpm -qa | grep gnome showed lots of gnome python RPM's.I am using ssh to connect to the machine and can not log in locally to see since it is at a remote location. Is there any way of finding out if a GUI is running, if so how would I uninstall it?
I have recently joined an 11.04 server to an AD and want to configure home directories based on group membership for all AD users that login. Basically, I want one home directory for "Domain Users" and another for "Domain Admins".
Im running on Solaris 10 and I am trying to write a script that will look at all the directories in export.home and then grep for the those in passwd and will display the directories that don't have a password associated with them
Here is what I got so far but its not working. #!usr/bin/bash for i in 'ls /export/home' do test='getent passwd | grep $i' if [ $test="" ] then echo "No Home Diectories Found $i" fi done
All this does is display what was listed in the export.home. What I want it to do is just display what was not found in password.
I have installed Lucid and Maverick RC alongside each other (separate partitions) but sharing a home partition. My question is can I log in to my lucid account from maverick? It does not appear on my maverick login page but it is accessible from my places menu (home).