mastersibn
09-27-2000, 09:15 PM
Hardly a monumental achievement or complex application of something, but I noticed today that if your /etc/sudoers file contains your name as such:
<name> ALL = (optional: "NOPASSWD"): /bin/su -c kppp
then you can initiate a ppp link by typing:
sudo su -c kppp.
This isn't a security hazard that I'm aware of, as the only way you can run su this way is if it's followed with a -c kppp. Please inform me if I'm wrong, but it's pretty groovy being able to initiate a connection without giving out my root password every single time... http://www.linuxnewbie.org/ubb/biggrin.gif
ONE note: You have to be
A) Using kppp
B) Have an already working connection
for this to work. http://www.linuxnewbie.org/ubb/frown.gif
------------------
For just a few MB of space, you too can give one of these poor helpless penguins a home on your hard disk. For some precious processor cycles, you can feed this innocent creature for months or years before it gets a cold.
Use Linux. You owe it to yourself. You owe it to the world.
[This message has been edited by mastersibn (edited 27 September 2000).]
<name> ALL = (optional: "NOPASSWD"): /bin/su -c kppp
then you can initiate a ppp link by typing:
sudo su -c kppp.
This isn't a security hazard that I'm aware of, as the only way you can run su this way is if it's followed with a -c kppp. Please inform me if I'm wrong, but it's pretty groovy being able to initiate a connection without giving out my root password every single time... http://www.linuxnewbie.org/ubb/biggrin.gif
ONE note: You have to be
A) Using kppp
B) Have an already working connection
for this to work. http://www.linuxnewbie.org/ubb/frown.gif
------------------
For just a few MB of space, you too can give one of these poor helpless penguins a home on your hard disk. For some precious processor cycles, you can feed this innocent creature for months or years before it gets a cold.
Use Linux. You owe it to yourself. You owe it to the world.
[This message has been edited by mastersibn (edited 27 September 2000).]