≡ Menu


HowTo: Change Password of Specific User Account In Linux

How do I change passwords for specific user account under Linux operating systems using command line?
[click to continue…]

Linux Unlock An Account

How do I unlock an user account (user login id) under Linux operating systems?
[click to continue…]

Linux Change Password

How do I change my own password as well as the passwords of other users as required under Linux operating system without using GUI systems? How can I change or set user password on Linux operating systems?
[click to continue…]

I've compiled and install an application called gpass on CentOS v5.6. But, when I run the application it does not accept any password from $HOME/.gpass and displays the following error on screen:

libglade-WARNING **: could not find signal handler 'gpass_authentication_on_response'

How do I fix this problem and use the gpass software?
[click to continue…]

HowTo: Linux Remove a PDF File Password Using Command Line Options

I get lots of e-bills (utility, telephone, Internet, mobile, cable and so on) in a PDF format for my small business and I need to forward those to my accountant. However, all PDFs files are password protected. I don't want to share my account password with anyone to just open my bills. Evince is a PDF document viewer capable of displaying password protected files but it cannot remove the password. How do I remove a password from all PDFs under Ubuntu or any other Linux distribution in a batch mode?
[click to continue…]

Redhat Linux: Change User Password

How do I change password under Redhat Enterprise Linux?
[click to continue…]

Linux Upgrade Password Hashing Algorithm to SHA-512

The default algorithm for storing password hashes in /etc/shadow is MD5. I was told to use SHA-512 hashing algorithm. How do I set password hashing using the SHA-256 and SHA-512 under CentOS or Redhat Enterprise Linux 5.4?
[click to continue…]

Solaris UNIX: Change Default Shell

How do I change default ksh shell to bash shell under Solaris / OpenSolaris UNIX operating system using command line options?
[click to continue…]

Linux Password Cracking: Explain unshadow and john Commands ( John the Ripper Tool )

Can you tell me more about unshadow and john command line tools? How does it protect my server from crackers?
[click to continue…]

Linux / UNIX generate htpasswd to store username and password with htpasswd command

Q. How do I use htpasswd command to store username and passwords?

A. htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. If htpasswd cannot access a file, such as not being able to write to the output file or not being able to read the file in order to update it, it returns an error status and makes no changes.

Create a new password file

Following command will creates a new file and stores a record in it for user jerry. The user is prompted for the password. If the file exists and cannot be read, or cannot be written, it is not altered and htpasswd will display a message and return an error status.
# htpasswd -c /home/pwww/.htpasswd jerry

Change or update password

To add or modifies the password for user tom, enter:
# htpasswd /home/pwww/.htpasswd-users tom

The user is prompted for the password.

See previous FAQ : Apache password protect directories with .htaccess file for more examples.