> Trust me, I know computers are anything but magical, and if they are
> then it’s all black magic.
> Re: the sudo man page: Oh, I have read it. I’ve read it and read it
> and then read it some more, and I’ve read hundreds of webpages on it as
> well. What none of it answers is my original question:
> WHY CAN I “SUDO IFCONFIG” SUCCESSFULLY IN DEBIAN BUT NOT IN OPENSUSE,
> WITH IDENTICAL SUDOERS FILES, WHEN NEITHER HAS /SBIN IN MY PATH AND WHEN
> “SUDO ENV” RETURNS ALMOST IDENTICAL VARIABLES ON BOTH (THE DIFFERENCES
> ARE MINOR AND IRRELEVANT)?
> As for sudo -i, you don’t use that when you run a single command; you
> invoke it to use root’s shell. You can’t “sudo -i commandname”.
It is now proven that I had to study sudo even more. I am glad I
appologised in the beginning for knowing not to much about sudo.
But mea culpa :shame: that I did not see that
sudo echo $PATH
does of course first expand and then let sudo simply execute an echo
command of a fixed string as root (not something you have to run as
This reminds me of the foremost rule in understanding the programs you
write: what code generates the assembler/compiller from your program and
What does then happen on execution.
Same here: What does the shell make out of the statement and What does
happen when this new statement is executed.
Again: no magic, but stupid and stubborn going through the different
fases, not jumping to conclusions. :\
Henk van Velden
hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=405254