💡 Elevate your Linux skills with our latest course ‘Linux Fundamentals: A Complete Guide for Beginners’. Start learning today: https://www.udemy.com/course/linux-fu...
Unlock the power of user management in Linux with our guide on 'How to Use the adduser Command: 12 Practical Examples.' Explore 12 real-world scenarios, from creating users to setting passwords and managing groups. Whether you're a Linux enthusiast or a system administrator, this tutorial provides essential command-line skills. Subscribe for more Linux insights and become proficient in user management!
Content Index
0:00 Introduction
0:14 What is the “adduser” command?
1:03 Practical Examples of the “adduser” Command in Linux
1:18 Example 1: Add a New User Using the “adduser” Command
1:58 Example 2: Add a User With a Specific Shell Using the “adduser” Command
3:03 Example 3: Add a User With a Different Home Directory
3:59 Example 4: Create a User Without Home Directory
4:42 Example 5: Add New User With a Specified User ID Using the “adduser” Command
5:36 Example 6: Add New User With a Specific Group ID Using the “adduser” Command
6:38 Example 7: Add a New System User Using the “adduser” Command
7:10 Example 8: Create a User With Disabled Login Set-up
8:06 Example 9: Create a User Without a Password Using the “adduser” Command
8:51 Example 10: Creating a Group Using the “adduser” Command
9:14 Example 11: Display the Help Section of the “adduser” Command
Example 12: Get the Version of the adduser Command
Instructor Details
Sharmin Ara Karim
https://linuxsimply.com/sharmin-ara-k...
Article Link:
The “adduser” Command in Linux [12 Practical Examples]
https://linuxsimply.com/adduser-comma...
Commands Used
----------------------------------
What is the “adduser” command?
1. man adduser
Example 1: Add a New User Using the “adduser” Command
1. sudo adduser tyan
Example 2: Add a User With a Specific Shell Using the “adduser” Command
1. sudo adduser rick --shell /bin/sh
2. grep rick /etc/passwd
Example 3: Add a User With a Different Home Directory
1. sudo adduser arsenal --home /home/football
Example 4: Create a User Without Home Directory
1. sudo adduser --no-create-home lee
Example 5: Add New User With a Specified User ID Using the “adduser” Command
1. sudo adduser -u 16101 bean
2. id bean
Example 6: Add New User With a Specific Group ID Using the “adduser” Command
1. sudo adduser --gid 1007 morty
2. id morty
Example 7: Add a New System User Using the “adduser” Command
1. sudo adduser -- system thiago
Example 8: Create a User With Disabled Login Set-up
1. sudo adduser --disabled-login tik
Example 9: Create a User Without a Password Using the “adduser” Command
1. sudo adduser --disabled-password peter
Example 10: Creating a Group Using the “adduser” Command
1. sudo adduser --group xyz
Example 11: Display the Help Section of the “adduser” Command
1. adduser -h
Example 12: Get the Version of the adduser Command
1. adduser --version
----------------------------------------------------------------------
Follow Us
Facebook: / softeko.linuxsimply
Twitter: / linuxsimply
LinkedIn: / linuxsimply
Tiktok: / linuxsimply
#linux
#linuxsimply
#linuxtutorial
On this page of the site you can watch the video online How to Use "adduser" Command in Linux: 12 Practical Examples | LinuxSimply with a duration of hours minute second in good quality, which was uploaded by the user LinuxSimply 06 January 2024, share the link with friends and acquaintances, this video has already been watched 451 times on youtube and it was liked by 16 viewers. Enjoy your viewing!