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.
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.
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"
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?
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.
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
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 ?
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?
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.
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.
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.
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?
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?
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.
I am now using CentOS5 as the server providing Apache services. I have managed to setup the web page under /home/user1/public_html, now I wish to change the default web page of our server to /home/user1/public_html. i tried to modify httpd.conf, in which i changed the "/var/www/" to the above user directory, but didnot work. Please kindly suggest.
When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.
I am setting up a mail server. After installation of shorewall-common, shorewall-doc
Following this link http://flurdy.com/docs/postfix/ For setting up It requires me to copy thge content of /usr/share/doc/shorewall-common/default-config/rules to /etc/shorewall cp /usr/share/doc/shorewall-common/default-config/rules /etc/shorewall/
But i observed that the folder default-config is missing. I have purge it apt-get and reinstalled but still it does it have that folder. What could cause this thing and how can i go about it?
I installed UNR 10.04 the other day, and it was my second time to install due to complications in the first go around. I installed UNR specifying partitions manually, and erased my first install and used that partition for my current one. In the process I shrank the swap area from 5G to 2G in order to match up to my RAM and free up 3G of space I could now use. Here is where I goofed: I was left with around 114G of free space, then the 2G of swap, then 3G of more free space. Well I specified the 3G to be mounted at /home hoping it would just add that free space to the big 114G space. But, alas, now I have a home folder that has only 1G of free space, and more music and movies I wish to save. How can I get more room in my /home folder or merge it somehow to all be in the main install space?
I am having troubles getting my box set up how I want it. I have 2 HDD's I wish to install Ubuntu and Swap on the smaller one and have my Home folder with all my Docs/Music/Vids etc on the second HDD. Is this possible?
I have just installed Ubuntu Jaunty (I do not like Karmic, please don't try to make me upgrade) and after installing all my programs I realized I did not encrypt my home directory.
I know it's very simple to do this during the installation but I can't seem to find an option to do it after it.
I did a fresh install of ubuntu 9.10 yesterday while trying to get my wireless working again (a problem for another forum). I have previously put my home folder on a separate partition.Having foolishly assumed that it would pick up the home folder as such after the install. Of course it didn't. The partition is still intact but it is not being recognised as the home folder.
Many Ubuntu users seem have their /home folder on a separate partition (better security?). I have a OK dual-boot installation (Win7+Ubuntu 10.04) - should I try to move my /home folder ? If so, how ?I DO NOT want to get into any troubles with my existing setup !I have free (unallocated) disk space both outside and inside the extended partition which is used for Ubuntu (90 GB, Ubuntu is 60 GB ext4 + 7 GB swap).
I recently installed Ubuntu 10.10 on my machine. I logged in and installed a few programs like wine. Everything went fine until I rebooted. Now, after I log in, it gives me 2 error messages: One about how it could not update ICEAuthority or something
Another about how usr/lib/libconf2-4/gconf-sanity-check2 returned status 256. Then, something else pops up about how Nautilus can't find or doesn't have permission to write to home/user/Desktop and ome/user/.nautilus. I tried booting in recovery mode and did a dir on /home, but nothing showed up, which makes me think that they somehow disappeared or they aren't being shown.
after this i cannot boot says cannot boot ,nautilus cant find home folder etc &more after doing alt-ctrl-f1 and doing login i can find my old home folder with all inside the point is how i can change to my old home folder -have to find the solution in order not to do format again i use ubuntu desktop edition on an acer aspire one netbook with ssd 8gb -
as oldfred said have to setup fstab ,i agree i saw some threads with this but how this can be done?
I downgraded from 11.10 to 10.10 via installation CD, because the 11.10 installation was lost beyond recovery.
The 10.10 installation works fine except one problem During the installation, I selected manual setup of Partitions and my home partition was not recognized as /home but only as ext4.
Fortunately I managed to recognize it, due to the size of the partition, so I prevented this partition from being formatted.Now, this partition is not my home partition, but just an ordinary partition, which I can access and where all my files are present.Anybody knows any magic trick, how I can make this partition my home partition?
I had some trouble with my installation of Ubuntu 10.4 so I decided to reinstall the OS. (I have my /home on a separate partition). [ntfs] [ntfs] [ext3/home] [ubuntu] [swap]
I re installed Ubuntu on the partition I set aside for the OS. Ubuntu installed, everything works as it should but now all the contents my Home folder is gone! I did not set any options that would of formatted the /home partition during installation I only set the partition to be used for home selecting [use this partition]. I suspect that Ubuntu set the home folder back to the way it comes out of the box I need to recover this drive, its so important that its life or death! How can I recover this partition and the files that where on this drive?