SUMMER TRAINING Free Tutorials  Go To Your University  Placement Preparation 
Project Based Best Summer Training Courses in Jaipur
Join our Telegram Channel To take free Online Courses
0 like 0 dislike
38 views
in Tutorial & Interview questions by Goeduhub's Expert (8.2k points)

1 Answer

0 like 0 dislike
by Goeduhub's Expert (8.2k points)
 
Best answer

Parameter                                                                    Details

username                                    The name of the user. Do not use capital letters, do not use dots, do not end it in dash, it must not include colons, no special characters. Cannot start with a number.

Setting your own password

passwd

Setting another user's password
Run the following as root:
passwd username

Adding a user

Run the following as root:

useradd username 

Removing a user

Run the following as root:

userdel username

 Removing a user and its home folder

Run the following as root:

userdel -r username 

Listing groups the current user is in 

groups

More detailed information about user and group numerical IDs can be found with the id command.

Listing groups a user is in

groups username

More detailed information about user and group numerical IDs can be found with id username.

 

Our Mentors(For AI-ML)


Sharda Godara Chaudhary

Mrs. Sharda Godara Chaudhary

An alumna of MNIT-Jaipur and ACCENTURE, Pune

NISHA (IIT BHU)

Ms. Nisha

An alumna of IIT-BHU

Related questions

0 like 0 dislike
1 answer 49 views
asked Nov 2, 2019 in Tutorial & Interview questions by Goeduhub Goeduhub's Expert (8.2k points)
0 like 0 dislike
1 answer 65 views
0 like 0 dislike
1 answer 86 views
0 like 0 dislike
1 answer 55 views
asked Nov 2, 2019 in Tutorial & Interview questions by Goeduhub Goeduhub's Expert (8.2k points)
0 like 0 dislike
1 answer 65 views

 Goeduhub:

About Us | Contact Us || Terms & Conditions | Privacy Policy || Youtube Channel || Telegram Channel © goeduhub.com Social::   |  | 
...