tags #357978 confirmed thanks On Mon, Mar 20, 2006 at 04:02:21PM +0000, Ian Jackson wrote: > Can't exec "/usr/bin/chfn": No such file or directory at > /usr/sbin/adduser line 892, <FIND> line 9. > adduser: `/usr/bin/chfn naath' returned error code 16777215. > Aborting. > > # type chfn > chfn is /usr/local/bin/chfn > # > > (I have diverted /usr/bin/chfn so that I can replace it with my own, > which is a compatible replacement/wrapper.)
Hm. We are using hard-coded paths since we avoid using a shell for subprocess invocation. We're going to change to a PATH-honoring setup in one of the next versions, but we're going to set our own PATH on startup to avoid privilege escalation issues. Most probably, the PATH will be /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin, so you'd really need to divert /usr/bin/chfn away to have /usr/local/bin/chfn used. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]