New answers tagged

4

This is in fact the same password you use when you login your user. Make sure you not have Caps-Lock activated and so on. Unless you messed something up greatly this should work. You should be even able to switch to the super-user by using sudo su, sudo -i and such commands, which is not recommended because in this case you forfeit the security layer which ...


0

I think your best bit would be to wrap the entire script, using shc (Bash script compiler). That way you could use plain text, like echo password | sudo -S script.sh in your script. I suppose someone could decompile, but we're pretty far out there, and then if that's the concern, don't store your sudo password. Link to SHC. shc github


1

If you can't boot into a root shell you're kinda boned. I've seen this happen before when people forget to change the access on the key file. The recommended method is to attempt to use the key before turning off password based authentication. If it's an instance in a cloud, call your provider and have them reset the password (which may not be free or even ...


2

This would do it. n=5 p="password" u="username" for (( c=1; c<=n; c++)) ; do d=$p$d ; done echo $u":"$d | sudo chpasswd the sudo part is not necessary if you're running this as root.


0

Visionary Password Manager Quoting the project page Conventional password managers have a few flaws. They work by generating passwords, encrypting them with a master password, and then storing or syncing the encrypted passwords somewhere. There are a few problems with this approach: The encrypted data can be lost, thereby locking the user out of all of ...


0

Just for full measure, it should be noted that browsers on Ubuntu support saving passwords and syncing them: Firefox saves passwords, and you can share them with other Firefox installations on other devices (Windows, Mac, Android, iOS, Firefox OS) using Firefox Accounts/Firefox Sync. Everything is encrypted client-side, which means Mozilla can't know your ...


0

Is it a local account or a Microsoft account? If it's a Microsoft account, you need to reset the password online via Microsoft's password reset form. This step-by-step tutorial explains how to reset Windows 7 local user password with Ubuntu Live CD: http://www.chntpw.com/reset-windows-7-admin-password-with-ubuntu/ It should also work with Windows 10. Most ...


2

The new hashing algorithm will be used only when creating new hashes. The old hashes in /etc/shadow will be still supported. All users would have to change the password to apply the new algorithm to their hashed password. Being able to rehash existing passwords would really beat the purpose.


1

You need to setup the git credential helper with Gnome Keyring: Install and compile the Gnome Keyring devel: sudo apt-get install libgnome-keyring-dev sudo make --directory=/usr/share/doc/git/contrib/credential/gnome-keyring And setup the credential: git config --global credential.helper ...


-1

Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. This setting is valid only for each terminal session. If you close the terminal and open it again, try to push in your repo, u will be asked to enter your credentials again


0

I think you may have answered your own question. If you are at the lock screen, you cannot access the WIFI settings. This means that an authorized user must be logged in before you can get to those settings. Now, the problem sounds to me like you are worried about a security hole that all network admins no matter what platform have to worry about: ...


1

Open a terminal and type: sudo apt-get remove --purge phpmyadmin or as Rinzwind noted sudo apt-get purge phpmyadmin this should (1) remove phpmyadmin and (2) remove its settings files and so on too.


0

Any way? Yes, look up the liquid nitrogen RAM attacks. It's always a question of how secure you want to be, not being undefeatable. If an attacker needs a dewer of LN on hand to defeat you, you're fairly likely to see him coming.


0

They could try to brute-force your password, you might want to set it up so accounts are locked out after too many failed attempts. You didn't ask how, but if you're interested you can read more here http://blog.bodhizazen.net/linux/ubuntu-how-to-faillog/) Edit : including steps as requested Open /etc/pam.d/common-auth and add the line AT THE TOP OF THE ...


0

Reboot. At the Grub menu, select "Advanced options". Select Ubuntu with the latest kernel version that says (Recovery mode) next to it. At the recovery menu, select "root Drop to root shell prompt" Once at the prompt type this: pam_tally2 --user=yourusername --reset (Obviously put your actual username here, which is case-sensitive) Then type ...


1

You can write-update a password to a seperate file. This works for me: echo "vpn.secrets.password:MY_PASSWORD" > /my/vpn/password nmcli con up uuid MY_UUID passwd-file /my/vpn/password


1

Simply follow the following command line steps for your PC not prompting for any password. Edit the file $ sudo visudo Find the line $ %sudo ALL=(ALL) ALL Change the line $ %sudo ALL=(ALL) NOPASSWD: ALL Now the line should be look like # Allow members of group sudo to execute any command $ %sudo ALL=(ALL) NOPASSWD: ALL Save and ...


1

VPN Autoconnect states that "It seems that NetworkManager fails to obtain the user's VPN password from gnome-keyring-daemon." it also states a possible workaround.


3

1) Mount the Windows drive. 2) Rename C:\Windows\System32\sethc.exe to sethc_bak.exe 3) Copy C:\Windows\System32\cmd.exe and paste in the same DIR, renaming to sethc.exe 4) Reboot into Windows. 5) On the logon screen, press shift 5 times. You should now have an admin CMD prompt. 6) In the CMD window, type net user your-user YourNewPassword [replacing ...


0

I never did this with Ubuntu Live CD, but with ophcrack Live CD: http://ophcrack.sourceforge.net/ I tried a years ago, and I guarantee you that works fine in Windows XP and 7. I Never tried in windows 10. But you can try it and tell us. It's a GUI program.


1

$ find / -name nagios*.conf ###/etc/httpd/conf.d/nagios.conf $ cat /etc/httpd/conf.d/nagios.conf | grep AuthUserFile ###AuthUserFile /etc/nagios/passwd $ sudo htpasswd -c /etc/nagios/passwd nagiosadmin


0

I don't have a solution :P I have problems with wifi even at my home, if the signal gets lost and then up again then the wifi, sometimes, can't reconnect (even with disabling-enabling wifi). The only thing I can do is run in terminal 'systemctl restart NetworkManager' and the wifi works again. You can create a .desktop file on your desktop with this command ...


0

The only real solution for me was using this great ADD-ON: https://addons.mozilla.org/pl/thunderbird/addon/master-password/ It gives you total control over the MASTER password, that was being asked several times (for each account?) on each thunderbird startup, and the prompt for the GOOGLE account password (already SAVED!) was also fixed.


1

I had the same issue. I tried to use evolution, but deinstalled it. Unfortunaltey, some packages left over. Thus, run the following command to check, if all packages from evolution are deinstalled: apt --installed list | grep evolution In my case, the evolution-data-server was still installed. Thus, I had to run: sudo apt-get remove evolution-data-server ...


0

According to this answer you can use secret-tool: # store password secret-tool store --label='MyLabel' server myserver user myuser key password # retrieve password secret-tool lookup server myserver user myuser key password


1

crunch 8 8 -t @@@@%%%% -o wordlist.lst The command above creates a file named wordlist.lst as specified by the switch -o. The first 8 defines the minimum quantity of charachters in every word, so the second 8 defines the maximum. The @ and the % are crunch special charachters that are substituted respectively by lowercase letters and numbers.


0

Yes. It helped to escape special chars: MPASS=$(printf "%q\n" "$DB_PASS") But there was still a problem with mysqldump. I finally found out, that mysqldump only worked for me with passwords with special characters when I don't tell mysqldump the host (-h hostname). This seems to be a bug. Or isn't it? Unfortunately I also have sites where the mysql ...


49

There is an easily changed setting to prevent these requests for password when you walk away from your computer for a while. First follow this path: Dash --> System Settings --> Personal --> Brightness & Lock Then take the following 2 steps: Set the 'Lock' setting to 'Off' Uncheck the setting 'Require my Password when waking from suspend' ...


0

this should work on ubuntu 16.04: nmcli --ask con up id MyVPN to get this working over ssh i also had to add rules in /etc/polkit-1/localauthority/90-mandatory.d one called 90-ssh-network-control.pkla with content: [Network Manager - Control network nmcli] Identity=unix-user:yourusername Action=org.freedesktop.NetworkManager.network-control ...


0

The wifi password manager is not able to store the password for all users in the keychain. Therefore when entering the password choose the people icon in the password box and choose store the password only for this user. The system will prompt you for a keychain password. Next go to network manager and choose your wifi network. The network manager should ...


1

For completeness' sake, I post the solution we found during our conversation in the comments section as an answer: First of all, you are probably able to boot into your Linux system, you may just not be able to log in graphically, since graphical login usually tries to read/write in your home directory. You can still try to log in using a virtual console ...


0

Not sure where its located in 14.04 but if you go to Settings - Users and Groups then select the user that can login without a password and where it says Password click Change. In 16.04 there is a checkbox for Don't ask for password on login If that is checked .. uncheck it and that should take care of the problem


0

Your password needs to have the special characters escaped. So if your original password is xgT{uic[Is?uJ+it will have to become xgT\{uic\[Is\?uJ\+ (A slash before the special characters). You might also want to look at something already written to do this such as AutoMySQLBackup, but I'm not sure if you need daily, weekly or monthly backup rotations. ...


1

I was following this youtube tutorial when I came up with the same problem. So this is the first result when I search the error in google and unfortunately the solution elemer82 has provided doesn't solve the problem completely. I try to write instructions in a way that other people can follow: first of all I'm using Vagrant for making some sandboxes and ...


0

I have set password in this way: After completion of mysql installation, run command: sudo mysql_secure_installation It will show: NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MariaDB to secure it, we'll need the current password ...


1

Unfortunately, I believe that passwords are a safety feature in Linux and are required for the most part. A blank password when trying to authenticate will through an error because blank passwords aren't actually allowed. My suggestions would be to use a real basic password like 1234 or something... basically its a password that isn't a password lol. Also a ...


0

I solved it!.. I change the one that launches the synaptic by replacing Exec = synaptic-pkexec in usr/share/applications/synaptic.desktop pkexec is the one that manages authentication when you open synaptic(that is the flaw) which it doesn't authenticate you even though your root password is correct. I replace it to gksu synaptic %u then, save ...


6

You can recover or set root password without knowing the current one by starting mysql without loading the grant-tables. This is the cli to do this: $ sudo mysqld_safe --skip-grant-tables Now you can log in as root without a password and perform all commands, as in this case, set the root password as root. $ sudo mysql --user=root mysql This is the ...



Top 50 recent answers are included