Identity and Access Management
1. useradd
useradd suresh1
Create user with comment
sudo useradd -c "Suresh Kumar" suresh1
To Check:
$ getent passwd | grep suresh1
suresh1:x:1001:1002:Suresh Kumar:/home/suresh1:/bin/bash
$
useradd suresh1
sudo useradd -c "Suresh Kumar" suresh1
To Check:
$ getent passwd | grep suresh1
suresh1:x:1001:1002:Suresh Kumar:/home/suresh1:/bin/bash
$