Hi,

This sounds like an interesting approach.  The -R switch sets an 
alternate root for
the package delivery, so the package's dependencies also need to exist 
at the same
location. This makes the problem larger than just adding a user.  I 
think I would
limit the scope of the package, creating a package per user, so the 
alternate root
would not be needed.

Please post the solution you come up with.  This sounds like an 
interesting idea.

Charles



UNIX admin wrote:
> Like it says in the subject, I'd like to create "technical" users, like for 
> example "named" or "oracle" on a target system via something like:
>
> `pkgadd -R /export/client107994/ ABCDoracleuser`
>
> What I don't see in the `passwd`, `useradd` and `userdel` commands when 
> reading through the man pages are options which would basically do "-R". The 
> closest thing to it looks like "-b" in `useradd`, but again `passwd` doesn't 
> seem to have anything.
>
> How would Sun do it?
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> install-discuss mailing list
> install-discuss at opensolaris.org
> http://opensolaris.org/mailman/listinfo/install-discuss
>   

Reply via email to