The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
1k views

How can I automatically pass the password to 'su'?

I am working on an exploit for a security course. The object is to obtain a root shell in a linux virtual machine. So far, I can write to /etc/passwd and change root's password to an arbitrary string. ...
2
votes
1answer
34 views

Linux account locked due to failed logins

i hope someone could help me while trying login to my Ubuntu machine with my user i'm getting "account locked due to 29 failed" i logged in with recovery mode and now i'm root but i can't change ...
1
vote
1answer
41 views

Run script when password is changed

Is there any way to run a custom command when passwd is executed? I'm creating a server GUI, and I want to tie the app users with the system users, And, I don't want to use just plain PAM Auth. So I ...
0
votes
1answer
108 views

passwd fails with passwd: pam_start() failed, error 26 in tahr puppy 6.0.2

From the messages log: Dec 17 08:08:28 puppypc30098 authpriv.err passwd[8265]: PAM _pam_load_conf_file: unable to open /etc/pam.d/common-password The file /etc/pam.d/common-passwd is indeed ...
0
votes
1answer
83 views

openSSH is ignoring the HOME env variable

I've been trying to sort out the Could not create directory issue with openSSH installed via cygwin, and have tried every solution I can find on the internet, but none of them are working... I've ...
0
votes
0answers
279 views

Linux Mint 16 32-bit (Ubuntu) forgets password, even after resetting via grub/bash trick

I just installed LM16 using a live USB stick. Install went fine, and at the user step I made a password but chose 'log in automatically'. On first boot without the usb stick, it logged in without ...
0
votes
0answers
1k views

How to recover the root password (passwd/chroot not found)?

I did init=/bin/bash, ctrl-x, mount of root, but when I try to run chroot or passwd it simply doesn't find any command. I see many tutorials, but they assume I have passwd and chroot. But I have ...
-2
votes
0answers
9 views

redhat + cant login to my Linux machine

after Linux installation version 6.x we boot the machine and when we type on login prompt the login word the login prompt return again, so we never get the password prompt what could be the ...