can't adduser
xyzzy at hotpop.com
xyzzy at hotpop.com
Wed Mar 10 08:51:28 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On Tuesday 09 March 2004 22:19, russell wrote:
> Arindam Dey wrote:
> >On Wed, 2004-03-10 at 03:49, russell wrote:
> >>Invoking adduser or useradd in root returns the message command not
> >>found. I checked the install and adduser and useradd are there. Also,
> >>when trying to run a utility I installed I get the message:
> >>Missing utility ifconfig. Please install it. ifconfig is also installed
> >>of course. Anyone have any ideas whats going on here?
> >
> >"su -" instead of "su"
>
> That did the trick! Many thanks.
>
> russell
The reason for this being that "su" by itself does not set "/sbin" and
"/usr/sbin" in the path, whereas "su -" does.
You could also do 'su -c "/sbin/adduser"' with the specific path specified.
-----BEGIN PGP SIGNATURE-----
iD8DBQFATtcWrT0x/nxLkjwRA9pnAJ0W4RgWSlfQM50qH3EER6LZr4hWxACfU9YW
mnN3sg+fF98AVgYxvZc8sd4=
=H4ri
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list