LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-04-2008, 11:39 PM   #1
vwvr9
Member
 
Registered: Feb 2005
Distribution: OpenSuse 10.1 / Centos 4.4
Posts: 60

Rep: Reputation: 15
Running sudo with pam.d


Hi guys,

Need some advice.

I'm playing around with centralizing my Linux logins. Currently I have pam.d/ssh setup to reference a list file over nfs. This allows me to control who can and can't login to my boxes from a central location.

My next step is to sudo enable those accounts. Anyone done any work similar to this before? Any advice is much appreciated.
 
Old 05-05-2008, 03:13 AM   #2
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Have you configured the sudo file already?

visudo

and if you don't want them to type a password when they type
sudo /bin/su
you can use !authenticate to the default specification
 
Old 05-05-2008, 10:19 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
I do not consider "an NFS-shared list" to be in any way secure.

Consider using OpenLDAP or a similar shared-security server protocol of known robustness. These will allow you to efficiently administer multiple systems .. including dissimilar types of systems.

The mechanism for handling this authorization on your Linux box will still be PAM, in the sense that Linux asks PAM a question and PAM applies its rules to get an answer. But the ruleset will be different: perhaps in addition to other authentication methods, PAM will query LDAP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange PAM/sudo problem (SLES9) chort SUSE / openSUSE 4 02-01-2023 07:20 PM
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
Running pppd with sudo alish Linux - Security 0 10-07-2007 11:19 AM
ubuntu - running sudo shell script from php mitilma Linux - Security 3 06-14-2007 01:52 AM
Lots of errors when running an app with sudo bruno321 Ubuntu 2 02-23-2007 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration