Questions tagged [authentication]
Questions about authenticating wireless connections, SSH keys, or passwords in Ubuntu.
309
questions with no upvoted or accepted answers
8
votes
0
answers
10k
views
What is the correct way to modify /etc/pam.d/common-auth?
By default /etc/pam.d/common-auth looks like this
$ cat /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other ...
6
votes
3
answers
27k
views
RSA keys not authenticating
Just trying to get a basic setup of openSSH going on an Ubuntu box to work remotely. Main issue: RSA keys fail auth. ssh DOES work using the password for auth, but I would much rather limit it to only ...
5
votes
0
answers
1k
views
Unable to download updates from "extensions.gnome.org" Proxy authentication required
Software updates through Ubuntu Software are failing with the following message:
Unable to download updates from "extensions.gnome.org":[///source/shell-extensions/] failed to download https://...
5
votes
0
answers
696
views
Ubuntu 18.4 : How to choose the sudo-account to use on "Authentication Required"?
When we need admin rights to do some stuff on Ubuntu 18.04, we are prompted with an Authentication Required window, asking for a sudo-account's password.
My problem is that it seems we can't choose ...
4
votes
0
answers
9k
views
How to use Fingerprint for login in Ubuntu 22.04?
I am currently using ubuntu 22.04 Jammy Jellyfish and I have the following fingerprint reader in my laptop
Bus 001 Device 006: ID 27c6:5301 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
I ...
4
votes
0
answers
124
views
Fingerprint reader fails in 9 out of 10 times
I'm using Ubuntu 21.04. The procedure for recording fingerprints works alright. Pam authentification works too.
According to lsusb I get
Bus 001 Device 006: ID 04f3:0c28 Elan Microelectronics Corp. ...
4
votes
0
answers
2k
views
Remove the "Authentication is required for ..."
I'm terribly sorry if this has been answered somewhere else but I've read through many forum posts and still haven't found a fix to my issue. Recently installed Ubuntu 12.04 then updated to 14.04 (...
4
votes
1
answer
386
views
How to disable shutdown/restart/hibernate without authentication
I do not want to allow my desktop to shutdown/restart/hibernate without authentication. How can I achieve this? I am running Ubuntu 12.04 LTS with unity. Most of the questions previously asked ...
4
votes
1
answer
8k
views
What causes “pam_unix … conversation failed” in auth.log
There are thousands of entries in my auth.log like this:
sudo: pam_unix(sudo:auth): conversation failed
What causes these to occur? I'd like to fix whatever it is but I'm a bit mystified as to where ...
4
votes
1
answer
2k
views
Ubuntu One Authentication failed
Ubuntu one fails to authenticate from my new Ubuntu 12.04 64 bit installation but I can access my account from a browser.
I've tried resetting the password several times and I've also tried ...
3
votes
0
answers
920
views
No problems logging in, but sudo gives authentication failure
So to start things off I have had a server running Ubuntu 18.04 for the last two years or so running just fine.
I was logged in to it last night copying some files to my NAS and doing a few other ...
3
votes
1
answer
2k
views
"Device invalid" error trying to open Google Drive remote files with LibreOffice
Premise: I have never used LibreOffice's remote access option before - I just discovered it today and I think it might be very useful for me: I don't know how (nor whether) it works.
I'd like to ...
3
votes
0
answers
460
views
Ubuntu 18.04: Authentication is required - no drop down menu in order to select admin user
We are two admins in the network, and on each computer that we install Ubuntu we have set our own user.
Each PC has the following users: admin1,admin2,desktop_user.
When I try to install something ...
3
votes
0
answers
2k
views
Ubuntu 18.04 (Gnome) authentication error when logging after lock/suspend
I have an issue with screen unlocking. It just rejects my password. And I noticed, it depends on time how long it was locked/suspended! If I unlock 10-20 min. after locking it accepts password and ...
3
votes
0
answers
747
views
2 factor authentication using a USB drive
I want to set up 2 factor authentication using a usb stick/drive. I'm using Ubuntu 16.04 and it seems that libpam and pamusb no longer work for this version.
I don't want to use google authenticator, ...
3
votes
0
answers
284
views
Cannot switch user from autologged account to another account
My computer is running Ubuntu 17.04 and has my wife autologged in. When I want to switch to my account, by clicking to switch at top-right desktop:
This works most of the times, but sometimes I ...
3
votes
1
answer
5k
views
Cannot get authorization to run pg_dumpall
All I am trying to do is backup my existing database cluster in order to upgrade from Postgresql 9.4.8 to 9.5. I am on Ubuntu 16.04.
I am aware of this post: Postgres password authentication fails. ...
3
votes
1
answer
7k
views
DigitalOcean droplet root password not accepted for client, but works for console
I have an Ubuntu 14.04 droplet with PubkeyAuthentication set to yes and PermitRootLogin set to no. Since I created it, my pubkey has worked fine. For some unknown reason today it's not accepting my ...
3
votes
1
answer
372
views
Auto creating accounts
I'm wondering if there is any way to configure Ubuntu or install special software which could allow to automatically create user account when user login first time (without any special privileges, ...
3
votes
0
answers
2k
views
Ubuntu asks for permission to add a printer, but nothing works
I am trying to install my HP LaserJet Pro 400 color m451nw, got it all worked out using the hplip open-source program (hplip-3.14.6) until I get to the very end where I verify and setup the device and ...
3
votes
0
answers
270
views
Get browser and command line access with Digest Based Authentication proxy
Sometimes I need to download files (and do other things) via command line; I have always declared the environment variable http_proxy, https_proxy or ftp_proxy in that way too. For example:
export ...
2
votes
1
answer
721
views
Evolution will not connect with gmail. Errors are "Failed to authenticate: timeout was reached" and "password not available"
I am trying to use the Evolution mail client and it is not connecting to Gmail. This used to work, I have thousands of messages in evolution.
I am using the server imap.gmail.com, port 993. I have ...
2
votes
0
answers
401
views
Ubuntu chrome remote desktop authentication super user
I tried to use google remote access to my Ubuntu computer for the first time in a while. When I try to turn on the chrome remote desktop to share my device, I get "An unknown error has occurred.&...
2
votes
1
answer
626
views
Fingerprint deletes itself on Dell XPS 13 plus - ubuntu 22.04
My fingerprint firmware is ok since I can enroll new fingerprints:
sudo fprintd-enroll
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-...
2
votes
0
answers
167
views
How remote IP address entries in the xauth list, which belong to a marketing company affiliated with my router's ISP could appear
How and why these entries could appear in the output of xauth list (.Xauthority file):
92.242.132.16:1 MIT-MAGIC-COOKIE-1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
92.242.132.16:2 MIT-MAGIC-COOKIE-1 ...
2
votes
0
answers
46
views
Sudo rights without sudo auth
I'm making an Ubuntu x86 Retropie. So far I have been able to figure out how to modify the OS to get all the hardware working but being a Windows admin I'm a little out of my depth on this one.
Is ...
2
votes
1
answer
151
views
How to require password upon wake from hibernation instead of before?
I have a new Lenovo ThinkPad E15 that came with Windows 10 installed. I added Ubuntu 20.04 as an option (dual-boot).
After some tricky configuration, I eventually got hibernation working.
And using &...
2
votes
0
answers
583
views
Ubuntu 20.04 keeps asking for authentication
It doesn't matter how many times I give it the password, it keeps randomly popping up again.
Also, I can just cancel, and it will work fine for a (short) while, then pop up again.
How do I make it ...
2
votes
3
answers
938
views
SSH on Ubuntu 20.04 Windows 10 Subsystem ignores IdentityFile specified in .ssh/config
SSH flat out ignores the identity file I've specified in my .ssh/config file and will not use that key to authenticate with my work server. This is my config file:
Host *
# This is to fix ...
2
votes
0
answers
427
views
How to make a script execute on failed physical login?
So I have setup the PAM for my laptop in such way that if there is a failed login attempt, a bash script is executed by which webcam takes a shot and on three consecutive failed login attempts a siren ...
2
votes
0
answers
1k
views
How to stop popup asking to authenticate for everything
Ever since installing lightdm to fix the login password loop issue, I receive a popup asking me to authenticate from everything to wifi scans, to color profile, to refresh system repositories. I've ...
2
votes
0
answers
3k
views
Why am I getting this Authenticate message all of a sudden when I try to shut down my Ubuntu 16.04 desktop?
It asks for my password to authenticate a shutdown. This never happened to me before, am I hacked?
This is the message,
"Authentication is required for powering off the system while an application ...
2
votes
0
answers
256
views
Track all process activity in real or near real time on Linux
I want to track the activity of processes.
For processes, forks, file access, etc. should be tracked.
Also files, data transfers, authentication events, authorization events, and similar.
It should ...
2
votes
0
answers
1k
views
18.04 cached LDAP passwords
Over the last week I have been working on getting the (Ubuntu 18.04) LDAP directory information cached locally to allow the use of roaming users(on Laptops). Getting the LDAP client setup correctly ...
2
votes
0
answers
1k
views
How to remote login with SFTP into Docker container?
There is a Docker container that operates as a web server (IP address: 172.20.1.24). Also provided by the host machine (this machine runs on the docker) (IP address: 172.20.1.1)
Every virtualhost on ...
2
votes
0
answers
647
views
Print Authentication (Sharp MX-2640N)
I am trying to set up a network printer that requires authentication. I have the problem that there is nowhere to enter the username or password.
The printer is: Sharp MX-2640N.
Running Ubuntu 14.04. ...
2
votes
1
answer
885
views
Can't access server, 2FA rejecting verification codes and back-up codes don't work
I have just configured the google-authenticator 2FA for a server I have and am now unable to sign in as the connections are being rejected by.
I get the following message:
Received disconnect from ...
2
votes
0
answers
750
views
Google 2FA (Two Factor Authentication) installation works with Ubuntu 16.04 Unity Sudo but NOT Login
I successfully followed the instructions on the linux.com site to setup 2FA on Ubuntu 16.04 Unity. Sudo asks for password then verification code and works. N.B. only accepts correct synced code - so I ...
2
votes
0
answers
86
views
(Xubuntu) prompts me for authentication so it can suspend the computer
I left Xubuntu idle for the amount of time needed for it to suspend automatically (and it locks the screen too). When coming back, I typed my password and there was another box floating on the desktop ...
2
votes
2
answers
3k
views
Department ID authentication on Canon iR-ADV 6575
My university just added a new printer - a Canon iR-ADV 6575. I was able to install the Canon iR-ADV 6575 UFR II ver.3.2 driver, but printing is not working. When I send a job, it says "Processing - ...
2
votes
0
answers
900
views
Configuring NFS mount to use LDAP user id
My research group uses LDAP authentication for all the desktops. However, we've purchased a few laptops and would like to set them up so that they don't require LDAP authentication (so we can work ...
2
votes
0
answers
892
views
Not able to run jhbuild:Error executing command as another user: Not authorized
I am running
jhbuild sysdeps --install
After running this command it is asking for authentication:
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/...
2
votes
0
answers
622
views
PAM USB: require USB device only for some users
I have configured the pam_usb module on my Ubuntu 14.04.4 system. The current common-auth rules look like this:
auth sufficient pam_usb.so
auth [success=1 default=ignore] ...
2
votes
1
answer
4k
views
How to fix sudo due to pam error
The short story is that I can SSH into my device with the a username and password that should be in the superuser group (so I should be able to sudo su). The problem is that I was trying to increase ...
2
votes
0
answers
62
views
Apache Authentication
I configured the authentication on Apache2 with .htaccess and .htpasswd files.
Now my problem is that when I close the browser or the browser tab, remain logged in without me being prompted for ...
2
votes
0
answers
185
views
In Ubuntu 14.04, password works for system login but nothing else
TOTAL noob here, having installed Ubuntu 14.04 on my laptop (with some difficulty, as I have no clue what I'm doing).
I set a strong login password that continues to let me log in to my system. I can ...
2
votes
1
answer
531
views
Equivalent Ubuntu network configuration
I have a windows 7 machine (already configured to connect to the LAN) and a Ubuntu 15.04 machine (yet to be configured to connect to the LAN).
On Windows 7, the configuration is as follows
802.1x ...
2
votes
0
answers
357
views
14.04 samba-winbind pam_mkhomedir.so home directory ownership
After joining ubuntu 14.04 to our Active-Directory Domain using samba-winbind pam_mkhomedir creates home, but ~/.config and other directories are owned by root, preventing graphical login. Please help....
2
votes
0
answers
581
views
How do we implement requirements of password policy?
This question might look similar but I could not find a solution to this which covers all the below requirements of the policy, Hence please help me:
- Incorrect pass lockout (after 3 incorrect ...
2
votes
0
answers
4k
views
Can't authenticate against LDAP. /etc/nsswitch.conf seems to be ignored
Running ubuntu 14.0.4.1 on a BananaPi (ARM). I've had a lot of luck getting LDAP authentication to work under 14.0.4 on x86, but something about this just isn't working.
If you run getent passwd | ...