Questions regarding password-based authentication and password management

learn more… | top users | synonyms

0
votes
1answer
90 views

feeding the password without any terminal window (stdout)

I have a command like this: echo "12345" | sudo abcde where 12345 is supposed to be the root password and abcde a program or a command. I have a shortcut which runs this command. I have tested the ...
0
votes
1answer
541 views

Force users to change email password every six months

I'm going to build an experimental mail server with Postfix + Dovecot and Mysql for user accounts. The server will offer SMTP + POP3 + IMAP. Is there a way to force users to change their mail account ...
0
votes
2answers
752 views

Error when I want to create a user on FreeBSD

I'm trying to run FreeBSD (.iso) in a virtual VMWare machine. The useradd command gives me an error: # useradd pstnc useradd: Command not found Why is that? The command is correct and very simple, ...
0
votes
1answer
44 views

SSH still asking for password even after I have tried everything (that I know of)

ssh is still asking for a password, even though I did everything by the book. I have included all output, right from the start. Any ideas? Thanks! Gary 1) Generating public/private rsa key pair and ...
0
votes
1answer
19 views

PAM filtering via IP for SSH

I know this is probably a bit of a nube question, but I need some input. So if I use last I can see my IP, and it's also in my auth log whether failed or accepted, eg. Dec 9 19:30:16 wilhelm ...
0
votes
1answer
25 views

Security of password in a cron job on a VPS

I have a site hosted on a VPS and need to run a MySQL dump nightly. If I create the cron command: mysqldump -u user -ppassword database | gzip > /path/to/zip/file are there any security issues? ...
0
votes
1answer
46 views

Reset admin password in Cent OS 7 from grub [duplicate]

I just recently installed cent os 7 and I forgot the admin user password so now I couldnt log in and locked out. I entered the grub boot menu and tried to change the password using password command ...
0
votes
1answer
74 views

Prompt user to enter for his/her user password to execute non sudo terminal command [closed]

As the question asks I want to learn how to prompt users' password for nonsudo commands EDIT: I think that I could not tell it clearly according to comments, so I will elaborate my request with ...
0
votes
1answer
526 views

sftp to use password stored in a parameter file

Is it possible to to connect two servers through sftp with a batch of commands and where the authenticating password needs to be read from a file (where it is stored previously)? I am new in the UNIX ...
0
votes
1answer
361 views

CentOS 7 - while installing i set disk encrypted with password, but on reboot always it asking password

While installing CentOS 7, i put password for disk encrypt. Now while working remotely on that machine and doing reboot it always ask password to be inserted on-site. Is this normal? or there is a ...
0
votes
2answers
75 views

/etc/passwd shortest password

I need to put one character inside the password file so that nobody can notice. I thought that if I was able to put the password as plain text and put something like a space nobody would ever find ...
0
votes
1answer
169 views

Mint maximum user passtext length?

Strangely, I can use a long passtext, approximately 64 words long, for disk encryption, but I'm having trouble with user password lengths. Certain steps fail like the installer or unlocking the ...
0
votes
1answer
121 views

When I boot Linux, it asks for password, pretends to proceed, but then returns to asking it again

I turned off my computer by pressing a turn off button for a long time. Then I turned it on. Usually it doesn't ask for password, but this time it did. So I tried to enter my password and it seemingly ...
0
votes
1answer
132 views

Overwrote passwd file; unable to login to fix it

I am running Red Hat Enterprise Linux ES release 4 (Nahant Update 8). The /etc/passwd file was overwritten by mistake. I have a backup copy of the original passwd file, but when I try to log in as ...
0
votes
1answer
49 views

how many password generators are there in debian and how to know which are good

I know of two password generators in Debian. The first one which I have used is apg and it seems to generate some good passwords. $ apg -m 15 -M SNCL RefGav:quedTut7 {Shtetmigdybig1 ...
0
votes
1answer
82 views

Howto Tell if a System authenticate with password only or through PAM

If my computer has the pam package installed and has the directory /etc/pam.d/sshd, does it mean for sure when I ssh to my computer, I am authenticated through pam modules? The /etc/pam.d/sshd looks ...
0
votes
1answer
76 views

Store passwords of Linux users in plain text - on purpose [duplicate]

I want to reset passwords temporarily to log in as root at least one time to change passwords. I have access to the hard drive and I can run a live distro to gain root access. I did think it would be ...
0
votes
2answers
284 views

Make file in linux readonly

Is there a way to make a file readonly permanently in linux. Or can I put a password to a file to make it readonly, then apply that password again to change its permission, or before they can alter ...
0
votes
1answer
3k views

Setting up the superuser password for the first time

How can I set up the super user password for the first time in Zorin OS, since the installer didn't ask me to provide one. I have experience with Fedora and openSUSE, but they asked me for the ...
0
votes
1answer
42 views

Login retrieval in osx [duplicate]

I got an old Mac G4 (powerPC) from the company who wanted to put it in a bin. The company agreed that I can take it home for private use. It is running an early version of OSX but because it is old ...
0
votes
0answers
10 views

Can I make entering my private key's password work like sudo does? [duplicate]

Is there a way to skip typing my SSH private key's password if I have used it recently, similar to when sudo caches your credentials for a limited time? I know that I can use ssh-add with the -t ...
0
votes
0answers
26 views

Can't ssh without password to ubuntu machines on a shared filesystem, while it is successful on RHEL machines [closed]

I am running on a cluster, where my home directory is shared to all machines. Some of the machines are RHEL and the others are Ubuntu. When I login without password from RHEL->RHEL or UBUNTU->RHEL it ...
0
votes
1answer
38 views

A password is not necessary to enter my /home directory but after logging out password is necessary

I am facing a strange problem. I have an opensuse 42.1 leap Linux. I deleted my /home folder accidentally from my other linux which is Debian. For some reason I had to transfer everything from my ...
0
votes
2answers
37 views

Bash Script execute command as user

I'm just wondering if it's possible to execute a command inside a bash script as a specified user and supply the password in one string. At the moment I have COMMAND="${DIRECTORY}/script.sh" su -c ...
0
votes
1answer
70 views

How to prompt a password automatically in Unix Shell script? [duplicate]

I have the below line in a script. When I run it, it prompts for a password to copy files in the server. I need the password to be taken from the script. Please help me resolve this. for i in cat ...
0
votes
1answer
26 views

Password protected script on editing, no password on executing

Is there any way to set a password on a script (or any file for that matters), without having to enter a specific command line to decrypt it each time I want to edit it? Setting this password to a ...
0
votes
0answers
91 views

Non-root user cannot change Samba password

Samba users cannot change their own passwords. The password can only be changed using root account using the command smbpasswd -a <username> But I want users be able to change their passwords ...
0
votes
0answers
90 views

ubuntu 15.04 problem with typing password to decrypt the disk

I have a stupid problem after installation of ubuntu15.04 on lenovo e450. I install ubuntu with full-encryption disk option, but I have a problem. I cannot type password to this password box, but when ...
0
votes
1answer
47 views

Specify anonymous ftp password in ftp command

I would like a simple (ideally one-liner, without separate script file) command to connect to an ftp server via anonymous login using my email address as the password. My attempt is based on the ...
0
votes
0answers
44 views

Brute Force 256 AES .dmg

I have most of the password for a dmg file and crunched a word list for all the combos. How do I get the hash for it to feed into John The Ripper? I am using OS X Yosemite. When I have tried before, ...
0
votes
0answers
171 views

Centos 7, protect single user mode [systemd vs init]

Since Cento7 & RHEL 7 started using systemd inplace of init inittab there are no use /etc/inittab & /etc/sysconfig/init to password protect single user mode Question is now where we can find ...
0
votes
1answer
27 views

Ubuntu & Plesk - How to exclude a sub-url from password protection?

I have website which is password protected where runs a php app on it. Now I have to unprotect a sub-url of that website but without disablng the protection of the main site which is configured ...
0
votes
1answer
81 views

How to view all users and change the password

What I have done is set up a virtual machine using AQEMU/KVM of Kali Linux, the problem is that I don't remember either of my log in details user name / password. So, is there a way to view those ...
0
votes
0answers
74 views

Linux Mint 17.2 dual password prompts

I have an odd issue with my system showing me two password prompts after waking up from suspend mode. I can click on either to enter my password and I only need to enter it into one form to login. I ...
0
votes
0answers
56 views

Linux Mint: two password forms after suspend mode

I have an odd issue that's not really a performance problem but a mild cosmetic one. When my laptop wakes up from sleep mode and prompts me for my login password I usually get two forms requesting my ...
0
votes
1answer
18 views

Disarm Linux Minty 16 password

My nephew had an HP lap top running Minty 16. He died almost two years ago and I still cannot figure out his old password. I am 60 y/o and not familiar with computers. Can ya'll explain this to me? I ...
0
votes
0answers
234 views

password aging policy, the passwd command and /etc/shadow

I came across this phrase in the link below http://brandonhutchinson.com/wiki/Solaris_Password_Policy /usr/bin/passwd is used to modify password aging on existing accounts. passwd does not ...
0
votes
0answers
30 views

not modified file increased size

weird thing happened. passwd file size increased although the timestamp hasn't... i've checked for rootkits and nothing found. Any reasons you can think of? Regards
0
votes
0answers
177 views

How to Sync UNIX Passwords SAMBA4.x?

My current server is running Debian 8 jessie with Samba 4. Its purpose will be to host a simple file sharing server for around 100 people on Windows machines. I already have a collection of UNIX users ...
0
votes
1answer
38 views

dhcpd restart command asks for password from command line but not from a script?

I have a script that runs and will ssh into another server to restart its dhcpd. In the script, the command literally is: sudo ssh -n $SERVER /sbin/service dhcpd restart This works fine when the ...
0
votes
0answers
81 views

What is the user and password for Sabayon Linux?

I am currently unable to use my computer because I can not login. I've burned thrice the daily minimal-dev Sabayon Linux ISO onto the same USB flash device. Each time, the login screen asks for login ...
0
votes
2answers
118 views

SSH authenticity couldn't be established

Last night I SSH'ed to different systems.... one system/SSH reported that the "authenticity of HOSTNAME couldn't be established......." and it asks if I want to continue or something, I didn't and ...
0
votes
0answers
102 views

shell script prompting for password but not taking it while doing tar

In my shell script, I have following lines: function tarIt() { FILE_OWNER=$1 TAR_FILE_NAME=$2 FILE_NAME=$3 su - $FILE_OWNER -c "tar -czf $TAR_FILE_NAME $FILE_NAME 2>&1" if [ ${?} ...
0
votes
0answers
24 views

How to show the password of a user? [duplicate]

I am a newbie. I know one can make new password for a user, but is there a way to retrieve the current password of a user?
0
votes
0answers
152 views

'Pass' password manager - does it require public key?

The 'pass' password manager uses gpg keys. http://www.passwordstore.org/ However, gpg itself can be used for symmetric encryption of files. Does pass only work using public/private keys, or is it ...
0
votes
2answers
297 views

provide password for script begin called inside another script [duplicate]

I have written a shell script which in turn calls another script, but the second one prompts for password. I want to supply the password and pass the prompt without user begin notified. Here is my ...
0
votes
3answers
167 views

set samba password now can't login

In trying to get samba server configured on my Fedora I used the following command to set a password: sudo smbpasswd -a user 'user' also happens to be the main user account on the system: the one I ...
0
votes
0answers
302 views

Cracking .cap file without dictionary

.cap file taken by airodump handshake I need to crack .cap file with bruteforce attack If the password between 8 and 12 letter containing characters+numbers+symbols I tried simple crunch command ...
0
votes
0answers
242 views

migrating local users to LDAP

I have sucessfully setup LDAP and LAM on a raspberry pi in my home network. I have several Linux machines around the house, some Windows machines, aswell as a QNAP TS-210 NAS. They all have the same ...
0
votes
1answer
142 views

execute script and enter password from one command

I have a script that uses CUPS lpstat -h command. However, the remote server I am trying to get a response from asks for a password. But I need to execute this script from within Nagios, so I have ...