I was making the site48.tgz for testing and there is only /etc/rc.firsttime. 
There is a command line to create some new users for this purpose.

The next step was I put the site48.tgz on /home/OpenBSD/4.8/amd64 (the same 
folder where base48.tgz, etc48.tgz etc there) and make iso file using mkhybrid.

During the installation using the new iso file, the site48.tgz is displayed on 
the menu and I was able to include in as a set (by clicking +site48.tgz) and 
the 
installation was successfull.

However, after I log in to the new system, the new users that I created (using 
some command line on /etc/rc.firsttime file inside site48.tgz) do not exist at 
all. I have tested /etc/rc.firsttime on another machine by copying rc.firsttime 
on /etc folder and reboot manually and it works normally.

Is there a way to check what went wrong here?

Below is the sample of the content of rc.firsttime:
#!/bin/ksh

#creating the detail for fwadmin account
groupadd -g 1011 fwadmin
useradd -p '$2a$06$rJ5kpL.4nZ.qQPHnbO' -u 1011 -s /bin/ksh -m -g fwadmin fwadmin

Regards,
Stefanus





________________________________
From: Andrew Fresh <and...@afresh1.com>
To: misc@openbsd.org
Sent: Tue, May 10, 2011 8:40:28 AM
Subject: Re: Creating release using site48.tgz

On Mon, May 09, 2011 at 05:28:12PM -0700, Stefan N wrote:
> Thanks. By the way, I don't see the release directory inside the source 
> file(/usr/src) directory.
> Does it mean that I need to create directory mkdir /usr/release first  if my 
> source files is at /usr/src?

The release man page does describe creating RELEASEDIR

# mkdir -p ${DESTDIR} ${RELEASEDIR}

I generally set RELEASEDIR=/usr/release, but it can really be a path
anywhere you want your sets.  The important part is that site48.tgz is
in the same directory as the rest of the install sets.


l8rZ,
-- 
andrew - http://afresh1.com

Computer Science: solving today's problems tomorrow.

Reply via email to