Horje
add a home directory for existing user Code Example
add a home directory for existing user
first edit the /etc/passwd file with root account 
#chnaging part : find your user username and add /home before it then do the following steps

#replace hamsof with user username
sudo -i                            #to get root privileges
mkdir /home/hamsof                #to create the directory /home/hamsof
cp -rT /etc/skel /home/hamsof         #to populate /home/linda with default files and folders
chown -R hamsof:hamsof /home/  #to change the owner of /home/linda to user linda





Shell

Related
git push pull asks for login everytime Code Example git push pull asks for login everytime Code Example
npm global installation not showing Code Example npm global installation not showing Code Example
how to install visual studio code in ubuntu Code Example how to install visual studio code in ubuntu Code Example
firebase commands Code Example firebase commands Code Example
install python3 and python pip in docker Code Example install python3 and python pip in docker Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9