passwords

Mysql (MariaDB 10.0.29): Set root password, but still can login without asking password?

旧城冷巷雨未停 提交于 2019-12-03 06:37:50
问题 I want to secure mysql by setting root password. I reset root password successfully: MariaDB [(none)]> select Host, User, Password from mysql.user; +-----------+------+-------------------------------------------+ | Host | User | Password | +-----------+------+-------------------------------------------+ | localhost | root | *58319282EAB9E38D49CA25844B73DA62C80C2ABC | +-----------+------+-------------------------------------------+ 1 row in set (0.00 sec) But, after flush privileges, restart

Check when password was last changed

给你一囗甜甜゛ 提交于 2019-12-03 05:59:39
问题 How do I check when the password was last changed for some user? I would like to do it both on Windows and Linux, can you guide me a little how can I do that? 回答1: In Linux: chage -l {username} In Windows: net user {username} | find /I "Password last set" In Windows (user part of a domain): net user {username} /DOMAIN | find /I "Password last set" 回答2: * nix Check out the command chage or getprpw Windows net user UserName has the information in it 回答3: net user UserName /DOMAIN | find /I

How secure is proguard against reverse engineering?

北城以北 提交于 2019-12-03 05:59:19
I will be working with very sensitive data in an app. Obfuscation by my definition is not added security, it will only delay the cracker with finite time. Is it possible that Proguard does this so well it may be called added security? What is most sensitive are some network calls. It will be hard to sniff the password because we will generate the password on both sides and check it's validity with timestamps. Problem is the app may be reverse engineered and the generate algorithm may be exploited. It is not possible to keep the algorithm locally in a file because with a rooted phone the

How would you add salt to your existing password hashes?

 ̄綄美尐妖づ 提交于 2019-12-03 05:55:08
I have a database of hashed passwords that had no salt added before they were hashed. I want to add salt to new passwords. Obviously I can't re-hash the existing ones. How would you migrate to a new hashing system? Sure you can. Just add a salt to the existing hash and hash it again. Of course this will require any future logins to go through the same process meaning two hash functions will need to be called but lots of legitimate patterns do this anyway so it doesn't smell as bad as you might think. Salting a password is an effort to defend against rainbow tables. In this case the salt does

“ORA-28001: the password has expired” not fixable

…衆ロ難τιáo~ 提交于 2019-12-03 05:50:16
I am facing a problem with my production database. The password expired and although I changed the password, it still says it is expired. Even stranger, I have a production web application and a development web application. Both of them access the same database. The production web application works perfectly, and with the development web application I always get: 10:25:42,919 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: ORA-28001: the

Given a linux username and a password how can I test if it is a valid account?

寵の児 提交于 2019-12-03 05:48:59
问题 So my question is straight forward given a linux username and a password how can I test if it is a valid account? 回答1: You can validate that a given password is correct for a given username using the shadow file. On most modern distributions, the hashed passwords are stored in the shadow file /etc/shadow (which is only readable by root). As root, pull the line from the shadow file for the given user like so: cat /etc/shadow | grep username You will see something like this: username:$1

How to use MD5 in javascript to transmit a password

旧时模样 提交于 2019-12-03 05:43:51
问题 I have a jquery dialog modal box pop up for logging into my website. When a user clicks login it does a post request to a login.php file as follows: $.post( 'includes/login.php', { user: username, pass: password }, onLogin, 'json' ); How do I do an md5 on that password before putting it in the post request? Also, I have the user's passwords stored in a MySQL database using MD5(), so I would like to just compare the stored version of the password with the MD5 of the password submitted. Thanks

Clearing Eclipse Subversion password

老子叫甜甜 提交于 2019-12-03 05:40:32
问题 Eclipse/Aptana seems to remember my password that I use to access my SVN repositories. Is there a way I can clear the stored passwords? 回答1: just want to share, In windows 7 machine, the password is saved at: C:\Users\[username]\AppData\Roaming\Subversion\auth\svn.simple 回答2: Change the perspective to SVN Repository Exploring . Inside the SVN Repositories view, right click "Location properties... ". A dialog will open and on the first tab you will be able to change your username and password.

C# - compare two SecureStrings for equality

房东的猫 提交于 2019-12-03 05:34:03
问题 I have a WPF application with two PasswordBoxes, one for the password and another for the password to be entered a second time for confirmation purposes. I was wanting to use PasswordBox.SecurePassword to get the SecureString of the password, but I need to be able to compare the contents of the two PasswordBoxes to ensure equality before I accept the password. However, two identical SecureStrings are not considered equal: var secString1 = new SecureString(); var secString2 = new SecureString(

How to change password using TortoiseSVN?

和自甴很熟 提交于 2019-12-03 05:34:02
问题 I need to change my SVN password. I am using TortoiseSVN client. I am not able to find the password change or add user option. Is it possible? Is there any work around or command line syntax to create an SVN user or edit users? 回答1: Password changes are handled by the subversion server administrator. As a user there is no password change option. Check with your server admin. If you are the admin, find your SVN Server installation. If you don't know where it is, it could be listed in Start-