Questions tagged [password]

A password is a collection of characters that is used, usually in conjunction with a username, as a means of authentication.

Passwords have been used in computing since as early as 1961, on MIT's Compatible Time-Sharing System - one of the first multi-user machines. They are generally used in combination with a username to authenticate a user's access to various resources that are not public. For added security, passwords are sometimes used with various hardware tokens instead of a username, or are completely replaced with something like an RSA keypair.

922 questions
740
votes
9 answers

How to automate SSH login with password?

How to automate SSH login with password? I'm configuring my test VM, so heavy security is not considered. SSH chosen for acceptable security with minimal configuration. ex) echo password | ssh id@server This doesn't work. I remember I did this with…
Eonil
  • 10,459
  • 16
  • 36
  • 54
209
votes
1 answer

SSH use only my password, Ignore my ssh key, don't prompt me for a passphrase

This is a question regarding the OpenSSH client on Linux, MacOSX and FreeBSD. Normally, I log into systems using my SSH key. Occasionally, I want my SSH client to ignore my SSH key and use a password instead. If I 'ssh hostname', my client prompts…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
207
votes
8 answers

How to setup passwordless `sudo` on Linux?

How can passwordless sudo access be setup on either RHEL (Fedora, CentOS, etc) or Ubuntu distributions? (If it's the same across distros, that's even better!) Setting: personal and/or lab/training equipment with no concern for unauthorized access…
warren
  • 18,369
  • 23
  • 84
  • 135
192
votes
6 answers

how to disable SSH login with password for some users?

On Linux (Debian Squeeze) I would like to disable SSH login using password to some users (selected group or all users except root). But I do not want to disable login using certificate for them. edit: thanks a lot for detailed answer! For some…
Stepan
  • 2,139
  • 3
  • 15
  • 8
142
votes
4 answers

Is my password compromised because I forgot to hit Enter after ssh username?

I've just tried logging into a Fedora (release 13 Goddard) server using SSH (PuTTY, Windows). For some reason the Enter after typing my username didn't go through and I typed in my password and hit Enter again. I only realized my mistake when the…
Jonas Heidelberg
  • 1,184
  • 1
  • 7
  • 14
63
votes
9 answers

Is it OK to set up passwordless `sudo` on a cloud server?

I love the idea of accessing servers via keys, so that I don't have to type in my password every time I ssh into a box, I even lock my user's (not root) password (passwd -l username) so it's impossible to log in without a key. But all of this…
Dmitry Pashkevich
  • 713
  • 1
  • 5
  • 11
62
votes
6 answers

How to pass password to scp command used in bash script?

Possible Duplicate: Connect through SSH and type in password automatically, without using a public key I have a bash script that makes dump of DB then copies file from one server to another but it always asks for password before connection. scp…
chubbyk
  • 883
  • 2
  • 10
  • 15
62
votes
19 answers

Best Practise and Solutions for Sharing Passwords

We have various passwords that need to be known to more than one person in our company. For example, the admin password to our internet routers, the password for our web-host, and also a few "non-IT" passwords like safe codes. Currently, we use an…
Stewart
  • 925
  • 1
  • 8
  • 10
61
votes
9 answers

Tool to test a user account and password (test login)

Yeah, I can fire up a VM or remote into something and try the password...I know...but is there a tool or script that will simulate a login just enough to confirm or deny that the password is correct? Scenario: A server service account's password is…
TheCleaner
  • 32,627
  • 26
  • 132
  • 191
60
votes
7 answers

How to change my MySQL root password back to empty?

When I'm working locally, I don't really need to enter my password to access my database. I changed my root password when I first installed MySQL, but I don't know how to change my password back. What should I do?
Andrew
  • 3,453
  • 9
  • 33
  • 36
59
votes
9 answers

How do you recover you RDS master user username?

Resetting the RDS master user's password is simple enough, but how do you find your master users username?
mkirk
  • 713
  • 1
  • 5
  • 7
59
votes
40 answers

How do you manage your passwords?

Obviously seeing as how many of us here are system administrator type people, we have a lot of passwords strung out across numerous systems and accounts. Some of them are low priority, others could cause serious harm to a company if discovered…
DWilliams
  • 953
  • 2
  • 20
  • 29
49
votes
7 answers

Disable password complexity rule in Active Directory

Where do I go to disable the password complexity policy for the domain? I've logged onto the domain controller (Windows Server 2008) and found the option in local policies which is of course locked from any changes. However I can't find the same…
44
votes
9 answers

How to hide a password passed as command line argument?

I'm running a software daemon that requires for certain actions to enter a passphrase to unlock some features which looks for example like that: $ darkcoind masternode start Now I got some security concerns on my headless debian…
q9f
  • 640
  • 3
  • 10
  • 21
42
votes
4 answers

Allow linux root user mysql root access without password

On cPanel when I am logged in as root and type "mysql" without hostname and password it gives me direct access to mysql root user. I would like to do this for one of my non-cpanel server where the linux root user gets password less logon to mysql…
user1066991
  • 481
  • 2
  • 5
  • 6
1
2 3
61 62