password= Assignment to a shell variable $() call to a subprocess perl -e call the perl binary to execute code from command line, instead of file source code 'print crypt($ARGV[0], "password")' display the result of calling the perl function crypt crypt($ARGV[0], "password") crypt will return a digest of whatever was given as argument. $ARGV[0] is the first argument from the command line, in this case the last $password term. "password" is what's called SALT string. It can be anything. Not to confuse with $password $password Argument given at the command line, in the form of perl variable, to crypt (presumably a string that represents a clear text password)
Best way of learn is to try:
Change password and random_text to anything you want
Last edited by Aia; 10-17-2014 at 06:02 PM..
Reason: More
I'm using SAM to add users on an HP and they're adding fine. But in /etc/group it only lists the group names. It's not adding the users in there. Is there a way to have them put in there without going into SAM and modifying the group and adding them? I guess what I want to happen is when I add... (1 Reply)
Hi guys!
Just was wanting to run a command that would allow me to seperate the currently logged in users.
Basically from this format:
user1
user2
user3
To:
user1|user2|user3
(Note the lack of a pipe at the end, not sure if thats possible)
Basically it needs to be in this... (11 Replies)
Hi
I have a txt file with 4 columns where I need to add 4 empty columns in the middle meaning that I need what is currently column 4 to be column 8 in a new file.
The idea is that I have to use the file as input in a program that reads the data in column 1 and 8, so the content of the other... (8 Replies)
Hello there,
I want to add new users to my system, so, being logged in as root I do useradd -m user_name, and the new user is added to the system. The problem is that it has more privileges than I expected. If I do su user_name then I am allowed to do cat /etc/passwd , so it is... (4 Replies)
Helle,
I want to create a .ksh script in order to realize the following :
I have a .txt file organized in a bloc of information, each bloc start with 000 as following:
000...
001...
003...
004...
000...
001...
003...
004...
.
.
My aim is to add a new... (6 Replies)
I apologize if this is a simple/stupid question. When I add users in smit as root, many(most) of the fields are automatically popluated with some basic default values.
Some other admins here have access to create users via sudo, however when they create users (sudo smit users), the user gets... (3 Replies)
Dear all,
I have a question. I have a txt.file as below. i want to add 3 more columns: column3=conlum 2*column2; column4=(1-column2)*(1-column2); column5=1-column3-column4. Do you know how to do it? Thanks a lot!
file:
column1 column2
a 1
b 20
c 30
d 3
... (2 Replies)
Hi guys,
I've a simple linux script (made by my friend), which adds users to the system from userlist file. it also creates user home dir and copies certain files to the directory. To be honest, am a newbie in scripting so am unable to fully understand how the script is working. unfortunately,... (30 Replies)
HI Guys,
I have below input.
Output Base on Below Condition.
1> if forth column is empty and next coming line have same name with \es then add that column name on all rows
2>rest of all are es:vsDataEUtranCellFDD
Input:-
CCL01736 CCL01736_7A_1 es:vsDataEUtranCellFDD ... (3 Replies)
Discussion started by: pareshkp
3 Replies
LEARN ABOUT DEBIAN
dircproxy-crypt
dircproxy-crypt(1) General Commands Manual dircproxy-crypt(1)NAME
dircproxy-crypt - Generate encrypted password for dircproxy
SYNOPSIS
dircproxy-crypt [-hv] [password]...
DESCRIPTION
dircproxy-crypt generates encrypted passwords for the dircproxy(1) configuration file. These passwords are used in the 'password' configu-
ration option of a connection class, and are compared to the password you configure your IRC client to use.
If you do not supply any plain text passwords to encrypt on the command line then dircproxy-crypt, when run, will ask you for one on stan-
dard input. It will display the encrypted version of each password, created using your system's crypt(3) function and a random salt, on
standard output.
OPTIONS -h Displays a brief help message detailing the command-line arguments, then exits.
-v Displays the dircproxy version number that this version of dircproxy-crypt comes with, then exits.
SEE ALSO dircproxy(1)crypt(3)BUGS
Please submit and review bug reports at:
http://bugzilla.dircproxy.net/
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>.
COPYRIGHT
Copyright (C) 2002 Scott James Remnant. All Rights Reserved. dircproxy is distributed under the GNU General Public License.
11 Jan 2001 dircproxy-crypt(1)