08-11-2019
Most user passwords used my apps are cryptographic hashes of text + salt.
In order to help you properly we need the details of what you are doing and how your passwords are used, stored, transmitted and processed.
8 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Is it possible to export your saved profiles in F-secure. I have looked in F-secure's documentation, on google, here, and other places and can't seem to figure out how to do it.
It seems like such a simple task... (0 Replies)
Discussion started by: dangral
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
Can I just quick pick everyone brain here about the following:
There is a security audit going on at the company I work for and one of the things that needed to be resolved was that there were a lot of users who don't have a home directory.
As this is a fairly large environment of over... (5 Replies)
Discussion started by: Solarius
5 Replies
3. Linux
Hi,
Can anyone please guide me how can I remove/block a user from a server access.
/usr/sbin/adduser -d /home/john john
echo ****** | passwd --stdin john
I used the above command to add a user "john". How do I delete and block john.
Appreciate your responses. (1 Reply)
Discussion started by: sureshcisco
1 Replies
4. Linux
A gnome session is launched by UserA of System A, I am connected to userB of System B(or A) through PUTTY. I want to launch an application for eg: gedit through Putty in the display of system A. how can I achieve this.
for eg:-
root is logged in to System A, with gdm.
DISPLAY=0.0, ip =... (4 Replies)
Discussion started by: Sivaswami
4 Replies
5. Linux
We have
Server 1 - mounts an NFS share from another server to a users directory.
Server 2 - has NFS share and the share only allows access from Server 1.
How can we make sure no other users on Server 1 can access the NFS mount? (5 Replies)
Discussion started by: Adrnalnrsh
5 Replies
6. Programming
Hi, all,
I am a newbie to linux authentication part.
Questions below really puzzle me:
How to authenticate users from local storage(passwd shadow) and nis server?
(Without PAM)
getpwnam_r() will return a '*' in the pw_passwd field of "struct passwd".
I can parse /etc/shadow. But how... (1 Reply)
Discussion started by: mythmgn
1 Replies
7. Solaris
Dear all,
I am a beginner with Solaris.
I unfortunately remove the Application Manager from the Front Panel, and I really don't know how to put it again, or from where launch it...
Could anyone help me? (1 Reply)
Discussion started by: avr
1 Replies
8. Shell Programming and Scripting
Hi,
currently, I have a problem in a stress test bash script.
i´m using the following command:
while true; do echo $"command" | ./myprogram; sleep 0.4; done
--> myprogram is watching for stdin via select
The problem is that it will work a couple of times. After that, the stdin fd... (3 Replies)
Discussion started by: bertl100
3 Replies
LEARN ABOUT NETBSD
pwhash
PWHASH(1) BSD General Commands Manual PWHASH(1)
NAME
pwhash -- hashes passwords from the command line or standard input
SYNOPSIS
pwhash [-km] [-b rounds] [-S rounds] [-s salt] [-p | string]
DESCRIPTION
pwhash prints the encrypted form of string to the standard output. This is mostly useful for encrypting passwords from within scripts.
The options are as follows:
-b rounds
Encrypt the string using Blowfish hashing with the specified rounds.
-k Run in makekey(8) compatible mode. A single combined key (eight chars) and salt (two chars) with no intermediate space are read from
standard input and the DES encrypted result is written to standard output without a terminating newline.
-m Encrypt the string using MD5.
-p Prompt for a single string with echo turned off.
-S rounds
Encrypt the salt with HMAC-SHA1 using the password as key and the specified rounds as a hint for the number of iterations.
-s salt
Encrypt the string using DES, with the specified salt.
If no string is specified, pwhash reads one string per line from standard input, encrypting each one with the chosen algorithm from above.
In the event that no specific algorithm is given as a command line option, the algorithm specified in the default class in /etc/passwd.conf
will be used.
For MD5 and Blowfish a new random salt is automatically generated for each password.
Specifying the string on the command line should be discouraged; using the standard input is more secure.
FILES
/etc/passwd.conf
SEE ALSO
crypt(3), passwd.conf(5)
BSD
October 16, 2009 BSD