Language Selection

English French German Italian Portuguese Spanish

The Perils of Sudo With User Passwords

Filed under
Security

The consensus among new Unix and Linux users seems to be that sudo is more secure than using the root account, because it requires you type your password to perform potentially harmful actions. In reality, a compromised user account, which is no big deal normally, is instantly root in most setups. This sudo thinking is flawed, but sudo is actually useful for what’s it was designed for.

The (wrong) idea is that you shouldn’t use the root account, because apparently it’s too “dangerous.” This argument usually comes from new Linux users and people that call themselves “network administrators,” but has no basis in reality. We’ll come back to that in a moment.

The concept behind sudo is to give non-root users access to perform specific tasks without giving away the root password. It can also be used to log activity, if desired.

Why is there a separate root account anyway?




More in Tux Machines

Kodi 15 Brings XBMC Media Player to Android

The XBMC Foundation's Team Kodi last week released version 15 of its popular, open source Kodi media player and home theater framework. The "Isengard" release of Kodi (formerly XBMC) offers enhancements ranging from new chapter support to an improved add-on manager, but the biggest news is the completion of the Android version. Read more

Systemd Is Launching Its Own Conference

Lennart Poettering today announced systemd.conf 2015, its inaugural conference devoted to the future of systemd. Read more

Opinion Poll (latest update)
systemd usage I use systemd and like it: 787 (30%) I use systemd and dislike it: 318 (12%) I am not using systemd and plan to use it: 111 (4%) I am not using systemd and plan to avoid it: 1170 (44%) Other: 260 (10%)

Linux 4.2 May Finish Fixing Up Radeon Audio Support

Since the Linux 4.0 kernel there has been DisplayPort audio support for the open-source Radeon driver. That DP audio handling came after a big rework to the audio code in the Radeon DRM kernel driver. A half-year later it looks like all the audio code is now cleaned up and ready. Read more Also: Radeon Gallium3D Tackles A Bit More, OpenGL 4.1 Patches Pending NVIDIA 352.30 GPU Driver For Linux Has Been Released

LibreOffice 5.0 Right Around the Corner, Guided Tour of LibreOffice

  • LibreOffice 5.0 Right Around the Corner
    Major release LibreOffice 5.0 is due next Wednesday with a lot of new features. Italo Vignoli today posted The Road to LibreOffice 5.0 in which he looks back at all the added features since January 2015 with version 3.3. Today's summary shows "the impressive amount of new features added to LibreOffice since version 3.3." LibreOffice 3.3 was released in January 2011. This release was significant in that the development and management of LibreOffice had come together in a short time and put out a release that brought several new features. SVG support, easier title and page formatting and numbering, improved ergonomics in Calc, and Microsoft Works support were among the newest features added by The Document Foundation.
  • A Guided Tour of LibreOffice
    I have been using LibreOffice since it was called Star Office and all documents opened in a tabbed interface, as in most modern spreadsheet applications (anyone remember those days?). From those early days until now, I have considered Star Office/OpenOffice.org/LibreOffice to be an excellent, if not superior, tool compared to many on the market.