HiHi Vadim!

You can specify exact UIDs for each user you create with adduser. Problems start to arrive only when existing (old) UIDs or GIDs interfere with (new) system ones. And even in this case something like this will do the job:

set -e
cd /home
for U in alex joe paul; do

I thought about doing something like that and IFF this'd been a major enterprise situation I certainly would have. Turns out that I threw away a few old test/junk accounts and only about 30 do do manually. Adduser took about 30 seconds each just running down a list of names, about 10 mins to create the chown script and 10 mins to run that. The real advantage of manual adduser was that I wanted to stick with *absolute* 'uname/user name/user account/whatever-detail-compatibility' with anything the formal process might be doing along the way, rather than kludge/fudge/massage the ownerships, passwd/group files. Being unfamiliar with OBSD I thought the -risk- of missing something along the way or otherwise screwing something up was pretty high.

TY and have a :) day!

Jim

--
jim barchuk
[email protected]

Reply via email to