Is there a way to lock/unlock your screen with a USB in Ubuntu 18?
I've seen programs like Pam and Cuttlefish, but both of them are so outdated that I'm unable to install them on my OS. I was wondering if there's a new program that will add a 2 factor authentication to my computer's login, does anyone know of one? Also, yes, I've seen some simple scripts to do it, but I'd like it to be secure, not just identifying if any USB with a specific name is plugged in.
18.04 usb login 18.10
add a comment |
I've seen programs like Pam and Cuttlefish, but both of them are so outdated that I'm unable to install them on my OS. I was wondering if there's a new program that will add a 2 factor authentication to my computer's login, does anyone know of one? Also, yes, I've seen some simple scripts to do it, but I'd like it to be secure, not just identifying if any USB with a specific name is plugged in.
18.04 usb login 18.10
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08
add a comment |
I've seen programs like Pam and Cuttlefish, but both of them are so outdated that I'm unable to install them on my OS. I was wondering if there's a new program that will add a 2 factor authentication to my computer's login, does anyone know of one? Also, yes, I've seen some simple scripts to do it, but I'd like it to be secure, not just identifying if any USB with a specific name is plugged in.
18.04 usb login 18.10
I've seen programs like Pam and Cuttlefish, but both of them are so outdated that I'm unable to install them on my OS. I was wondering if there's a new program that will add a 2 factor authentication to my computer's login, does anyone know of one? Also, yes, I've seen some simple scripts to do it, but I'd like it to be secure, not just identifying if any USB with a specific name is plugged in.
18.04 usb login 18.10
18.04 usb login 18.10
edited Jan 2 at 0:09
Dgamermaster
asked Jan 1 at 23:25
DgamermasterDgamermaster
166
166
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08
add a comment |
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08
add a comment |
1 Answer
1
active
oldest
votes
Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.
Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106112%2fis-there-a-way-to-lock-unlock-your-screen-with-a-usb-in-ubuntu-18%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.
Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!
add a comment |
Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.
Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!
add a comment |
Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.
Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!
Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.
Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!
answered Jan 9 at 3:10
DgamermasterDgamermaster
166
166
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106112%2fis-there-a-way-to-lock-unlock-your-screen-with-a-usb-in-ubuntu-18%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you talking about pam_usb? wiki.archlinux.org/index.php/Pam_usb That one indeed seems to be unmaintained...
– Sebastian
Jan 3 at 16:54
Yes, I was talking about pam_usb, and there used to be a program called Cuttlefish that was an all-around program, as far as I know, but I can't find anything for that either. I did find some pam files preinstalled on my system though, so once I get a U2F key, I'll look over them and see what I can find. Until then, however, I'd love to hear if anyone else has any other programs that I could try out.
– Dgamermaster
Jan 4 at 17:08