Bug 149763 - adduser fails to create a user due to path settings
Bug#: 149763 Product:  Gentoo/Alt Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bsd@gentoo.org Reported By: chriswhite@gentoo.org
Component: FreeBSD
URL: 
Summary: adduser fails to create a user due to path settings
Keywords:  
Status Whiteboard: 
Opened: 2006-10-01 12:05 0000
Description:   Opened: 2006-10-01 12:05 0000
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 From Chris White (RETIRED) 2006-10-01 12:06:16 0000 -------
Created an attachment (id=98539) [details]
adduser.patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-10-01 12:22:20 0000 -------
You know how to apply :P
(Make sure it also applies on 6.2_beta1).

------- Comment #3 From Javier Villavicencio 2006-10-01 13:16:06 0000 -------
Patch applied in cvs. Thanks!