passwords

How to change mysql root password

本小妞迷上赌 提交于 2019-12-11 06:14:03
问题 I'm trying to change the mysql root password on my machine. Another engineer created the password and left the company so I don't have access. I'd rather not have to reinstall the whole shebang. I'm trying to follow the instructions here: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html But when I execute the command on step 2 of the "Resetting the Root Password: Unix Systems" instructions I get the following error: FitValet-MacBook-Pro:~ fitvalet$ kill `cat /usr/local/mysql

Encrypting and storing new passwords via the Management Console

我只是一个虾纸丫 提交于 2019-12-11 05:07:09
问题 I am trying to store password in wso2 management console so that I can refer it using an alias in my API configuration files. I am following below steps: Manage -> Secure Vault Tool and then click Manage Passwords-> Add New Password to encrypt and store: management console: adding password alias After clicking on add I get the below error "Failed to load security key store information ,Configure secret-conf.properties properly" I am struggling with this issue, don't know what I am missing. I

How do I generate a time limited key or password without storing data

扶醉桌前 提交于 2019-12-11 04:48:16
问题 Here is my scenario... Users client application makes a request to a web service for access. Webservice responds with a "key" that is only valid for X seconds/minutes (time could be variable or at least definable in my web service) Users client application uses the key immediately to make a further request. Web service checks that the key is still valid and if it is proceeds with the request, otherwise responds accordingly. I need to do this without actually storing the key in the database so

Are NSUserDefaults data synced to iTunes?

大憨熊 提交于 2019-12-11 04:28:32
问题 I understand that NSUserDefaults data is unencrypted and should not be used to store sensitive information. I'm trying to understand how easily someone could get at that information. This thread shows that it's just a plain file on the iphone filesystem. Will this file be transferred to the user's computer during an iPhone sync (if app sync is enabled)? If so, then it'd be extremely easy for anyone to read information stored in NSUserDefaults 回答1: Yes the file will be synced during a backup

Understanding Liferay Password Encryption

时光怂恿深爱的人放手 提交于 2019-12-11 04:17:34
问题 About passwords encryption in liferay I found out that liferay is using PBKDF2WithHmacSHA1/160/128000 algorithm by default which generates 160 bit hashes using 128,000 rounds. And I can use the following types by applying them in my portal-ext.properties file #passwords.encryption.algorithm=BCRYPT/10 #passwords.encryption.algorithm=MD2 #passwords.encryption.algorithm=MD5 #passwords.encryption.algorithm=NONE #passwords.encryption.algorithm=PBKDF2WithHmacSHA1/160/128000 #passwords.encryption

Cannot set password with DirectoryEntry.Invoke when user is created in AD using ASP.NET C#

这一生的挚爱 提交于 2019-12-11 03:55:21
问题 A Web Application is creating a user from a Personnel Management Page which in turn adds the user to the Active Directory. Here is code to do this: DirectoryEntry Folder = new DirectoryEntry("LDAP://XXXX.com/CN=ContainerName, DC=XXXX, DC=com", admin, adminPwd, AuthenticationTypes.None); if (Folder.SchemaEntry.Name == "container") { DirectoryEntry user = Folder.Children.Add("CN=" + txtFirstname.Text + " " + txtLastname.Text, "User"); if (DirectoryEntry.Exists(user.Path)) { // Error Msg Here }

Validate Expired Password in active directory

谁都会走 提交于 2019-12-11 03:38:41
问题 I'm writing a self service password reset system in c#, .Net 3.5 - one of the things that I need to do is allow users to authenticate with an expired password and give them the ability to change it. Can you, using the System.DirectoryServices or System.DirectoryServices.AccountManagement namespaces validate an expired password? Is there anyway to do it using low level api calls? Thanks 回答1: See this question, specifically this answer 来源: https://stackoverflow.com/questions/767978/validate

How do I define the password rules for the ASP.NET Membership Provider?

陌路散爱 提交于 2019-12-11 03:32:03
问题 When using web forms authentication with the ASP.NET Membership provider, we are defaulted to some decently strict password rules. I think eight characters, including one non-alpha, are required. I'm not looking to make them all willy-nill loose, but generally I do not use a non-alpha character in my own password, and feel like a hypocrite forcing my users to do so. I've done some looking, but can't figure out where this rule is defined. I'm sure I'm just missing something simple - anyone

How does one display * when typing a password in a C/C++ command-line tool? [duplicate]

寵の児 提交于 2019-12-11 03:27:56
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Read a password from std::cin Replace input with “ * ” C++ I'm looking for the C/C++ comparable way of doing <input type="password" /> for allowing the user to type in their password after a prompt in a command-line tool written in C. string username; string password; cout << "Username: "; getline(cin, username); cout << "Password: "; [<input type="password" />] getline(cin, password); 来源: https://stackoverflow

How to change a user's tomcat password in servlet application?

淺唱寂寞╮ 提交于 2019-12-11 03:27:03
问题 Our web application is deployed on Tomcat, currently using the UserDatabaseRealm for security. We want to supply a page in the application where the user can change their password - a simple, common web application function. I cannot find any example servlet code to do this. The Tomcat description of the UserDatabaseRealm implies that it can be updated programmatically after loading the XML when the server starts, and it can also save changes back to the XML file. There is a brief mention of