Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67293

Summary: app-admin/superadduser needs a new correct path to passwd
Product: Gentoo Linux Reporter: Lance Albertson (RETIRED) <ramereth>
Component: Current packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lance Albertson (RETIRED) gentoo-dev 2004-10-12 17:28:02 UTC
I think passwd's path recently got changed to /bin and it seems like superadduser's script isn't aware of that. Should be a simple fix, just change /usr/bin/passwd to /bin/passwd or have a check for that. Below is the output I encountered.

Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
/usr/sbin/superadduser: line 359: /usr/bin/passwd: No such file or directory
* WARNING: An error occured while setting the password for
           this account.  Please manually investigate this *
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-13 14:09:24 UTC
oops, you're correct.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-14 22:16:28 UTC
actually, it's not needed as spanky now installs a symlink in /usr/bin to the real binary in ../../bin (remerge shadow after sync'ing).