The authentication tag has no wiki summary.
30
votes
2answers
9k views
Why is there a big delay after entering a wrong password?
I notice a weird (well, according to me) thing about passwords. For example, if I type an incorrect password during login, there will be a few seconds' delay before the system tells me so. When I try ...
15
votes
4answers
2k views
Can I find out which ssh key was used to access an account?
Is it possible to find out which ssh key was used to access an account? I have an account on a server that I let several (trusted!) people have access to via ssh. I'd find it useful to be able to ...
13
votes
2answers
586 views
SSH ignores characters after correct password string?
Remote machine 10.10.10.1 has password "asdFGH12" for user named "user". I'm able to log in even if I type in password "asdFGH12dasdkjlkjasdus" or any other characters after the "asdFGH12" string.
$ ...
10
votes
3answers
792 views
How can I lock my own account from remote ssh login with password?
I don't want to disable remote login with password altogether, but I want to make it so that my account is only accessible with key pair authentication (there are other users who wants to use ...
10
votes
2answers
262 views
Groups differ from the local ones when logging in remotely
We store our users in LDAP, alongside some groups that have meaning across different systems (organizational roles including wheel). There are also groups local to workstations, e.g. audio or video ...
7
votes
3answers
1k views
Why does my sudo ask for password only once but evaluate thrice?
$ sudo some_command
Password:
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
$
This is what my shell prints when I enter a wrong password to a sudoed ...
7
votes
2answers
381 views
iPhone type login screen?
The person that introduced me to Fedora had somehow made his login screen so that instead of typing in a password he used the "connect the dots" password that's popular on phones. Eg
On my ...
6
votes
4answers
638 views
Is it possible to change password database file(/etc/passwd) in linux?
Is it possible to change password database file(/etc/passwd) to some other file. How does this authentication mechanism work internally ?
Does it depend on pam ?
5
votes
3answers
1k views
How can I make a user able to log in with ssh keys but not with a password?
I would like to create a user and have no password. As in you cant log in with a password. I want to add keys to its authorized_keys by using root. This is for my automated backup system.
5
votes
2answers
401 views
How to check for empty passwords?
Looking at all the ssh-login attempts by script-kiddies I assume that there are messed up systems connected to the internet that have password-less accounts set up.
But how to check a Linux/Unix ...
5
votes
2answers
3k views
Not able to ssh in to remote machine using shell script in Crontab
Below is the script which i am trying to run, which runs without any issue
for i in `seq 200 2100`
do
usr=(`ssh -t -t -o ConnectTimeout=60 machine$1 finger | tail -1 | awk '{print$1}'`)
echo ...
4
votes
3answers
3k views
ssh remote server on some port other than 22 without password
I am usually connecting to the remote server with
ssh [email protected] -p 11000
and then giving the password each time for user.
How should I avoid entering the password each time I connect ...
4
votes
3answers
214 views
login and su internals
I am trying to understand how user permissions work in Linux. The kernel boots and starts init as root, right? Init then runs startup scripts and runs getty (agetty), again as root. Agetty just reads ...
4
votes
2answers
456 views
How to disable “Shake password dialog when authentication fails” of Gnome Screensaver?
Is there any way to disable the animation which occurs when attempting to unlock gnome Screensaver and failing? Currently the password dialog shakes back and forth and for some reason on some laptops, ...
4
votes
6answers
792 views
Identity Management with ActiveDirectory
What is the best, or most reliable, way to manage my Unix/Linux user accounts with ActiveDirectory? Or, is this even feasible?