Has anybody faced this problem in Linux. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Has anybody faced this problem in Linux.

Creating a user using 'createuser' command and switching to the user and u don't find the Desktop directory along with all other directories that are usually created like documents, downloads etc? However these all will be created once we login through this user on a graphical environment. My question is how to do this when u have only command line access to the system

14th Dec 2017, 10:45 AM
Neeraj Kumar
Neeraj Kumar - avatar
3 Answers
+ 1
All the directory gets created and set up only after you login to new user account. You might need this to change account in the Terminal: https://unix.stackexchange.com/questions/3568/how-to-switch-between-users-on-one-terminal
14th Dec 2017, 11:27 AM
Niush
Niush - avatar
0
Thanks charan & niush. NIUSH, I have access to server through ssh and I have tried successful login using the new user... I didn't see all directories created...after login...
14th Dec 2017, 11:31 AM
Neeraj Kumar
Neeraj Kumar - avatar
0
Sorry, But if you mean accessing other user folders may be this will help. chmod -R a+r /home/user/
14th Dec 2017, 12:10 PM
Niush
Niush - avatar