Link to home
Start Free TrialLog in
Avatar of rajsolaris
rajsolaris

asked on

How to create a user in solaris 10 with pbrun access?

Hi Experts,

I am not much aware about how to give pbrun access to a user in  solaris?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rajsolaris
rajsolaris

ASKER

Can you please be specific on args. i have used sudo before But with my new project the requirement is this, thats the reason.

Thanks.
>Can you please be specific on args.

It depends on how you want to create the user, eg:
useradd -c "User comment or GCOS" -d /home/newuser -p passwd -g group -m -k /etc/skel -s bin/sh newuser

or
useradd -u $UID -g $GROUP -d $HOME -p $PASSWD $name

man useradd
to learn more details.

To use script to create users, please have a look at the answer/examples in:
http:Q_22137545.html
http:Q_21907408.html
http:Q_22417044.html

it is better to write a script first, the use sudo to run the script.
have a nice weekend!

Thanks