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

Tiny SODIMM-style COM runs Linux on Atmel Cortex-A5 SoC

Ka-Ro’s SODIMM-style “TXA5″ COM runs Linux on Atmel’s SAMA5D42 SoC, offers Ethernet, LCD, USB, GPIO, and serial I/O, and supports industrial temperatures. The TXA5 is the first Atmel-based member of the Ka-Ro Electronics family of “TX” COMs. Most of Ka-Ro’s COMs have used Freescale processors, and many have been sold under the Strategic Test label, including the i.MX283-based TX-28S from 2012. Read more

Meet Geary: A Thunderbird Email Client Alternative on Linux

On Linux there are a few open source alternatives to the Thunderbird email client. There’s Evolution, KMail, Claws-Mail, Alpine (if you’re really old-school), and a handful of other clients (most of which, don’t live up to anyone’s expectations). There’s also a new kid on the email block. That kid is the brainchild of Yorba. Meet Geary, the new default IMAP email client for the GNOME desktop (and the likes of Elementary OS Freya). Read more

Philly’s open source mentorship program is back and expanding to 3 cities

Women are drastically underrepresented in the open source movement. Of the open source contributions made in 2013, only 11 percent were made by women, according to a survey of the open source community. Girl Develop It wanted to change that. That’s why the nonprofit partnered with civic hacking group Code for Philly last year to launch a summer-long open source fellowship for women. Fellows said the program helped them find their place in the tech community. Read more

SourceForge hijacks GIMP account, loads it with adware

It looks like SourceForge has taken over the account of GIMP user Jernej Simončič who was maintaining the Windows version of the project. Read more