How to create new user and add group

Hello,
I am new in AIX please tell how can i create user and add group in this user for example, i want to create user umair and want to add this user primanry group DBA and secondary group ORACLE,how can i do this please tell in detail

Thanks,
Umair

You can create a user using useradd.

You can specify which groups the user belongs to using the -g and -G options.

Read the man-page for useradd to learn more.

Running smitty user will give you a nice interface to let you see all the available options. When you've selected, or typed-in, everything you need, press F6 and you'll see the command that smitty would run.

1 Like