LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   users and groups (https://www.linuxquestions.org/questions/linux-newbie-8/users-and-groups-148929/)

Red Squirrel 02-21-2004 07:34 PM

users and groups
 
Is there a way to manage users and groups with the command line? I would assume yes, but I'm just not sure how. :D

Basically I want to be able to create users, put them in multiple groups, set home directory stuff like that. Thanks.

DrOzz 02-21-2004 07:38 PM

type :
useradd
without any other arguments and it should show you all the instructions it can take
such as adding to groups, the home folder, etc ....
man useradd for a more detailed description ..

there is also :
adduser
userdel
usermod
groupadd
groupdel
groupmod

etc, etc, etc ;)

Red Squirrel 02-22-2004 07:37 PM

Thanks I think that will do it.

Also is there a way to view users like in a list or something? Sometimes I want to modify a user, or simply view information on a certain user but don't quite remember the name.


All times are GMT -5. The time now is 02:57 PM.