LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2005, 08:55 PM   #1
xp1o1d5
LQ Newbie
 
Registered: Jul 2004
Posts: 23

Rep: Reputation: 15
Multiple root passwords


I have a question that I dont even know if its possible, but I think it is. So here it goes.

1. I wont root to have 2 password (so you can log in useing 2 different passwords.)

2. It needs to reconize who password it is by a preset name. (If someone logs into root useing password1 it will recongize that password1 belongs to user1. And then someone else logs into root useing password2 it will reconize that user2 logged in.)

3. WHen someone logs in to root i wont it to take the time (of login) and apply it to a seperate file.

4. By the preset passwords I wont it to take the name and apply it to the same file as the time. So if I wont I can check who logged into root and when.

5. And if possible when the user logs out.

I hope I didnt just waste my time. But I think I read somewhere a while back that this could be done.
 
Old 07-06-2005, 09:27 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
First off the multiple passwords thing is impossible, a user can only have one valid password, end of story.

From your post I'm guessing that you have multiple administrators on one machine but you don't want them using the same account because then you have no way of tracking who did what right?

The way to do this is with sudo. Simply give the username of each user who needs root priveleges those priveleges using sudo:
# visudo
Code:
# User privilege specification
username ALL=(ALL) ALL
 
Old 07-06-2005, 10:00 PM   #3
xp1o1d5
LQ Newbie
 
Registered: Jul 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
From your post I'm guessing that you have multiple administrators on one machine but you don't want them using the same account because then you have no way of tracking who did what right?
Thats right. Thanks for the reply like I said I wasnt sure if it could be dont or not.

Thats the way ima end up doing it.

Code:
# User privilege specification
username ALL=(ALL) ALL
 
  


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
two root passwords openbysource Red Hat 4 12-02-2005 07:19 AM
two root passwords!!!! mufy Linux - Security 9 01-06-2005 05:10 AM
Help! root has two passwords! jev-bird Linux - Security 13 11-25-2004 06:23 PM
managing multiple root passwords juanb Linux - Security 2 08-22-2004 06:57 PM
Multiple Passwords Stephanie Linux - General 2 08-31-2002 12:42 PM

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

All times are GMT -5. The time now is 05:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration