|
|
To all who believe in the sudo myth
I am using sudo for a lot of purposes and I like it. It totally makes sense to me to use sudo (e. g. sudo -s) instead of logging in as or su'ing to root. But I want to make clear that the following myths are indeed myths:
I won't talk about 1. because it would become an endless discussion. But I want to give an example for 2.: scp foo.conf user@server:/etc/foo.conf This won't work if /etc/foo.conf on server is only writable for root. Sudo won't help here. Now some smart ass might come up with seemingly cool stuff like: tar cf - foo.conf | ssh user@server '(cd /etc/ && sudo tar xpf -)' This just sucks and has great potential for mistakes. How much easier is this: scp foo.conf root@server:/etc/foo.conf So, to all people who say enabling root is, by itself, dangerous: Stop babbling and use SSH keys with very good passwords or at least very good passwords. And use sudo where appropriate.
To all who believe in the sudo myth
You let people log in as root via ssh ?
To all who believe in the sudo myth
I let a select set of people - that is, the unix team - ssh in as root. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|