USB authentication












0















This might be a wierd question and i'm sorry if this is wrong place to ask.



So, I have a sorts of assignment from my college to make automatic USB authentication work on a system. I was given "pam usb" as a program to work with. Now, i must say this is first time i ever work in Ubuntu so i literally have no idea what im doing.



After tearing through lots of errors and problems during installation i was finally able to compile pam usb, however now i've encountered a problem that i can't find a solution to. After typing sudo pamusb-conf --add-device device this is what I get:



Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files


After looking for some info it seems that pam usb was abandoned long time ago. Is there nothing that can be done about this error? And if so, is there anything similar to pam usb that can help me to create an USB auth on a system?



EDIT:



lsb output as requested:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic









share|improve this question









New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

    – Elder Geek
    7 hours ago













  • @ElderGeek done!

    – kumasube
    6 hours ago
















0















This might be a wierd question and i'm sorry if this is wrong place to ask.



So, I have a sorts of assignment from my college to make automatic USB authentication work on a system. I was given "pam usb" as a program to work with. Now, i must say this is first time i ever work in Ubuntu so i literally have no idea what im doing.



After tearing through lots of errors and problems during installation i was finally able to compile pam usb, however now i've encountered a problem that i can't find a solution to. After typing sudo pamusb-conf --add-device device this is what I get:



Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files


After looking for some info it seems that pam usb was abandoned long time ago. Is there nothing that can be done about this error? And if so, is there anything similar to pam usb that can help me to create an USB auth on a system?



EDIT:



lsb output as requested:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic









share|improve this question









New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

    – Elder Geek
    7 hours ago













  • @ElderGeek done!

    – kumasube
    6 hours ago














0












0








0








This might be a wierd question and i'm sorry if this is wrong place to ask.



So, I have a sorts of assignment from my college to make automatic USB authentication work on a system. I was given "pam usb" as a program to work with. Now, i must say this is first time i ever work in Ubuntu so i literally have no idea what im doing.



After tearing through lots of errors and problems during installation i was finally able to compile pam usb, however now i've encountered a problem that i can't find a solution to. After typing sudo pamusb-conf --add-device device this is what I get:



Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files


After looking for some info it seems that pam usb was abandoned long time ago. Is there nothing that can be done about this error? And if so, is there anything similar to pam usb that can help me to create an USB auth on a system?



EDIT:



lsb output as requested:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic









share|improve this question









New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












This might be a wierd question and i'm sorry if this is wrong place to ask.



So, I have a sorts of assignment from my college to make automatic USB authentication work on a system. I was given "pam usb" as a program to work with. Now, i must say this is first time i ever work in Ubuntu so i literally have no idea what im doing.



After tearing through lots of errors and problems during installation i was finally able to compile pam usb, however now i've encountered a problem that i can't find a solution to. After typing sudo pamusb-conf --add-device device this is what I get:



Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files


After looking for some info it seems that pam usb was abandoned long time ago. Is there nothing that can be done about this error? And if so, is there anything similar to pam usb that can help me to create an USB auth on a system?



EDIT:



lsb output as requested:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic






18.04 usb authentication






share|improve this question









New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 6 hours ago









Elder Geek

27k953127




27k953127






New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









kumasubekumasube

11




11




New contributor




kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






kumasube is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

    – Elder Geek
    7 hours ago













  • @ElderGeek done!

    – kumasube
    6 hours ago



















  • Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

    – Elder Geek
    7 hours ago













  • @ElderGeek done!

    – kumasube
    6 hours ago

















Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

– Elder Geek
7 hours ago







Welcome to AskUbuntu! Please edit the output of lsb_release -a into your post. Thank you for helping us help you!

– Elder Geek
7 hours ago















@ElderGeek done!

– kumasube
6 hours ago





@ElderGeek done!

– kumasube
6 hours ago










0






active

oldest

votes











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
});


}
});






kumasube is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118355%2fusb-authentication%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








kumasube is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















kumasube is a new contributor. Be nice, and check out our Code of Conduct.













kumasube is a new contributor. Be nice, and check out our Code of Conduct.












kumasube is a new contributor. Be nice, and check out our Code of Conduct.
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118355%2fusb-authentication%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局