OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Jun-2005 17:03:37
Branch: HEAD Handle: 2005060916033500
Modified files:
openpkg-src/openpkg openpkg.spec
Log:
login.cfg needs the shell configured before we change use it
Summary:
Revision Changes Path
1.421 +5 -1 openpkg-src/openpkg/openpkg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.420 -r1.421 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 9 Jun 2005 12:17:57 -0000 1.420
+++ openpkg-src/openpkg/openpkg.spec 9 Jun 2005 15:03:35 -0000 1.421
@@ -1491,9 +1491,13 @@
;;
AIX/* )
mkuser id="${uid}" gecos="${realname}"
home="${prefix}" "${usr}"
+ cp /etc/security/login.cfg
/etc/security/login.cfg.bak && \
+ sed -e "/^usw:/,/^[^ ]/s/\\( *shells =.*\\)
*\$/\\1,$shell/" \
+ </etc/security/login.cfg.bak
>/etc/security/login.cfg && \
+ rm -f /etc/security/login.cfg.bak >/dev/null 2>&1
# defer both the setting of the primary group and
the shell,
# as they do not exist at this stage of processing.
- ( echo "chuser id=\"${uid}\" pgrp=\"${grp}\"
shell=\"${prefix}\" \"${usr}\""
+ ( echo "chuser pgrp=\"${grp}\" shell=\"${prefix}\"
\"${usr}\""
) >%{l_prefix}.pre-post-process.sh
;;
* )
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]