Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

password

How to unlock account for public key ssh authorization, but not for password authorization?

August 7, 2022 by Magenaut

The ssh won’t let me login, because account is locked. I want to unlock the user on my server for public key authorization over ssh, but do not enable password-ed login.

Categories Q&A, Unix & Linux Tags password, ssh Leave a comment

Why is the password I entered not visible?

August 7, 2022 by Magenaut

Below is the process I took to create a user on bash in Linux.

Categories Q&A, Unix & Linux Tags command-line, passwd, password, terminal Leave a comment

Safe way to pass password for >1 programs in bash

August 7, 2022 by Magenaut

I’m writing a bash script, and need to ask user for his password and pass it to openssl. Whilst openssl can read the password itself, I need for two runs of the program and don’t want to ask the user twice. Here is the script:

Categories Q&A, Unix & Linux Tags bash, command-line, openssl, password Leave a comment

Why shouldn’t someone use passwords in the command line?

August 7, 2022 by Magenaut

Why do people fear writing passwords in the command line?

Categories Q&A, Unix & Linux Tags bash, command-history, command-line, password, security Leave a comment

Solaris let me in with different password with the same 8 first characters

August 7, 2022 by Magenaut

I don’t know if this is normal, but the thing is, let’s say I have a Solaris user called gloaiza and its password is password2getin

Categories Q&A, Unix & Linux Tags password, solaris Leave a comment

What is most secure and simplest way to have a user-typed password on bash become part of stdin to a program?

August 7, 2022 by Magenaut

I’m looking for the (1) most secure and (2) simplest way to have a user type a password on a bash shell prompt and to have that password become part of stdin to a program.

Categories Q&A, Unix & Linux Tags bash, curl, password, security Leave a comment

Ask for a password in POSIX-compliant shell?

August 7, 2022 by Magenaut

When I want to ask for a password in a bash script, I do that :

Categories Q&A, Unix & Linux Tags password, posix, scripting, shell Leave a comment

Change Password Programmatically

August 6, 2022 by Magenaut

In the current version of Raspian, I know it is possible to change the password of the current logged in user from the command line like so:

Categories Q&A, Unix & Linux Tags linux, password, raspbian, scripting Leave a comment

What is the difference between using ‘init’ and ‘rd.break’ for reseting the root password?

August 6, 2022 by Magenaut

I know several ways to reset root user’s password, but want to know which is the best and why it is. For example:

Categories Q&A, Unix & Linux Tags password, root Leave a comment

Why ‘mkpasswd -m sha-512’ produce different result every time it is called?

August 6, 2022 by Magenaut

I am using this function to create a password in the shadow file

Categories Q&A, Unix & Linux Tags password Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress