First: Note that:
produces exactly the same output as:
The echo utility doesn't read arguments from standard input; it reads arguments from its argument list.
Second: If you're going to email a new password to your users, sending it to them in clear text and sending it to them with instructions saying something like:
Quote:
You can see your new password by executing the command:
echo 'obfuscated string' | dc
are equivalent. Anyone who intercepts that message will be able to run the command to produce the clear text just as easily as the user to whom the e-mail was addressed.
Third: If you send the obfuscated password and the way to turn it into plain text in separate e-mails, you have a better chance of keeping the clear text hidden. But if one e-mail message has been intercepted, there is no reason to believe that another message (containing the way to turn the obfuscated password into clear text) will not also be intercepted.
Fourth: You would be MUCH better off providing a secure method for the user to retrieve their password by distributing the new password:
in person (verifying employee IDs if you don't know your users),
providing a secure website (requiring the old password to get the new password), or
by a secure method of distributing hard copy of the new password (such as registered US snail mail).
This User Gave Thanks to Don Cragun For This Post:
Hi,
My script prints a few varibales as each it reads each line of a text file and then prints them on screen, however iam having problem in aligning and sorting them.
what happens is this
Last First Number
Mark leo 87798798... (1 Reply)
With so many different flavors of UNIX and Linux available in the world, choosing the best one for yourself, your family, or for your organization can be such an overwhelming and rather difficult decision to make! :eek:
If you were a salesman and you had to decide the best UNIX/Linux distro for... (1 Reply)
As a mind refresher, I was thinking to start a new thread for ONE LINERS....funny/weird or any technical one liners....
Let me start first......
=================================
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;... (3 Replies)
Hello, I'm only taking Intro to UNIX in school right now, so please bear with me. My problem is with a sort-of recycle-bin rig I've created for fun. I'm using Ubuntu 9.04, I am the admin. (only user, actually) of this computer. I'm using this script in ~/.bashrc
# if files exist, remove contents... (6 Replies)
Hi all,
I've search the forums regarding posts similar to this already but can't find the suitable response. Am actually looking for something very trivial I think. I just want to mask/obfuscate the a.out file and run it like a normal UNIX program. I've look at gpg and encryption but it requires... (4 Replies)
I am trying to use echo in CSH and getting an error.
I want to use to tell the user which parameters are optional.
set msg2 = " -Inmod= -Nxz= -Varp="
echo $msg2 (3 Replies)
I came across and unexpected behavior with redirections in tcsh. I know, csh is not best for redirections, but I'd like to understand what is happening here.
I have following script (called out_to_streams.csh):
#!/bin/tcsh -f
echo Redirected to STDOUT > /dev/stdout
echo Redirected to... (2 Replies)
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Hi guys, man bash doesn't help much here nor does the WWW.
(I have discovered there is technically no limit to a bash array.)
I am thinking of adding a new full manual inside AudioScope.sh.
A few questions here.
The main question is, assuming I go ahead with this idea:-
Is there a limit... (6 Replies)
I have users that print files to selected printers. Instead of creating one function for each printer I would like to have just one and passing the files to print as well as the wanted printer. The following code does not work, of course.
I'm expecting that $1 is the list of files to be printed... (6 Replies)
Discussion started by: emare
6 Replies
LEARN ABOUT DEBIAN
srvsearch
RULI(1) General Commands Manual RULI(1)NAME
srvsearch, sync_srvsearch, smtpsearch, sync_smtpsearch, httpsearch, sync_httpsearch, ruli-getaddrinfo
- Sample programs for RULI Library (RFC 2782)
SYNOPSIS
echo _service._protocol.nongnu.org | ruli-getaddrinfo
echo _service._protocol.nongnu.org | srvsearch [ options ]
echo _service._protocol.nongnu.org | sync_srvsearch [ options ]
echo nongnu.org | smtpsearch [ options ]
echo nongnu.org | sync_smtpsearch [ options ]
echo nongnu.org | httpsearch [ options ]
echo nongnu.org | sync_httpsearch [ options ]
DESCRIPTION
This manual page documents briefly sample programs for the ruli(3) library.
ruli is a library aimed at querying DNS SRV resource records.
OPTIONS
For http searches, one can force the port number by specifying it as the first option.
search Use the resolver search list defined in '/etc/resolv.conf'.
need_ra
Require RA (Recursion Available) bit in the name server answer.
noinet Don't fetch IPv4 addresses.
noinet6
Don't fetch IPv6 addresses.
uri_port
Assume the specified default port was forced by the user-supplied URI.
nowalk Don't search addresses missing from the name server answer.
nofall Don't launch fallback queries for addresses, if the SRV query fails.
nosort6
Don't sort the address list to give preference to IPv6 addresses.
EXAMPLES
echo _telnet._tcp.nongnu.org | ruli-getaddrinfo
echo _smtp._tcp.nongnu.org | srvsearch search
echo _smtp._tcp.nongnu.org | sync_srvsearch search noinet6
echo nongnu.org | smtpsearch noinet
echo nongnu.org | sync_smtpsearch nowalk nofall
echo nongnu.org | httpsearch noinet6
echo nongnu.org | sync_httpsearch 80
SEE ALSO ruli(3)AUTHOR
This manual page was written by Everton da Silva Marques <evertonsm@yahoo.com.br>.
October 08, 2004 RULI(1)