USB authentication
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
New contributor
add a comment |
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
New contributor
Welcome to AskUbuntu! Please edit the output oflsb_release -a
into your post. Thank you for helping us help you!
– Elder Geek
7 hours ago
@ElderGeek done!
– kumasube
6 hours ago
add a comment |
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
New contributor
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
18.04 usb authentication
New contributor
New contributor
edited 6 hours ago
Elder Geek
27k953127
27k953127
New contributor
asked 7 hours ago
kumasubekumasube
11
11
New contributor
New contributor
Welcome to AskUbuntu! Please edit the output oflsb_release -a
into your post. Thank you for helping us help you!
– Elder Geek
7 hours ago
@ElderGeek done!
– kumasube
6 hours ago
add a comment |
Welcome to AskUbuntu! Please edit the output oflsb_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
add a comment |
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.
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%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.
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.
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%2f1118355%2fusb-authentication%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
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