avatar
Articles
293
Tags
89
Categories
6
Home
Archives
Tags
Categories
Link
About
Others
  • Music
  • Gallery
Vines' LogUbuntu clone a user profile with all applications
Search
Home
Archives
Tags
Categories
Link
About
Others
  • Music
  • Gallery

Ubuntu clone a user profile with all applications

Created2022-07-11|Software Development
|Post Views:

Procedure

First create a new user manually (e.g. user2), you can do it through GUI

Then you copy the files recursively (need to explicitly copy . files as well)

1
2
3
cp -a /home/user/* /home/user2/
cp -a /home/user/.* /home/user2/
sudo chown user2:user2 /home/user2/ -R

Then (Optional) set a password for that newly created user

1
sudo passwd user2

Reference

  • Can’t Clone a User Profile?
  • Clone User, copy all files and folders and copy rights (Linux)
  • How do I change a user password in Ubuntu Linux?
Author: Vines
Link: http://vinesmsuic.github.io/linux-cloneuser/
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
LinuxUbuntu
cover of previous post
Previous
Brief Introduction Object Detection - RCNN and YOLO
CNN is for classification and RCNN is for object detection. The difference between object detection algorithms and classification algorithms is that in detection algorithms, we try to draw a bounding box around the object of interest (localization) to locate it within the image.
cover of next post
Next
Setting up SSH server on Ubuntu
I want to set up a SSH server that is on a different port on ubuntu.
Related Articles
cover
2020-09-11
Common Questions of Linux Beginner
Common Questions for Linux Beginner. Ubuntu is a free and open-source Linux distribution based on Debian. Ubuntu is officially released in three editions :Desktop, Server, and Core. All the editions can run on the computer alone, or in a virtual machine. Ubuntu is a popular operating system for cloud computing, with support for OpenStack.
cover
2019-10-05
Linux Command Line (Shell) Basics
On Linux, bash is the standard shell for common users. This shell is a so-called superset of the Bourne shell, a set of add-ons and plug-ins. This means that the Bourne Again shell is compatible with the Bourne shell :commands that work in sh, also work in bash.
cover
2023-04-24
How to set my CUDA_HOME in a conda environment?
Messing with CUDA is alway pain in the back. How do I set my CUDA_HOME in a conda environment? Where is nvcc located?
cover
2021-01-10
Installing CUDA and CuDNN on Linux
Install CUDA is really annoying. So I made this guide to guide myself. Basically we need to first install the correct Driver, then install the CUDA Toolkit and CuDNN.
cover
2021-02-03
Customizing the Linux Ubuntu
My personal list on customizing my linux ubuntu 18.04. We can use grub-customizer to change the Boot Order in Windows Linux Dual Boot. But It could be destructive to use the grub-customizer tool.
cover
2021-03-18
Build OpenCV with GPU support on Ubuntu 18.04
A quick guide to install OpenCV with GPU support. Prerequisites are Nvidia Driver, CUDA and cuDNN.
avatar
Vines
Vines' Learning Journey
Articles
293
Tags
89
Categories
6
Announcement
Breaking Change - :year/:month/:day/:title/ => :title/
Contents
  1. 1. Procedure
  2. 2. Reference
©2019 - 2025 By Vines
Framework Hexo 5.4.0|Theme Butterfly 5.3.3
The journey is many times better than the end.
Search
Loading Database