[Keystone Slip #17] Try out new shadow suite

lfs-book at linuxfromscratch.org lfs-book at linuxfromscratch.org
Fri Mar 30 16:28:16 PST 2001


---------------------------------------------------------------------------
Slip number -----: 17 (Try out new shadow suite)
Contact ---------: None
Problem ---------: Try out new shadow suite
Opened by -------: gerard (Gerard Beekmans) on 03/12/2001 16:07
Assigned To -----: balu (Thomas Walter)
Current Status --: O (Open)
---------------------------------------------------------------------------
Summary:
If it fails with an nflg undefined error:
useradd.c:1768
-if (! (nflg || gflg)) {
+if (!gflg) {

I did two patch-files. One that just patches this bug and a second that additionally disables making the polish man pages.
Both can be DLed at http://balu.dnsalias.org/LFS/CVS - we have to choose if we want to install those man-pages or not (and if not, use the patch or just rm them?) and someone with access has to put them on ftp://packages.linuxfromscratch.org/new-in-cvs
                                                       Installation then looks the following way: 

patch -Np0 -i ../shadow-20001016.patch && 
./configure --prefix=/usr && 
make && 
make install && 
cd etc && 
cp limits login.access \ 
   login.defs.linux /etc && 
mv /etc/login.defs.linux /etc/login.defs 

You might also have noticed that there are no shells and suauth files in the etc-dir anymore. 

Fix in the book will be made if the patch-file got uploaded.
---------------------------------------------------------------------------
History:
03/30/2001 19:28 by balu:
Summary changed to

"If it fails with an nflg undefined error:
useradd.c:1768
-if (! (nflg || gflg)) {
+if (!gflg) {

I did two patch-files. One that just patches this bug and a second that additionally disables making the polish man pages.
Both can be DLed at http://balu.dnsalias.org/LFS/CVS - we have to choose if we want to install those man-pages or not (and if not, use the patch or just rm them?) and someone with access has to put them on ftp://packages.linuxfromscratch.org/new-in-cvs
                                                       Installation then looks the following way: 

patch -Np0 -i ../shadow-20001016.patch && 
./configure --prefix=/usr && 
make && 
make install && 
cd etc && 
cp limits login.access \ 
   login.defs.linux /etc && 
mv /etc/login.defs.linux /etc/login.defs 

You might also have noticed that there are no shells and suauth files in the etc-dir anymore. 

Fix in the book will be made if the patch-file got uploaded."

from

"If it fails with an nflg undefined error:
useradd.c:1768
-if (! (nflg || gflg)) {
+if (!gflg) {"
 
-----
Comment from balu:
Hell - it's 02:32 and it looks like I am not knowing what I am doing anymore ;-)
---------------------------------------------------------------------------
03/30/2001 19:07 by balu:
Current tech set to "Thomas Walter (balu)"
 
-----
Comment from balu:
uh - I wasn't maintainer here? :)
---------------------------------------------------------------------------
03/30/2001 18:55 by balu:
Make of the shadow-20000116 failed because of the known nflg-problem:

shadow-20001016.patch:
--- src/useradd.c       Mon Oct  9 20:03:12 2000
+++ src/useradd.c.patched       Fri Mar 30 23:45:52 2001
@@ -1765,7 +1765,7 @@
         * to that group, use useradd -g username username.
         * --bero
         */
-       if (! (nflg || gflg)) {
+       if (!gflg) {
            if (getgrnam(user_name)) {
                 fprintf(stderr, _("%s: group %s exists - if you want to add this user to that group, use -g.\n"), Prog, user_name);
                exit(E_NAME_IN_USE); 

(Can be DLed at http://balu.dnsalias.org/LFS/CVS and has to be put in ftp://packages.linuxfromscratch.org/new-in-cvs)

Installation then looks the following way:

patch -Np0 <../shadow-20001016.patch &&
./configure --prefix=/usr &&
make &&
make install &&
cd etc &&
cp limits login.access \
   login.defs.linux /etc &&
mv /etc/login.defs.linux /etc/login.defs

You might also have noticed that there are no shells and suauth files in the etc-dir anymore.

Fix in the book will be made if the patch-file got uploaded.
---------------------------------------------------------------------------


          Full information on this slip is available at:
http://bugtrack.linuxfromscratch.org/visitor.php3?sid=17&v_func=zoom

---------------------------------------------------------------------------
This message was generated automatically by Keystone at http://www.linuxfromscratch.org






More information about the lfs-book mailing list