Sep 6, 2007

Creating User Account in Linux

I need to create an OS user so that I can create separate database to experiment Oracle Streams.

# useradd -g dba -d /export/home/shawon -m -k /etc/skel -s /bin/bash shawon
# passwd shawon

Parameters
-g primary user group
-d home directory
-m create home directory
-k skeleton information (such as .profile) that can be copied into a new user's home directory.
-s user shell

To modify user
# usermod -G oinstall shawon

No comments: