Language Selection

English French German Italian Portuguese Spanish

Restrict the use of su command

Filed under
HowTos

su is used to become another user during a login session. Invoked without a username, su defaults to becoming the super user. The user will be prompted for a password, if appropriate. Invalid passwords will produce an error message. All attempts, both valid and invalid, are logged to detect abuses of the system.

By default almost all distro allows to use su command. However you can restrict the use of su command for security reasons.

Both UNIX and Linux have a group called wheel. If user is member of this group she can use su command. We can add user to this group.

For example...

Full Article.

Also:

How do you prevent non-root users from logging into the system? How do you assign user ftp and mail access only?

Howto prevent non-root users from logging into the system.

More in Tux Machines

Scientific Linux 6.8 to Be Based on Red Hat Enterprise Linux 6.8, RC1 Is Out Now

Today, June 30, 2016, Connie Sieh from the Scientific Linux development team has had the pleasure of announcing the immediate availability for download of the first Release Candidate (RC) of the upcoming Scientific Linux 6.8 operating system. Read more

The OpenGL Speed & Performance-Per-Watt From The Radeon RX 480 To Radeon HD 4850/4870

With the Radeon RX 480 Linux review now being out of the way and our various other RX 480 Linux benchmarks, the latest results I have to share with being a benchmarking fanatic are RX 480 results with high-end AMD GPU tests of each generation going back to the Radeon HD 4850/4870 (RV770) days. This article has high-end GPUs from the RX 480 to RX 200, HD 7900, HD 6900, HD 6800, HD 5800, and HD 4800 series compared side-by-side with the latest open-source Radeon Linux graphics driver code. Not only is the raw performance being looked at but the system power consumption was also being polled in real-time for looking at the performance-per-Watt too. For any other benchmarking fanatics curious about the Radeon GPU evolution over the past eight years (RV770 launch in 2008), here are the numbers to enjoy. Read more

Fedora 22: End Of Life, 2016 July 19

With the recent release of Fedora 24, Fedora 22 will officially enter End Of Life (EOL) status on July 19th, 2016. After July 19th, all packages in the Fedora 22 repositories will no longer receive security, bugfix, or enhancement updates, and no new packages will be added to the Fedora 22 collection. Read more

Linux Devices

  • Atom-based gateway taps new open source IoT cloud platform
    Eurotech’s rugged, IP40 protected “ReliaGate 20-26” IoT gateway runs Red Hat Linux on a Bay Trail Atom, and has cellular, GPS, WiFi, and Bluetooth options. Eurotech’s ReliaGate 20-26 is the latest in a line of Internet of Things gateways, such as the ReliaGate 10-11, based on a TI AM3352 Sitara SoC, and the Intel Atom Z510-based ReliaGate 50-21. For the ReliaGate 20-26, Eurotech advances to a more modern “Bay Trail” Atom E3800.
  • Rugged COM Express Type 6 modules adopt Skylake and Braswell
    Win Enterprises unveiled a COM Express Compact module for Intel Braswell, following two COM Express releases for Skylake. They all operate from -40 to 85°C. The Win Enterprises MB-73450 is a 95 x 95mm COM Express Type 6 Compact computer-on-module that supports Intel Pentium and Celeron N3000, as well as Intel Atom x5-E8000, system-on-chips from the 14nm “Braswell” family. The module is the third in a new wave of Win Enterprises COM Express modules with Intel chips released in recent months.
  • Tough Mini-PC with up to four GbE ports runs Linux Mint on AMD SoC
    CompuLab’s Fitlet-RM is a rugged mini-PC that runs Linux Mint on an AMD A10 Micro-6700T, and offers -40 to 70°C operation, WiFi, and up to four GbE ports.