Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't su to root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't su to root
Authored by: forman on Nov 12, '05 10:56:44AM
It is considered bad form to su to root by using sudo su -. One should never log in as root, if it's not absolutely necessary. This is why the sudo command was created in the first place, to allow a user to execute single commands as root. (sudo stands for "super user do".)

Thus, one should simply type the command sudo sysctl -w net.inet.tcp.delayed_ack=0.

Michael.

[ Reply to This | # ]
Don't su to root
Authored by: hattori on Nov 15, '05 07:33:41AM

OMG... Why do you have to be such a *censored*? People can be responsible and su to root and do the stuff they have to do without messing everything up.
sudo is good for n00bs...



[ Reply to This | # ]
Don't su to root
Authored by: evansj on Nov 15, '05 08:02:53AM
But sudo su - is completely redundant in this case. If you want a root shell, just use sudo -s. No need to run two programs when one will do exactly what you want.

[ Reply to This | # ]