Go to your University || Python Lab || DSA Lab || AI & Machine Learning Lab || Linux Lab || OOPs Lab || DBMS Lab || JAVA Lab ||| Free Online Tutorials
companies for Campus Placement || Logical Reasoning || Quantitative Aptitude || General English || Technical-MCQ and Interview Questions || HR Interview Questions
0 like 0 dislike
11 views

1 Answer

0 like 0 dislike
by Goeduhub's Expert (7.8k 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.

 

Related questions

0 like 0 dislike
1 answer 13 views
asked Nov 2, 2019 in Tutorial & Interview questions by Goeduhub Goeduhub's Expert (7.8k points)
0 like 0 dislike
1 answer 13 views
0 like 0 dislike
1 answer 28 views
0 like 0 dislike
1 answer 14 views
asked Nov 2, 2019 in Tutorial & Interview questions by Goeduhub Goeduhub's Expert (7.8k points)
0 like 0 dislike
1 answer 19 views
 Placements:   List of companies | Logical Reasoning Questions | Quantitative Aptitude Questions | General English Questions | Technical-MCQ and Interview Questions
 Online Free Training:  MACHINE LEARNINGPython Programming | Database Management System(DBMS) | Object Oriented Programming(OOPs) using C++ | Data Structures and Algorithms(DSA) | Java Programming | Linux/Unix | C Programming
Exams: List of Exams After Graduation | List of Engineering Entrance Examinations (UG/PG) | JEE Main | JEE Advanced | GATE | IES | ISROList of PSUs
 Download Previous Year Papers For:  GATE | IES | RAJASTHAN TECHNICAL UNIVERSITY (RTU-Kota)RPSC Technical Exams | ISRO
 Goeduhub
About Us | Contact Us   Social::   |  | 

 

...