Questions about authenticating wireless connections, SSH keys, or passwords in Ubuntu.

learn more… | top users | synonyms

84
votes
11answers
101k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
80
votes
3answers
75k views

How do I deal with “unauthenticated sources” errors in the Software Center?

Any install that I'm trying through the Software Center is telling me: Requires installation of untrusted packages: The action would require the installation of packages from not authenticated ...
48
votes
2answers
5k views

How can I use a passcode generator for authentication for remote logins?

I would like to strengthen the authentication of my SSH logins by adding another factor: a passcode generator device, or a passcode generation application on my mobile phone. The only obvious options ...
36
votes
2answers
32k views

Why am I getting authentication errors for packages from an Ubuntu repository?

I'm experimenting with VPNs, so I wanted to install pptpd. john@desktop:~$ sudo apt-get install pptpd [sudo] password for john: <snip> The following extra packages will be installed: bcrelay ...
31
votes
1answer
6k views

How can I use face-recognition to login?

I am using Ubuntu 12.04 64-bit. I am looking for a facial recognition program that I could use to log in to my account. I have heard of Pam Face Recognition, but there does not appear to be a package ...
25
votes
1answer
1k views

How to know if a authenticate box is real or fake?

For example, someone creates a fake Authenticate dialog to get my root password. How to know if it is real or fake?
24
votes
6answers
42k views

How to run an application using sudo without a password?

... but still be required for applications that need admin privilegies? In order to allow the following: $ apache2ctl restart httpd not running, trying to start (13)Permission denied: make_sock: ...
23
votes
2answers
32k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
20
votes
2answers
15k views

How can multiple private keys be used with ssh?

I was able to setup ssh to use private/public key authentication. Now I am able to do ssh user@server1 And it logs on with the private key. Now I want to connect to another server and use a ...
17
votes
2answers
10k views

nslookup finds ip, but ping doesnt

I know this looks like all the other "can ping via ip but not dns" questions, but those didnt really help me at all. Also, having hosts files in all machines is not doable as this server will ...
17
votes
4answers
25k views

“Software can't be installed or removed because the authentication service is not available. ”

I have 12.10 ubuntu and when I try to remove / install programs I get notification : Software can't be installed or removed because the authentication service is not available. ...
16
votes
9answers
12k views

Access Prompt keeps asking for GMail password

A pop up keeping appearing in Ubuntu (running 12.10), asking for the password to my gmail account. The icon has a silver shield, and it is labeled Access Prompt. The actual window has an image of ...
13
votes
10answers
58k views

Trying to do ssh authentication with key files: server refused our key

I'm trying to setup ssh authentication with key files in stead of username/password. The client is a Windows box running PuTTY and the server is a Ubuntu 12.04 LTS server. I downloaded puttygen.exe ...
13
votes
3answers
8k views

I deleted the “/etc/passwd” file and cannot log in

I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this ...
12
votes
7answers
13k views

ssh no longer allows public key authentication

My machine recently stopped accepting incoming public key authentication. I have an ubuntu 11.04 desktop that I ssh into from a windows machine. I use putty with pageant. I am able to connect but ...
11
votes
3answers
5k views

Security warning from Facebook in Chromium

I am terrified. Every ten minutes Chromium pops up with a tab stating: Success SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone. Very ...
9
votes
4answers
21k views

Can't complete dropbox installation from behind proxy

Problem: My PC on campus sits behind a proxy (requiring authentication) and I can't setup Dropbox. I am convinced that this is a proxy issue as I can't setup Ubuntu one either (but I don't use Ubuntu ...
9
votes
2answers
2k views

What is the least insecure way to store a password that is used by a script?

I have a Bash script that automatically authenticates with a service using my username and password. The credentials are currently stored as plain text within the script. What precautions should I ...
9
votes
5answers
5k views

Use different username on CUPS remote printing

I'm using CUPS to print on an enterprise network. The job gets submitted fine, but I need to submit it as another username. Now I'm jon but I need to send it as say jonallard. On the command line, ...
8
votes
0answers
256 views

How to move keys to “Login” in seahorse? [duplicate]

Possible Duplicate: Is there a way to move passwords from “Default” to “Login” in seahorse? I want to move a few passwords into "login" in Seahorse, so that I will ...
7
votes
3answers
11k views

How to use “apt-get” via “Http-proxy” like this?

I'm trying to use apt-get command on a network that uses a proxy, like this: We use 10.114.7.7 on port 80 as Http-proxy, and after that an authentication window comes up, asking for user name and ...
7
votes
4answers
10k views

Why can't I access super-user mode with su? [duplicate]

I just have managed to install Lubuntu 12.04. Now I want to do some things in the terminal like installing and configuring the Apache and a Lamp-system among other things. I come from Open SUSE world ...
7
votes
1answer
4k views

Error Password: chsh: PAM: Authentication failure when try to install Oh my zsh

I try to install Oh my zsh. After install zsh (sudo apt-get update && sudo apt-get install -y zsh) Then I install sudo apt-get install -y curl then install git. the problems occurs ...
7
votes
1answer
1k views

Error authenticating some packages while upgrade

When I try to upgrade my ubuntu 13.04 to 13.10, it gives the following error: It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again ...
6
votes
3answers
3k views

gksudo with cool GNOME Shell integration

What's the command for executing this "gksudo" (or whatever it is) window from Alt+F2?
6
votes
1answer
1k views

I get Authentication is needed to run `/usr/bin/dropbox' as the super user

in a system popup window on startup. Anyway to avoid this? fwiw I authenticate ok with my pw. I think this may have started after my recent upgrade from Ubuntu 12 -> 13
6
votes
1answer
383 views

How do you Make Ubuntu One re-authenticate?

I was trying to restart syncing with Ubuntu One because it was not syncing my music folder. However, I accidently deleted my computer from the sync list: (Ubuntu One.com > Account > View the ...
6
votes
2answers
3k views

USB drive Login token system?

Is it possible to have a USB drive function as a login token? IE: I turn on my computer, plug the USB drive into my system and the system recognises it and logs me in? Likewise, logs me out should ...
6
votes
1answer
313 views

OAuth/Authenticating user for Unity Lenses

Trying to create a lens that would touch a web service that requires oauth authentication. And a search here, netted me this: https://wiki.ubuntu.com/Unity/Lenses I was using this tutorial to ...
6
votes
1answer
2k views

UbuntuOne for Windows does not work - I got “Problem opening the ping_url” error

When I try to login to existing account I got "Problem opening the ping_url" error.
6
votes
2answers
741 views

Authentication required to modify a printer- what's the password?

I have 12.04 and have 2 printers installed, both wirelessly over my personal network, no printer sharing. When I try to modify the printers I get a window asking for authentication (username and ...
6
votes
1answer
3k views

Auth failed error on windows 7 ultimate

after installing ubuntu one on windows 7 ultimate, when i try to log in, Ubuntu gives me back the message :The authentication failed. Oh, it's OK. Perhaps I've forgotten the pass. So i clicked I've ...
6
votes
2answers
695 views

How do I configure a fingerprint scanner?

I have a HP dv6-3079tx. One feature I like about it is the fingerprint scanner, Is there a utility out there that will allow me to swipe my finger whenever I am required to enter my password?
6
votes
3answers
4k views

Install packages without root permissions

Would it be possible to install packages without admin rights(sudo?) on Ubuntu? It doesn't have to be system-wide, maybe a private installation within /home. I want this because I'd like to setup my ...
5
votes
4answers
24k views

Ubuntu 12.04 network printing through Windows Samba server

I have to print through a Samba server sharing an HP printer. After upgrading to 12.04 I'm no longer able to get it to work. The printer is shared through a samba server and I need to provide logon ...
5
votes
2answers
3k views

OpenSSH Two Factor Authentication

I'm using Ubuntu Server 13.04 and want to use OpenSSH for sftp. I have everything set up and the only thing not working is the Two Factor Authentication. Currently it asks for a password or the public ...
5
votes
1answer
1k views

Login on local terminal without password

I have a virtual guest of Ubuntu on a KVM Machine, I've setup the machine so I can type virsh console and be dropped into a console. I realise the security considerations here, but is it possible to ...
5
votes
1answer
23k views

connect to openvpn using username and password

Is it possible to connect to an openvpn server using a username and password. I read that you need a config file on ubuntu, but I don't have a config file. How can I connect to my openvpn server ...
5
votes
3answers
20k views

Password not working for sudo (“Authentication failure”)

Before I mention anything further, DO NOT give me a response saying that terminal won't show password input. I'm AWARE of that. I'm typing my user password in (not a capslock issue), and for some ...
5
votes
2answers
2k views

Unauthenticated software sources

My Lucid (10.04) installation recently started warning me that the updated packages were unauthenticated. For instance, if I open Update Manager and click the "Install Updates" button, it warns me ...
5
votes
3answers
3k views

Prevent duplicate wireless authentication windows

First I need to specify that this is not a duplicate of this: How do I turn off wireless connection notifications? Neither is this a duplicate of this: How to disable notification from ...
5
votes
4answers
8k views

Installed perfectly but password not working for login or authentication

I installed Ubuntu on an old XP machine (replaced XP with Ubuntu) and it seemed like it went well... Until I tried to download and install the suggested updates! The password I set during ...
5
votes
2answers
3k views

Software center will not let me authorize

When trying to install a program from the software center it will ask for a password. I enter my password and the authentication window goes away and/or tells me there is a problem and the program ...
5
votes
1answer
4k views

Wifi only accepts passwords of 5 or 13 characters

Installed Ubuntu 13.04 and when attempting to connecting to a home wifi network, the connect button is only click-able with passwords of 5 or 13 characters. Is there a fix?
5
votes
2answers
426 views

I think someone logged into my computer at work

I went to get breakfast in the cafeteria and when I came back I noticed my lockscreen hadn't faded, as if it was accessed in the past 5 minutes. There is the log file snippet for the keyword 'guest': ...
5
votes
1answer
323 views

Yubikey Two-factor Authentication Full-disk Encryption via LUKS

I recently acquired a Yubikey Neo - a nifty little hardware second factor authentication device. It's primarily intended for use with One Time Passwords, and the emerging U2F protocol - but since ...
5
votes
1answer
1k views

How to authenticate googlecl using terminal

I'm trying to use googlecl on my Ubuntu server to send pictures from my server to picasa. I can't seem to authenticate via google using w3m, so I'm wondering if there is some other way to ...
5
votes
1answer
1k views

13.04 Packages cannot be Authenticated

I am unable to install updates because the following Packages cannot be authenticated: libudev1 libxml2 libasound2 google-chrome-stable libgudev-1.0-0 libtiff5 linux-image-3.8.0-19-generic ...
5
votes
2answers
15k views

How to use Google Authenticator with OpenVPN server on Ubuntu 12.04

I have a working OpenVPN system on Ubuntu 12.04 and I'd like to add Google Authenticator for extra security. This is my current openvpn config: dev tun proto udp port 1096 ca ubuserv04-ca.crt cert ...
5
votes
2answers
1k views

Is there a way to save username and password for print authentication?

I saw this this question and followed its answer, but the problem persists for me. Once I send a document to print, this dialog box (in figure) opens up and shows "Held for authentication". Then I ...