Pollywog <[EMAIL PROTECTED]> wrote: >I am a potatoer and I am having trouble with the adduser command: > >[EMAIL PROTECTED]:/usr/sbin # /usr/sbin/adduser pguser >Adding user pguser... >Adding new group pguser (1004). >Can't exec "groupadd": No such file or directory at /usr/sbin/adduser line 675. >adduser: `groupadd -g 1004 pguser' returned error code 255. Aborting. >Cleaning up. >Removing group `pguser'. >Can't exec "groupdel": No such file or directory at /usr/sbin/adduser line 695. > >Is this a known problem?
It looks like you haven't got /usr/sbin on root's $PATH (as evidenced also by the fact that you're using /usr/sbin/adduser instead of simply adduser). groupadd, groupdel, and the like live there. Fix this and all should be well. /usr/sbin should probably be on root's $PATH anyway, but it's probably a bug in adduser that it doesn't use absolute paths (a potential security hole, even?). You might want to file a bug about this. -- Colin Watson [EMAIL PROTECTED]