Here’s how to create a new user in linux, specifically CentOS.

syntax
useradd -d [folder_name] -s /bin/bash -c "[name]" [userid]

sample
useradd -d /usr/kwatog/ -s /bin/bash -c "Kwatog Admin" kwatog

set the password
passwd kwatog

Comments are closed.

Post Navigation