There are a few problems today when practicing the Useradd command to add Linux ordinary users.
1, after adding the user, using the usedel command to delete the user and found that the corresponding group was also deleted.
Q, does the Userdel Delete command affect only the basic group of user?
2, add the user to use the-D/XXX/XXX/USERNAME hint cannot create the directory, but can successfully add the user, and can be changed through the SU command users, but will prompt-bash 4.1$, one:
Q, how to solve the problem of prompting-bash 4.1$?
Q, switch user after the use of the W command to see the current user two, why the root user, this is to say that the user did not completely switch?
Q, how do I see which users and groups a file or directory belongs to?
I am a novice Linux, ask the question may be a little white, I forgive you.
Figure One:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/2B/wKiom1Xd8ZXwrhxsAATtq8CCIqw221.jpg "title=" Unable to switch to directory. png "alt=" wkiom1xd8zxwrhxsaattq8cciqw221.jpg "/>
Figure II:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/27/wKioL1Xd9UGRZelXAAJ0ux5FEzY643.jpg "title=" user Switch. JPG "alt=" Wkiol1xd9ugrzelxaaj0ux5fezy643.jpg "/>
This article from "Make money to buy sugar to eat" blog, reprint please contact the author!
Linux User Management Command questions-useradd < a >