rcs build failure
Steven Michalske
michalsc at email.uc.edu
Wed Feb 12 12:16:13 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
unfortunatly this still requires shadow
as tchan and i had a conversation on this in #lunar
our final thoughts was to implement a lunar user with a shell
though this is still up in the air at the moment
hardkrash
On Wednesday 12 February 2003 11:50 am, Shern, Benjamin J wrote:
> Please use "-pc" option to su as it preserves environment.
> Thanks,
> Ben
>
> > -----Original Message-----
> > From: Steven Michalske [mailto:michalsc at email.uc.edu]
> > Sent: February 12, 2003 9:26 AM
> > To: This is the primary mailing list for Lunar Linux!
> > Subject: Re: rcs build failure
> >
> >
> > -----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
>
> _______________________________________________
> 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+SoFeJhwOdxS4dYERAmEKAJ0Vog4+xP0JpQkXzQJIhm2TinJOKACgrrF0
p8j0Y8Pje/v8mSwWpQo+xmA=
=bVhb
-----END PGP SIGNATURE-----
More information about the Lunar
mailing list