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
ADVERTISEMENT
Sep 1, 2011
I'm looking for the easiest or cleanest way to copy a user's settings to a new user's settings. I don't need to copy any files from the original user, but setting up a home directory would be great.
If it's done at the command line, that would be just fine. I'm very familiar with working at the command line.
View 9 Replies
View Related
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
Oct 22, 2010
i want make a bash panel and i want he will copy files from orginal folder to $user folder i mean when for explame i type i want install some server he say cp: cannot stat 'root/Desktop/2/files/beckup/sa-mp-steam': No such file or directory.
View 6 Replies
View Related
Aug 27, 2010
How to copy a user with all personal settings like desktops icons, desktop background etc. under Lenny?
I'd like to create a new user with all settings from the existing user.
View 4 Replies
View Related
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
Mar 28, 2010
Not sure if this i the right forum, please let me know if I need to post elsewhere. First, here are my system specs:
HP DV 2808
250 gig SATA drive
4 gig DDR
Nvidia 7150 mobile
Windows 7
Fedora 12
I have my HP DV2000 laptop configured to dual boot Win 7 and Fedora. What I would like to do is mount the Windows folders, (Documents, Music, etc.) automatically in my Fedora home folders. I have done/tried the following:
1: identified my partitions:
[Code]...
View 1 Replies
View Related
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
Aug 27, 2010
Howto copy a user with all personal settings like desktops icons, desktop background etc. under 10.04?I'd like to create a new user with all settings from the existing user.
View 1 Replies
View Related
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
Feb 27, 2010
I just installed virtualbox and installed windows xp on it. I need windows xp for compiling my Lazarus (Free Pascal Compiler) projects in it, so that something I program on ubuntu works on Windows too. Windows works correctly on the virtual machine, there is just one problem. How do i copy a file from ubuntu(for example from/home/user/downloads) into the C drive of windows(Windows is installed on the virtual machine)
View 4 Replies
View Related
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
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
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
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
May 4, 2011
Is possible to make a folder permission like below?
-User can create files/folders in the shared folder.
-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)
-Each new files/folders created will auto owner to root only.
View 4 Replies
View Related
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
View Related
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
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
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
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
Jan 21, 2010
Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
View 3 Replies
View Related
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
Jun 16, 2011
Do you think there is a way of accessing different user data from another account which I have set up.
Ie. user 1 = account has messed up
user 2 = account works fine
access user account 1 home directory from user 2 work space?
View 9 Replies
View Related
Aug 11, 2010
This applies to users of 10.04 (64 bit), but I would like to hear from those running 10.04 (32 bit) and 9.10 (64 or 32 bit).Would you be good enough to answer this question: Do you have an �enable scanner option� (or a variation of that phrase) in (GOTO) System-Administration-Users & Groups- [Your Admin Account]- Advanced Settings- User Privileges?It would be immensely helpful of you if you could do this and post me your answer.
View 2 Replies
View Related
Feb 16, 2010
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
View 9 Replies
View Related
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
Feb 2, 2011
created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??
View 4 Replies
View Related
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
May 12, 2011
i have rhel 5.2 and i want to create user using useradd command without creating user home directory and not throwing any warning/error about not creating any home directory.i have tried useradd -u "$NEW_UID" -g <gid> -d "/home/$1" -M "$1"where $1 is user name and $NEW_UID is i am calculating.it throws error as useradd: cannot create directory /home/$1which i dont want to come , how to prevent this?
View 1 Replies
View Related