Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12905 closed defect (wontfix)

coreutils 'su' doesn't accept correct password (possibly PAM related)

Reported by: orangeraven@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: pipping@…
Port:

Description

After installing:

coreutils @6.9_0+with_default_names

I tried to 'su' to a different user (non-admin). Even when typing the correct password, it fails with:

su: incorrect password

Trying to 'su' to myself also fails (works using /usr/bin/su).

% otool -L /opt/local/bin/su   
/opt/local/bin/su:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.10)
% otool -L /usr/bin/su                                              
/usr/bin/su:
        /usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libbsm.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)

Change History (4)

comment:1 Changed 17 years ago by orangeraven@…

A coreutils version using PAM: http://www.archlinux.org/packages/13267/

It uses coreutils-pam.patch:

http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/base/coreutils/coreutils-pam.patch?rev=1.3&cvsroot=Core&only_with_tag=CURRENT&content-type=text/vnd.viewcvs-markup

On a side note: The port sudo also uses PAM, unlike the coreutils source there is a --with-pam option for configure .

comment:2 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from pipping@… to nox@…

comment:3 Changed 17 years ago by nox@…

Resolution: wontfix
Status: newclosed

coreutils does not install su anymore.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.