LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can I have 2 passwords? (http://www.linuxquestions.org/questions/linux-software-2/can-i-have-2-passwords-4175450836/)

tfnc99 02-19-2013 01:44 PM

Can I have 2 passwords?
 
I mean this both ways: Is there a way where it would ask me for password one and then password two before logging me on? And Is there a way where at the Password: prompt I can type ether password one or password two and it will get me on?

I'm using slackware 14 if that makes a difference.

acid_kewpie 02-19-2013 01:51 PM

Not with any mechanism I've heard of, it sounds like a horrible horrible thing to want. Maybe if you provide a contextual use case it might help understand the requirements?

tfnc99 02-19-2013 01:55 PM

This was more of a trivia question than anything. Always kinda been in the back of my head. What makes it sound so horrible?

whizje 02-19-2013 02:04 PM

You could encrypt your root partition it will then first ask for a password to unlock and then to logon.

jefro 02-19-2013 02:55 PM

I agree with whizje, if you use some sort of disk encryption and then "require" user logon it would in fact ask you twice. (or should)

Not sure that the point of using two passwords would be in any normal password situation unless it was a two man rule deal.

Habitual 02-19-2013 03:02 PM

Quote:

Originally Posted by tfnc99 (Post 4895352)
Is there a way where it would ask me for password one and then password two before logging me on?

Power on password?

jamison20000e 02-19-2013 03:22 PM

fun thought this second one but if implemented easier to guess your password

i don’t like encrypting my partitions (probably because i don’t like backing them up :tisk:) but yes a Lilo\other password or (QUOTE=Habitual;4895425) your bios password if applicable

linosaurusroot 02-19-2013 03:55 PM

look into PAM

chrism01 02-19-2013 06:53 PM

PAM would probably allow you to do this; maybe pam_exec http://debian.securedservers.com/ker...x-PAM_SAG.html.
Other dual passwd options include adding a BIOS and/or grub passwd if booting.

towheedm 02-19-2013 08:25 PM

Dual password? WOW, haven't heard of that since back in the days with the DEC VAX mainframes. Totally forgot about two passwords. But that was different, if set, you had to enter both Password1 and Password2 at the correct password prompt.

tfnc99 02-21-2013 06:09 PM

What about having two interchangeable passwords?

chrism01 02-22-2013 12:57 AM

Please clarify ...

acid_kewpie 02-22-2013 03:36 AM

Quote:

Originally Posted by tfnc99 (Post 4897067)
What about having two interchangeable passwords?

No, that's just daft. Maybe you can describe your use case here?? Sounds like an attempt at a support back door or something

tfnc99 02-22-2013 08:21 AM

Well here is what I mean:
Username: tfnc
Password: muffins
Bash~$

Username: tfnc
Password: biscuits
Bash~$

Both passwords could be used, both wouldn't be required.

And what's backdoor?

jamison20000e 02-22-2013 06:03 PM

Quote:

Originally Posted by tfnc99 (Post 4897503)
And what's backdoor?

Backdoor = secret way in+... if someone gave your system the password biscuits to use but you did not know and you think the only password is muffins...


All times are GMT -5. The time now is 02:27 AM.