Re: freesbie2 adduser
"Lee J. Imber" <[email protected]>
| Newsgroups | gmane.os.freebsd.freesbie |
|---|---|
| Message-ID | <[email protected]> |
On Jan 2, 2006, at 10:53 AM, Lee J. Imber wrote: > > On Jan 2, 2006, at 7:21 AM, Dario Freni wrote: > >> Lee J. Imber wrote: >>> Here is my conf/freesbie.conf line. >>> >>> # Set EXTRA variable to the additional plugins you want to run in >>> your >>> # system. Please note that plugins are executed in the same order as >>> # listed in this variable >>> # >>> EXTRA="customroot rootmfs etcmfs" >> >> Is the master.passwd file present in /usr/local/freesbie-clone ? >> If you >> are using NO_BUILDWORLD, can you try rebuilding world from scratch? > > I have commented out the NO_BUILDWORLD and NO_BUILDKERNEL lines > in conf/freesbie.conf and doing a make iso now. > > After this is completed, what steps do you recommend to : > > a. Set a root password. > b. Create a user with passwd. > This is completed. This is what I did. Did a new build with NO_BUILDWORLD and NO_BUILDKERNEL commented. To create a root password: chroot /usr/local/freesbie-fs/ /usr/bin/passwd root Then: cp /usr/local/freesbie-fs/etc/passwd /$BASDIR/extra/customroot/etc/ passwd cp /usr/local/freesbie-fs/etc/master.passwd /$BASDIR/extra/customroot/ etc/master.passwd cp /usr/local/freesbie-fs/etc/pwd.db /$BASDIR/extra/customroot/etc/ pwd.db cp /usr/local/freesbie-fs/etc/spwd.db /$BASDIR/extra/customroot/etc/ spwd.db I'm not sure If I needed all those files, I think maybe master.passwd and pwd.db might be all that is required. Someone on the list might be able to clarify. I basically followed the same procedure for adding users as well. One thing to remember to move is the group file. Thanks, Lee > >> >> We use a customised master.passwd in pfSense and it works correctly. >> > I have been using pfsense for a while, very sweet package! > > Thanks Dario, > > Lee > >> -- >> Dario Freni ([email protected]) >> FreeSBIE developer (http://www.freesbie.org) >> GPG Public key at http://www.saturnero.net/saturnero.asc >> -- >> FreeSBIE mailing list (http://www.freesbie.org) > > -- > FreeSBIE mailing list (http://www.freesbie.org) -- FreeSBIE mailing list (http://www.freesbie.org)