Gnu Screen Tip: Password Protect Session
You can have screen do this simply by placing the word ‘password’ at the bottom of your .screenrc file as well.
Posts tagged ‘password’
You can have screen do this simply by placing the word ‘password’ at the bottom of your .screenrc file as well.
This is simple enough but took some searching to figure out.
Create the file, then go to File –> Save As –> name your file normally –> below is a box that states “Save with password” that should be checked –> hit ok –> give the file your password twice. Close the file and re-open to test if it worked.
Whatever your reason for changing any users password, this simple howto will surely satisfy that need. The only way to prevent this currently is with full disk encryption. Here is how you change windows password within Ubuntu.(Other distro’s may have this nifty app in their repos as well)
Continue reading ‘Change Windows Administrator password in Ubuntu Live Disc’ »
If you forget the root password and you cannot log into the system, you will have to do the following:
Continue reading ‘What to do if you lost the root password in Solaris 9-10’ »
Here is a quick one line command to generate a random password from the Linux command line.
# < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8
This will create an 8 character long password. To make it longer or shorter change c8 to c# (# being whatever number you want).
Another way to go about this is the pwgen command. Simply install pwgen and execute it and it will give you a bunch of random passwords, simply pick one out of the bunch.
How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session?
Setting up mysql password is one of the essential tasks. root user is MySQL admin account. Please note that Linux / UNIX login root account for your operating system and MySQL root are different. They are separate and nothing to do with each other (indeed some admin removes root account and setup admin as mysql super user).