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

Second generation Android One phones to arrive in Q1 2015

Karbonn Mobile is preparing to release its second-generation Android One smartphone, according to the Executive Director of Karbonn Mobiles, Shashin Devsare, who recently spoke at the Dream 500 Million Smartphones event in New Delhi. The successor to the Karbonn Sparkle V is scheduled to arrive in the first quarter of 2015. Read more

Open Source Has Won: Now What's Your Strategy?

Nonetheless, open source is here to stay. If your organization isn’t using open source software in mission-critical applications, you’re in the minority. Even then, I suspect you are using open source software and just don’t know it. Even Microsoft has embraced open source by including open source versions of big data repository Hadoop on Azure, and they count Hortonworks and Cloudera among their valued partners. And if you’re really one of those rare open-source-free enterprises, you might want to reevaluate your situation: you’re in an increasingly small minority. Read more

Android 5.0/5.1 Lollipop UK release date, new features and upgrades: Android 5.1 could be here by February

We've been running Android Lollipop for a few months now, back when it was known only as Android L, and you can see the new features and screenshots here. We've also tested out the increased battery life, but Lollipop is no faster than KitKat Google launched Android 4.4 KitKat last September and then showed off Android L at its I/O 2014 developer conference before officially announcing its final name and version number on 15 October. Read more

Tile’s tiny Bluetooth stuff-tracker now works with Android

The Android app, which hits Google's Play Store today, will work with every Tile the company has shipped so far. It's a different story in terms of what phones it works with, with the app requiring Android 4.4 KitKat or higher, as well as Bluetooth 4.0. Tile says it's also only optimized its software for a handful of phones, including Samsung's Galaxy S5, the Nexus 4, Nexus 5, HTC One, and HTC One M8. Read more