diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/shadowpwd-exp.xml | 7 | ||||
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml index 3eb42756a..f9c311362 100644 --- a/chapter06/shadowpwd-exp.xml +++ b/chapter06/shadowpwd-exp.xml @@ -1,9 +1,10 @@ <sect2> <title>Command explanations</title> -<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' useradd.c.temp -> src/useradd.c</userinput>: This sed is used to fix a compilation -bug which occurs due to a variable being used but not defined.</para> +<para><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c +> useradd.c.temp &&</userinput>: This sed is used to fix a +compilation bug which occurs due to a variable (nflg), being used but not +defined.</para> <para><userinput>cp limits login.access and others:</userinput> These files were not installed during the installation of the package so we copy diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index edcddfad4..839eb7811 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -5,7 +5,8 @@ following commands:</para> -<para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' src/useradd.c > useradd.c.temp &&</userinput> +<para><screen><userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput> +<userinput> src/useradd.c > useradd.c.temp &&</userinput> <userinput>mv useradd.c.temp src/useradd.c &&</userinput> <userinput>./configure --prefix=/usr &&</userinput> <userinput>make &&</userinput> |