Link to home
Start Free TrialLog in
Avatar of Indyrb
IndyrbFlag for United States of America

asked on

Add user to solaris and give ownership to folder

I need to add user to server A(remote site) and give ownership of TIMBER under /app to appdisc:dba

This user dows not exist in production at HQ, but the Oracle Discovery Software which resides on a dev/test at HQ is used production reporting


And what does this line mean? Does it go somewhere?
appdisc:x:1005:1001:Oracle Discover Software Owner:/app/TIMBER:bin/ksh
Avatar of johnsone
johnsone
Flag of United States of America image

This line:

appdisc:x:1005:1001:Oracle Discover Software Owner:/app/TIMBER:bin/ksh

is a line from the /etc/passwd file.  I would highly recommend using the useradd utility to create a new user and not edit the files directly.  One missed field and nobody can log into the system at all.

Doc for useradd in Solaris should be here -> http://docs.oracle.com/cd/E23824_01/html/821-1462/useradd-1m.html
Avatar of Indyrb

ASKER

if using the useradd command -- what would the who syntax be to complete the first post?
ASKER CERTIFIED SOLUTION
Avatar of johnsone
johnsone
Flag of United States of America image

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