Tue Oct 17 19:34:56 UTC 2023

patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txz:  Rebuilt.
  Copy /etc/pam.d/login to /etc/pam.d/remote. This is needed for /bin/login's
  '-h' option, used (for example) by telnetd. If -h is used without
  /etc/pam.d/remote, pam will not be configured properly, and /etc/securetty
  will be ignored, possibly allowing root to login from a tty that is not
  considered secure. Of course, the usual disclaimers about the security of
  telnet/telnetd apply.
  Thanks to HytronBG and Petri Kaukasoina.
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2023-10-17 19:34:56 +00:00 committed by Eric Hameleers
parent 8587721dc4
commit 4940fc9a42
6 changed files with 61 additions and 25 deletions

View file

@ -11,9 +11,28 @@
<description>Tracking Slackware development in git.</description> <description>Tracking Slackware development in git.</description>
<language>en-us</language> <language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
<pubDate>Wed, 11 Oct 2023 22:22:40 GMT</pubDate> <pubDate>Tue, 17 Oct 2023 19:34:56 GMT</pubDate>
<lastBuildDate>Thu, 12 Oct 2023 11:30:29 GMT</lastBuildDate> <lastBuildDate>Wed, 18 Oct 2023 11:30:26 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator> <generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Tue, 17 Oct 2023 19:34:56 GMT</title>
<pubDate>Tue, 17 Oct 2023 19:34:56 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20231017193456</link>
<guid isPermaLink="false">20231017193456</guid>
<description>
<![CDATA[<pre>
patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txz: Rebuilt.
Copy /etc/pam.d/login to /etc/pam.d/remote. This is needed for /bin/login's
'-h' option, used (for example) by telnetd. If -h is used without
/etc/pam.d/remote, pam will not be configured properly, and /etc/securetty
will be ignored, possibly allowing root to login from a tty that is not
considered secure. Of course, the usual disclaimers about the security of
telnet/telnetd apply.
Thanks to HytronBG and Petri Kaukasoina.
(* Security fix *)
</pre>]]>
</description>
</item>
<item> <item>
<title>Wed, 11 Oct 2023 22:22:40 GMT</title> <title>Wed, 11 Oct 2023 22:22:40 GMT</title>
<pubDate>Wed, 11 Oct 2023 22:22:40 GMT</pubDate> <pubDate>Wed, 11 Oct 2023 22:22:40 GMT</pubDate>

View file

@ -1,3 +1,14 @@
Tue Oct 17 19:34:56 UTC 2023
patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txz: Rebuilt.
Copy /etc/pam.d/login to /etc/pam.d/remote. This is needed for /bin/login's
'-h' option, used (for example) by telnetd. If -h is used without
/etc/pam.d/remote, pam will not be configured properly, and /etc/securetty
will be ignored, possibly allowing root to login from a tty that is not
considered secure. Of course, the usual disclaimers about the security of
telnet/telnetd apply.
Thanks to HytronBG and Petri Kaukasoina.
(* Security fix *)
+--------------------------+
Wed Oct 11 22:22:40 UTC 2023 Wed Oct 11 22:22:40 UTC 2023
patches/packages/libcaca-0.99.beta20-x86_64-1_slack15.0.txz: Upgraded. patches/packages/libcaca-0.99.beta20-x86_64-1_slack15.0.txz: Upgraded.
Fixed a crash bug (a crafted file defining width of zero leads to divide by Fixed a crash bug (a crafted file defining width of zero leads to divide by

View file

@ -1,20 +1,20 @@
Wed Oct 11 22:25:37 UTC 2023 Tue Oct 17 19:37:44 UTC 2023
Here is the file list for this directory. If you are using a Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh subdirectories, please have the archive administrator refresh
the mirror. the mirror.
drwxr-xr-x 12 root root 4096 2023-10-11 22:22 . drwxr-xr-x 12 root root 4096 2023-10-17 19:34 .
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
-rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT -rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT
-rw-r--r-- 1 root root 1193410 2023-10-11 06:45 ./CHECKSUMS.md5 -rw-r--r-- 1 root root 1194346 2023-10-11 22:25 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-10-11 06:45 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 163 2023-10-11 22:25 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 2052824 2023-10-11 22:22 ./ChangeLog.txt -rw-r--r-- 1 root root 2053412 2023-10-17 19:34 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT
-rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi
@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
-rw-r--r-- 1 root root 1560742 2023-10-11 06:45 ./FILELIST.TXT -rw-r--r-- 1 root root 1561939 2023-10-11 22:25 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
-rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT -rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
@ -752,13 +752,13 @@ drwxr-xr-x 2 root root 4096 2022-12-17 19:52 ./pasture/source/samba
-rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./pasture/source/samba/smb.conf.default -rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./pasture/source/samba/smb.conf.default
-rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./pasture/source/samba/smb.conf.default.orig -rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./pasture/source/samba/smb.conf.default.orig
-rw-r--r-- 1 root root 536 2017-03-23 19:18 ./pasture/source/samba/smb.conf.diff.gz -rw-r--r-- 1 root root 536 2017-03-23 19:18 ./pasture/source/samba/smb.conf.diff.gz
drwxr-xr-x 4 root root 4096 2023-10-11 22:25 ./patches drwxr-xr-x 4 root root 4096 2023-10-17 19:37 ./patches
-rw-r--r-- 1 root root 85550 2023-10-11 22:25 ./patches/CHECKSUMS.md5 -rw-r--r-- 1 root root 85550 2023-10-17 19:37 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-10-11 22:25 ./patches/CHECKSUMS.md5.asc -rw-r--r-- 1 root root 163 2023-10-17 19:37 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 116859 2023-10-11 22:25 ./patches/FILE_LIST -rw-r--r-- 1 root root 116859 2023-10-17 19:37 ./patches/FILE_LIST
-rw-r--r-- 1 root root 13172103 2023-10-11 22:25 ./patches/MANIFEST.bz2 -rw-r--r-- 1 root root 13170420 2023-10-17 19:37 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 61884 2023-10-11 22:25 ./patches/PACKAGES.TXT -rw-r--r-- 1 root root 61884 2023-10-17 19:37 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 24576 2023-10-11 22:25 ./patches/packages drwxr-xr-x 3 root root 24576 2023-10-17 19:37 ./patches/packages
-rw-r--r-- 1 root root 360 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 360 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2389564 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 2389564 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz.asc
@ -1009,9 +1009,9 @@ drwxr-xr-x 2 root root 4096 2023-06-23 18:50 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 508 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 508 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 68289104 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 68289104 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-05-23 19:35 ./patches/packages/texlive-2023.230322-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 354 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 354 2023-10-17 18:36 ./patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txt
-rw-r--r-- 1 root root 2805300 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 2804320 2023-10-17 18:36 ./patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-10-17 18:36 ./patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txz.asc
-rw-r--r-- 1 root root 407 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 407 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 8683924 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 8683924 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-09-11 19:58 ./patches/packages/vim-9.0.1897-x86_64-1_slack15.0.txz.asc
@ -1057,7 +1057,7 @@ drwxr-xr-x 2 root root 4096 2023-06-23 18:50 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 92 root root 4096 2023-10-11 22:22 ./patches/source drwxr-xr-x 92 root root 4096 2023-10-17 19:34 ./patches/source
drwxr-xr-x 2 root root 4096 2023-09-26 19:22 ./patches/source/Cython drwxr-xr-x 2 root root 4096 2023-09-26 19:22 ./patches/source/Cython
-rw-r--r-- 1 root root 1623580 2023-07-04 19:24 ./patches/source/Cython/Cython-0.29.36.tar.lz -rw-r--r-- 1 root root 1623580 2023-07-04 19:24 ./patches/source/Cython/Cython-0.29.36.tar.lz
-rwxr-xr-x 1 root root 3041 2023-09-26 19:23 ./patches/source/Cython/Cython.SlackBuild -rwxr-xr-x 1 root root 3041 2023-09-26 19:23 ./patches/source/Cython/Cython.SlackBuild
@ -1859,14 +1859,14 @@ drwxr-xr-x 2 root root 4096 2023-03-22 07:06 ./patches/source/texlive/prep
-rwxr-xr-x 1 root root 6995 2023-05-23 19:28 ./patches/source/texlive/texlive.SlackBuild -rwxr-xr-x 1 root root 6995 2023-05-23 19:28 ./patches/source/texlive/texlive.SlackBuild
-rw-r--r-- 1 root root 334 2023-05-23 19:26 ./patches/source/texlive/texlive.unicode5.0.diff.gz -rw-r--r-- 1 root root 334 2023-05-23 19:26 ./patches/source/texlive/texlive.unicode5.0.diff.gz
-rw-r--r-- 1 root root 150 2023-03-22 07:44 ./patches/source/texlive/texlive.url -rw-r--r-- 1 root root 150 2023-03-22 07:44 ./patches/source/texlive/texlive.url
drwxr-xr-x 4 root root 4096 2022-02-15 02:04 ./patches/source/util-linux drwxr-xr-x 4 root root 4096 2023-10-17 18:35 ./patches/source/util-linux
-rw-r--r-- 1 root root 53236 2011-07-12 20:47 ./patches/source/util-linux/adjtimex_1.29-2.2.diff.gz -rw-r--r-- 1 root root 53236 2011-07-12 20:47 ./patches/source/util-linux/adjtimex_1.29-2.2.diff.gz
-rw-r--r-- 1 root root 85551 2010-04-17 03:32 ./patches/source/util-linux/adjtimex_1.29.orig.tar.gz -rw-r--r-- 1 root root 85551 2010-04-17 03:32 ./patches/source/util-linux/adjtimex_1.29.orig.tar.gz
-rw-r--r-- 1 root root 434 2014-10-30 15:31 ./patches/source/util-linux/bsdstrings-util-linux_overflow.diff.gz -rw-r--r-- 1 root root 434 2014-10-30 15:31 ./patches/source/util-linux/bsdstrings-util-linux_overflow.diff.gz
-rw-r--r-- 1 root root 4513 2009-05-30 01:25 ./patches/source/util-linux/bsdstrings.tar.gz -rw-r--r-- 1 root root 4513 2009-05-30 01:25 ./patches/source/util-linux/bsdstrings.tar.gz
-rw-r--r-- 1 root root 3054 2015-02-10 20:38 ./patches/source/util-linux/ddate.1 -rw-r--r-- 1 root root 3054 2015-02-10 20:38 ./patches/source/util-linux/ddate.1
-rw-r--r-- 1 root root 10917 2015-02-10 20:38 ./patches/source/util-linux/ddate.c -rw-r--r-- 1 root root 10917 2015-02-10 20:38 ./patches/source/util-linux/ddate.c
-rw-r--r-- 1 root root 427 2020-02-14 20:29 ./patches/source/util-linux/doinst.sh.gz -rw-r--r-- 1 root root 431 2023-10-17 18:35 ./patches/source/util-linux/doinst.sh.gz
drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/pam.d drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/pam.d
drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/pam.d-su drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/pam.d-su
-rw-r--r-- 1 root root 545 2020-02-19 19:26 ./patches/source/util-linux/pam.d-su/su -rw-r--r-- 1 root root 545 2020-02-19 19:26 ./patches/source/util-linux/pam.d-su/su
@ -1885,7 +1885,7 @@ drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/p
-rw-r--r-- 1 root root 170 2020-02-13 19:17 ./patches/source/util-linux/su.default -rw-r--r-- 1 root root 170 2020-02-13 19:17 ./patches/source/util-linux/su.default
-rw-r--r-- 1 root root 833 2022-02-14 11:01 ./patches/source/util-linux/util-linux-2.37.4.tar.sign -rw-r--r-- 1 root root 833 2022-02-14 11:01 ./patches/source/util-linux/util-linux-2.37.4.tar.sign
-rw-r--r-- 1 root root 6114232 2022-02-14 11:01 ./patches/source/util-linux/util-linux-2.37.4.tar.xz -rw-r--r-- 1 root root 6114232 2022-02-14 11:01 ./patches/source/util-linux/util-linux-2.37.4.tar.xz
-rwxr-xr-x 1 root root 12149 2022-02-15 18:36 ./patches/source/util-linux/util-linux.SlackBuild -rwxr-xr-x 1 root root 12442 2023-10-17 18:34 ./patches/source/util-linux/util-linux.SlackBuild
-rw-r--r-- 1 root root 275 2019-01-02 21:53 ./patches/source/util-linux/util-linux.do.not.list.ram.devices.diff.gz -rw-r--r-- 1 root root 275 2019-01-02 21:53 ./patches/source/util-linux/util-linux.do.not.list.ram.devices.diff.gz
-rw-r--r-- 1 root root 335 2014-07-03 08:34 ./patches/source/util-linux/util-linux.fdisk-no-solaris.diff.gz -rw-r--r-- 1 root root 335 2014-07-03 08:34 ./patches/source/util-linux/util-linux.fdisk-no-solaris.diff.gz
-rw-r--r-- 1 root root 10292 2009-05-30 01:25 ./patches/source/util-linux/ziptool-1.4.0.tar.xz -rw-r--r-- 1 root root 10292 2009-05-30 01:25 ./patches/source/util-linux/ziptool-1.4.0.tar.xz

View file

@ -22,7 +22,7 @@ config etc/rc.d/rc.serial.new
config etc/rc.d/rc.setterm.new config etc/rc.d/rc.setterm.new
config etc/serial.conf.new config etc/serial.conf.new
for configfile in chfn.new chsh.new login.new runuser.new runuser-l.new su.new su-l.new ; do for configfile in chfn.new chsh.new login.new remote.new runuser.new runuser-l.new su.new su-l.new ; do
if [ -r etc/pam.d/$configfile ]; then if [ -r etc/pam.d/$configfile ]; then
config etc/pam.d/$configfile config etc/pam.d/$configfile
fi fi

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA # Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=util-linux PKGNAM=util-linux
VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)} VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)}
BUILD=${BUILD:-1_slack15.0} BUILD=${BUILD:-2_slack15.0}
ADJTIMEXVERS=1.29 ADJTIMEXVERS=1.29
SETSERIALVERS=2.17 SETSERIALVERS=2.17
@ -93,6 +93,12 @@ if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
for file in $CWD/pam.d/* ; do for file in $CWD/pam.d/* ; do
cp -a ${file} $PKG/etc/pam.d/ cp -a ${file} $PKG/etc/pam.d/
done done
# In case someone is using the '-h' option to /bin/login, we will require
# another copy of /etc/pam.d/login called /etc/pam.d/remote. Make this copy
# if it doesn't exist already:
if [ ! -r $PKG/etc/pam.d/remote ]; then
cp -a $PKG/etc/pam.d/login $PKG/etc/pam.d/remote
fi
if [ "$SHIP_SU" = "YES" ]; then if [ "$SHIP_SU" = "YES" ]; then
# Add su default file to ensure using ENV_SUPATH with 'su': # Add su default file to ensure using ENV_SUPATH with 'su':
mkdir -p $PKG/etc/default mkdir -p $PKG/etc/default