top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

user creation during installation [CLOSED]

+2 votes
206 views

What happens if I am installing over an existing system. I have a directory on its own /home partition

/home/username

During installation it ask to set an Administrator user. One of the options is "Create a home directory for this user". What happens here if the directory already exist, will it be erased? Or will the installer use the existing directory?

closed with the note: None
posted Aug 20, 2013 by Seema Siddique

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote
 
Best answer

In a situation like that, I'd be inclined to create a completely new user, then deal with adding an old user, post-install. You've got a much easier time testing how things will behave when working with a running system. And having a new, spare, user logon to do any debugging on a system is very handy, anyway.

But I can't imagine a setup deleting an already existing homespace, it'd be a really dumb way of handling user accounts. Having said that, being asked to "create a home directory" is a bit odd, too. And I can imagine the possibility of setting up a new user in a prior user's files might have the chance of installing a few default files over the top of existing ones, ones that might have been customized.

All that sort of things goes to show why it can be useful to set up a completely different user, then experiment with the account editor on a running system, rather than one that's in the process of installing.
You've got more chance to poke around and try things, without facing the prospect of the install doing something you don't like, without finding out until it's too late. Or having to restart the install several times
over, trying out different options.

answer Aug 20, 2013 by Abhay Kulkarni
+1 vote

It should ask you if you want to use the existing directory or create a new one.

answer Aug 20, 2013 by Dewang Chaudhary
Similar Questions
+1 vote

Is there any way to change default permission of file creation in linux ?

+1 vote

I am new to MongoDB and try to install MongoDB 3.2.9 on Ubuntu 14.01 LTS. I found there are different ways to install it as below:
1. The MongoDB official guidance use the apt-get install.
2. Download the package and create folders like bin, data, log, conf etc. and then manually and copy the corresponding modules to the bin when needed.

I am wondering which method should I use. Seems the second one is more flexible as its hard to make sense what the first one has done to the OS.

Could you advise any other impact and differences about the two methods for installation? Thanks in advance!

0 votes

I'd like to install a master on a virtual machine and rsync this installation to ten clients (desktop installation for a library). Also, all changes after the initial installation to this master image should be replicated to them.

There are some modifications for the master installation necessary. It must not use UUIDs for example.

Is there a ready-to-use script for this scenario?

Thank you in advance.

...