Skip to content

Identity and Access Management

1. useradd

useradd suresh1

Create user with comment

sudo useradd -c "Suresh Kumar" suresh1
This comment is updated in /etc/passwd file.

To Check:

$ getent passwd | grep suresh1
suresh1:x:1001:1002:Suresh Kumar:/home/suresh1:/bin/bash
$

Back to top