Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149763 - adduser fails to create a user due to path settings
Summary: adduser fails to create a user due to path settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 149766
  Show dependency tree
 
Reported: 2006-10-01 12:05 UTC by Chris White (RETIRED)
Modified: 2006-10-01 13:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adduser.patch (adduser.patch,428 bytes, patch)
2006-10-01 12:06 UTC, Chris White (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris White (RETIRED) gentoo-dev 2006-10-01 12:05:42 UTC
adduser has 2 issues in where it looks for things:

1) grep is located in /bin/grep, it looks for it in /usr/bin/grep
2) skel directory is in /etc/skel, it looks for it in /usr/share/skel

The attached patch resolves that issue, and patches against freebsd-usbin-6.1-r1.
Comment 1 Chris White (RETIRED) gentoo-dev 2006-10-01 12:06:16 UTC
Created attachment 98539 [details, diff]
adduser.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 12:22:20 UTC
You know how to apply :P
(Make sure it also applies on 6.2_beta1).
Comment 3 Javier Villavicencio (RETIRED) gentoo-dev 2006-10-01 13:16:06 UTC
Patch applied in cvs. Thanks!