UNIX admin writes:
> 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?

We would file CR 6387333 (the RFE to add alternate root support to all
of the {user,role}{add,mod,del} family of commands, and perhaps
passmgmt as well), and either wait for someone to implement it, or go
off and implement it ourselves.

Don't succumb to the temptation to use "chroot" to solve the problem.
It doesn't work during Live Upgrade, and it's a hack may fail without
notice or workaround -- exactly as it did with CR 6375652.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to