Skip to main content

Posts

Featured

User Management in Linux

Add User Note:- We can add user Two type 1) By creating user this command it will ask all information as well as it set password for user at the same time and It create home directory for that user. #sudo adduser %user_name% Ex. sudo adduser a Adding user `a' ... Adding new group `a' (1001) ... Adding new user `a' (1001) with group `a' ... Creating home directory `/home/a' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for a Enter the new value, or press ENTER for the default  Full Name []:         Room Number []:         Work Phone []:         Home Phone []:         Other []: Is the information correct? [Y/n] 2) Using this command it just create user no home directory, no password. #sudo useradd %user_name% Ex. sudo useradd b Set or Change Password of any user #sudo passwd %user_name% Ex. #sudo passwd c Enter n

Latest Posts