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
Unix OS

Avatar of undefined
Last Comment
rajsolaris

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
yuzh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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.
yuzh

>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!

rajsolaris

ASKER
Thanks
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy