Re: sudo and/or PATH problem
Scott Robbins <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <20020928210151.GB4396%[email protected]> |
On Sat, Sep 28, 2002 at 01:32:33PM -0500, Levente -Levi- Littvay wrote: > Hello > > I am used to using sudo, so I installed it. My only problem is that when I sudo with my user, I don't have direct access to commands like > > ifconfig > dhcpcd I believe that like doing an su (as opposed to su - ) it's going to leave you in your usual path--therefore, certain things kept in /sbin or /usr/sbin won't be available unless you specify the complete path, like /sbin/ifconfig. This is probably what's going on with other commands as well. HTH > > -- Scott PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: Yeah, I'm gonna have to go with dead boy on this one. Angel: Could you not call me that?
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9lhi/+lTVdes0Z9YRApCmAJ4/2OS0DbOYnrB6r/fOVgvPXV8LewCfaOba GYNFaF+4y5f/VJzAQDs7o94= =RzXO -----END PGP SIGNATURE-----