LinuxQuestions.org
Review your favorite Linux distribution.
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 10-31-2008, 01:48 AM   #1
puruntong
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Two-Person Rule or Password Split


Hello!

Stated on the subject above Is it possible to have two password whenever you try to access the root (su)? What are the steps on how to do this kind of thing? i.e. If I type SU on the command line...

$ su -
password 1/2:
password 2/2:

#

Just a similar example above. Is this really possible?

Thanks in advance.
 
Old 10-31-2008, 07:03 PM   #2
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
root password

Hi there.
I'm no expert in this but I don't think it's possible, but maybe it is. What I would suggest is have a strong password, i.e. use upper and lower case and numbers and have the password minimum 8 characters.

Regards,
Odinn Burkni
 
Old 11-01-2008, 04:36 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Two passwords regularly means two accounts. You could deny every GID >= 500 access to 'su' and require users to 'sudo su' to a specific unprivileged account from which a 'sudo su root'-like command is accessable. If you have specific requirements to do things like that, then maybe also see 'rootsh' and 'sudosh' which allow for logging everything done as a (configurable) user.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 03:33 PM
new person Shwick LinuxQuestions.org Member Intro 1 06-19-2008 01:42 AM
Hi new person here steve kitchener LinuxQuestions.org Member Intro 1 05-08-2008 10:25 AM
should this person even bother? mipia General 10 12-18-2006 04:34 AM
How to split file , .. awk or split ERBRMN Linux - General 9 08-15-2006 12:02 AM

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

All times are GMT -5. The time now is 03:13 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