rcs build failure

Auke Kok auke.kok at planet.nl
Wed Feb 12 21:10:34 GMT 2003


hi,

current lunar setups come with a valid shell for 'operator' which is in
a way the preferred user for this anyway (user intervened stuff, but not
root).

you might wanna try substituting operator for bin.

sofar

On Wed, 2003-02-12 at 17:25, Steven Michalske wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> what about this
> 
> useradd rcs_build -s /bin/bash blah blah blah &&
> su rcs_build -c "PATH=$PATH; ./configure --prefix=/usr && make"  &&
> prepare_install &&
> make install &&
> rmuser rcs_build &&
> 
> hardkeash
> 
> On Wednesday 12 February 2003 11:12 am, Terry Chan wrote:
> > Ben,
> >
> > Not a lot of RCS users in lunar as all the devs have to use CVS.
> >
> > The problem you are having is from a fix by our "security" dev.  User
> > bin used to have a shell in /etc/passwd, but the security dev claims
> > that this is a really bad idea so we changed /etc/passwd to not give
> > a shell to bin and that broke the RCS build as you have discovered.
> >
> > This will have to be resolved before RCS will work again.  We probably
> > do not want to add a depends on the module shadow for RCS to work
> > correctly.
> >
> > If it turns out your solutions is the easiest way, then it'll be fixed
> > accordingly.  Thanks for the help.
> >
> > Terry Chan
> > ------------------------------------------------------------------
> >
> > On Tue, Feb 11, 2003 at 06:44:29PM -0700, Shern, Benjamin J wrote:
> > > Not sure if anyone else has run into this or if it's
> > > just me, but this is what I had to do to get rcs to build.
> > > The problem I ran into seems to be that the user "bin" has no shell.
> > > This is the tweaked BUILD that seemed to solve the problems.
> > >
> > >
> > > # Quick note:
> > > # RCS doesn't like to be compiled as root, as the make is
> > > # doing several of the tests, and these tests need to be executed
> > > # as a non-root user :(
> > > # that's the reason for the chown & su to user bin!!!!
> > >
> > > (
> > >
> > >   bins_shell=`cat /etc/passwd | grep '^bin:' | cut -f7 -d':'`
> > >   usermod -s /bin/bash bin
> > >   chown   -R  bin:bin  .                    &&
> > >   su bin  -pc  "PATH=$PATH; ./configure --prefix=/usr && make"  &&
> > >   prepare_install                           &&
> > >   make    install
> > >   usermod -s "$bins_shell" bin
> > >
> > > ) > $C_FIFO 2>&11
> > >
> > >
> > > rcs then has depends on module shadow after this fix...
> > > regards,
> > > Ben
> >
> > _______________________________________________
> > Lunar mailing list
> > Lunar at lunar-linux.org
> > http://lunar-linux.org/mailman/listinfo/lunar
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE+SnWaJhwOdxS4dYERAk3uAJ9DToYrWT3INyDJfn7/okjjpUVRsACePcA4
> tybXJEaNb0WINSpZwohr+gc=
> =HvZf
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar
-- 
Auke Kok <auke.kok at planet.nl>



More information about the Lunar mailing list