Search Results

Search: Posts Made By: nisant
17,633
Posted By nisant
Thank you, Perderabo, for specifying the possible...
Thank you, Perderabo, for specifying the possible behaviours in coding an only 1 character "salt" in crypt() call.

Bye
nisant
17,633
Posted By nisant
I've tried using this code: char k[2]; ...
I've tried using this code:

char k[2];
char str[255];

scanf("%s",k);
scanf("%s",str);
printf("%s\n",crypt(str,k));

Entering only 1 character to k variable I verify that encrypted string...
17,633
Posted By nisant
It works !!! Many thanks. A question, I've...
It works !!! Many thanks.

A question, I've tried to run with a 1 character encryption key (e.g."X") and the output string was like "X.xxxxxxxxxxx".

To eliminate the . between key and crypted...
17,633
Posted By nisant
Shadow file encryption method
Hi all,

I'd like to use the encryption method used to generate the /etc/shadow passwords.

The goal is to write a script that get a plain-text password as argument and returns an encrycped one....
6,031
Posted By nisant
The first solution requires a big amount of work...
The first solution requires a big amount of work but would solve a set of cases larger than the simple password change task.

The second is more specific for my problem but is non suitable for all...
6,031
Posted By nisant
Automating password change
Hi,

I'm trying to create a shell to change some user password with random string.

I've tried to use stdin redirection to supply the new password by a response file:

passwd theuser <...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy