Loading
Home ›
Be a Sudoer
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- 100% disappointed with the decision to go all digital.
- Readers' Choice Awards 2011
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- You Need A Budget
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- Sure the best distro is
8 min 43 sec ago - BeOS was the best
2 hours 52 min ago - I use Wireshark on a daily
7 hours 22 min ago - buena información
12 hours 29 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
13 hours 30 min ago - Gnome3 is such a POS. No one
22 hours 57 min ago - Gnome 3 is the biggest POS
23 hours 8 min ago - I didn't knew this thing by
1 day 5 hours ago - Author's reply
1 day 8 hours ago - Link to modlys
1 day 9 hours ago





Comments
sudo
Well, while sudo itself is a good tip, I'm not so sure NOPASSWD is the best thing to be teaching those that are new to the command (or anyone, rather). If sudo has no password, that completely eliminates that layer of security preventing an attacker from compromising the system.
To comment on zuk's comment above: there's nothing wrong with sudo so long as you use a password. In order to use it (so long as NOPASSWD is NOT used), you need to know the password of an account with sudoer permissions. Being logged into the account doesn't mean anything, unless they recently used sudo and didn't close the terminal. The `passwd` command prompts the user for the current password, meaning they can't simply change the password on you and gain access to sudo. In fact, it's much more secure than simply using `su`, since it only runs that single command as root.
Mike Gerwitz
Free Software Developer
Thank you for the .ogv files, by the way...
While I did indeed appreciate the .ogv files in the past, since Firefox 3.5 I appreciate them even MORE than before. Thank you, Linux Journal for adding them to the page. As Flash on Linux is really hit-or-miss (some distros work flawlessly with Flash, and some distros or even from version to version of the SAME distro have troubles with Flash) it's nice to be able to click and stream the .ogv file directly in Firefox, or via an external player (VLC, etc.). Never once has the .ogv files given me any trouble playing them. (These wonderful little short clips with little Linux tips are a great thing for me to point new Linux users at after I've helped them install their first distro, too. It really helps them feel like they don't have to feel "lost" in a new OS.)
you shouldn't use sudo like this!
That's not secure, even with the password set on!
You should use sudo only to specific programs, not everything!
Also, to programs you're not the owner and doesn't have any write access to them.
IF someone hacked into your account, even if you have password on the sudo, he can actually used : passwd command to change your passwd and gain root privilege using the sudo you gave him...
Don't use it, it ruins the whole user separation *nix is using.
sutoroot [@ "gee" mail dot .com
SUDOn't
I don't use sudo very often, and you left a clue in your video that you might not either when you accidentally typed su. I use su very often, and I like to log in as root remotely via gdm. If you do use sudo, do this in a command window within gnome: gksudo gdmsetup this will pull up the gdm configuration where you can allow root to login from the login screen and remotely if you have x11vnc setup.
I should also mention gksudo is a command worth mentioning if you do a follow up video.
"gksudo gedit /etc/shadow &" in this case, you could use sudo.
-Dan