Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#566 - replace /bin/su with file from coreutils

Attached to Project: Arch Linux
Opened by Dale Blount (dale) - Thursday, 18 March 2004, 02:01 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

/bin/su provided with coreutils is more functional than the current one we're using from the shadow package. I haven't given it a full testing, but coreutils su has been running on a couple of my boxes for a couple days now with no noticable problems. All of the <recent> other distros that I have access to also use coreutils su binary.

[root@rock root]# su -s /bin/bash dale
[dale@rock root]$ exit
[root@rock root]# pacman -S shadow
:: shadow-4.0.4.1-1: is up to date. Upgrade anyway? [Y/n]

Targets: shadow-4.0.4.1-1

Proceed with upgrade? [Y/n]

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading shadow... done.
[root@rock root]# su -s /bin/bash dale
[root@rock root]# id
uid=0(root) gid=0(root) (..shortened..)
[root@rock root]# exit
exit
[root@rock root]#
   coreutils-pam.patch (8.7 KiB)
(application/octet-stream)    PKGBUILD (1.3 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 02 July 2004, 21:22 GMT
Reason for closing:  Fixed
Comment by Dale Blount (dale) - Thursday, 18 March 2004, 02:11 GMT
oh yeah, if you do decide to change, don't forget the man page :)
Comment by Judd Vinet (judd) - Monday, 12 April 2004, 01:20 GMT
Does the su from coreutils have PAM support?
Comment by Dale Blount (dale) - Monday, 12 April 2004, 01:47 GMT
I could have sworn it did, but it looks like everyone's using a patch to support PAM w/ coreutils. The gnu mailing list server is down currently, so I'm having troubles locating the patch.
Comment by Dale Blount (dale) - Tuesday, 18 May 2004, 13:51 GMT
I've got a working patch, should I commit the new PKGBUILD and patch to cvs?

The only problem now is getting around the file conflicts with shadow.

Comment by Judd Vinet (judd) - Tuesday, 18 May 2004, 21:55 GMT
No, please attach it here instead. I'll add it to coreutils before 0.7 goes out.

Loading...