LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-19-2013, 01:44 PM   #1
tfnc99
Member
 
Registered: Sep 2012
Posts: 54

Rep: Reputation: Disabled
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.
 
Old 02-19-2013, 01:51 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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?
 
Old 02-19-2013, 01:55 PM   #3
tfnc99
Member
 
Registered: Sep 2012
Posts: 54

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

Last edited by tfnc99; 02-19-2013 at 01:56 PM.
 
Old 02-19-2013, 02:04 PM   #4
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 582

Rep: Reputation: 129Reputation: 129
You could encrypt your root partition it will then first ask for a password to unlock and then to logon.
 
1 members found this post helpful.
Old 02-19-2013, 02:55 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
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.
 
Old 02-19-2013, 03:02 PM   #6
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 2,725
Blog Entries: 3

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Quote:
Originally Posted by tfnc99 View Post
Is there a way where it would ask me for password one and then password two before logging me on?
Power on password?
 
1 members found this post helpful.
Old 02-19-2013, 03:22 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce or CLI but open ;-)
Posts: 1,104
Blog Entries: 2

Rep: Reputation: 259Reputation: 259Reputation: 259
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 ) but yes a Lilo\other password or (QUOTE=Habitual;4895425) your bios password if applicable

Last edited by jamison20000e; 02-19-2013 at 08:42 PM.
 
Old 02-19-2013, 03:55 PM   #8
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,OpenBSD
Posts: 666
Blog Entries: 2

Rep: Reputation: 169Reputation: 169
look into PAM
 
1 members found this post helpful.
Old 02-19-2013, 06:53 PM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
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.
 
1 members found this post helpful.
Old 02-19-2013, 08:25 PM   #10
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Squeeze
Posts: 585

Rep: Reputation: 118Reputation: 118
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.
 
Old 02-21-2013, 06:09 PM   #11
tfnc99
Member
 
Registered: Sep 2012
Posts: 54

Original Poster
Rep: Reputation: Disabled
What about having two interchangeable passwords?
 
Old 02-22-2013, 12:57 AM   #12
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
Please clarify ...
 
Old 02-22-2013, 03:36 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Quote:
Originally Posted by tfnc99 View Post
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
 
Old 02-22-2013, 08:21 AM   #14
tfnc99
Member
 
Registered: Sep 2012
Posts: 54

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-22-2013, 06:03 PM   #15
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce or CLI but open ;-)
Posts: 1,104
Blog Entries: 2

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
Originally Posted by tfnc99 View Post
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...
 
  


Reply

Tags
login, passwd, password


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert user passwords and group passwords using pwconv? dolceinter1 Linux - Security 2 11-04-2008 10:03 PM
updating samba passwords with system passwords paranoid times Linux - Software 3 10-03-2006 09:04 PM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration