Skip to content

Magenaut

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

password

Reading passwords without showing on screen in Bash Scripts

August 11, 2022 by Magenaut

How can one read passwords in bash scripts in such a way that tools do not show it on a terminal?

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

How to force ssh client to use only password auth?

August 11, 2022 by Magenaut

If I use pubkey auth from e.g.: an Ubuntu 11.04 how can I set the ssh client to use only password auth to a server? (just needed because of testing passwords on a server, where I default log in with key)

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

How does curl protect a password from appearing in ps output?

August 11, 2022 by Magenaut

I noticed some time ago that usernames and passwords given to curl as command line arguments don’t appear in ps output (although of course they may appear in your bash history).

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

How to pass password to mysql command line

August 10, 2022 by Magenaut

I have MySQL password saved on a file foo.php, for example P455w0rd, when I try to use it:

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

Securely feeding a program with a password

August 10, 2022 by Magenaut

After understanding the problem with using a password in the command line, I need to find a way of feeding a program with a password without it being a problem (without the password being recorded somewhere).

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

Disable a user’s login without disabling the account

August 10, 2022 by Magenaut

Let’s say I create a user named “bogus” using the adduser command. How can I make sure this user will NOT be a viable login option, without disabling the account. In short, I want the account to be accessible via su - bogus, but I do not want it to be accessible via a regular login prompt.

Categories Q&A, Unix & Linux Tags authorization, login, password, users Leave a comment

How to check password with Linux?

August 10, 2022 by Magenaut

I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow

Categories Q&A, Unix & Linux Tags command-line, embedded, linux, password Leave a comment

In /etc/group what is the meaning of the second field?

August 10, 2022 by Magenaut

A sample /etc/group file contains the following entries:

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

How to make user passwords shown as a clear text in Linux?

August 9, 2022 by Magenaut

We know that users’ passwords are saved in /etc/passwd, but in an encrypted way, so even the root can’t see them:

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

Allow user1 to “su – user2” without password

August 9, 2022 by Magenaut

I need to allow user martin to switch to user martin-test without password

Categories Q&A, Unix & Linux Tags authentication, pam, password, users Leave a comment
Older posts
Page1 Page2 … 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