09-04-2014
I don't really have a choice here, I have to follow what the security team decides, and they want special characters in the passwords --'
10 More Discussions You Might Find Interesting
1. Programming
Hi...How can I generate random numbers between a given range ...preferably between 1 and 100...in UNIX C programming...?
I tried out functions like rand(),drand48() etc but didnt get satisfactory results...
Thanks a lot in advance.......... (1 Reply)
Discussion started by: tej.buch
1 Replies
2. UNIX for Dummies Questions & Answers
I need to generate a random number in ksh everytime I run the script ,the range should be from 100 to 24800,I could use $RANDOM but I seem to have no control over the range of numbers ,could you please suggest some way I could implement this .Thanks.
Mervin (2 Replies)
Discussion started by: mervin2006
2 Replies
3. Shell Programming and Scripting
Hello All...
Can someone help me generate a random password which will be 7 characters long which contains alpha-numeric characters using shell script.
I am looking to store the output of the script that generates the password to a variable within a script and use it as the password.
... (5 Replies)
Discussion started by: chiru_h
5 Replies
4. Programming
I need a function to generate a random alphanumeric password in C code. It needs to be between 6-8 characters and follow the following rules:
Reject if same char appears # time: 4 or more
Reject if same char appears consecutively: 3 or more
I have the following random password working for... (2 Replies)
Discussion started by: vjaws
2 Replies
5. UNIX and Linux Applications
Hi,
I am using a remote storage service for backing up our data - we want to have a script run as part of a cron job which would do the backups from our local Linux machine to the service's Linux machine.
I want to use tar and ssh to do this (rather than mounting the disk and using cp) .... (5 Replies)
Discussion started by: same1290
5 Replies
6. Shell Programming and Scripting
Hi
I have the below code
MAXCOUNT=10
count=1
echo
echo "$MAXCOUNT random numbers:"
echo "-----------------"
while # Generate 10 ($MAXCOUNT) random integers.
do
number=$ + 1 ]
"echo $number"
let "count += 1" # Increment count.
done
But aftre executing this
... (8 Replies)
Discussion started by: lalitka
8 Replies
7. Shell Programming and Scripting
i tried to use $random function in unix
i simply typed print $random at shell and it returnted no value
is there any function in korn shell that i can use to generate random number
help is appreciated (2 Replies)
Discussion started by: er_zeeshan05
2 Replies
8. Shell Programming and Scripting
Hi - I have a word GTTCAGAGTTCTACAGTCCGACGAT
I need to extract all the possible "chunks" of 7 or above letter "words" from this.
SO, my out put should be
GTTCAGA
TTCAGAG
TCAGAGT
CAGAGTTCT
TCCGACGAT
CAGTCCGACG
etc.
How can I do that with awk or any other language? I have no... (2 Replies)
Discussion started by: polsum
2 Replies
9. Ubuntu
Hi
I am new to expect. Please if any one can help on my issue its really appreciable. here is my issue:
I want expect script for random passwords and random commands generation.
please can anyone help me?
Many Thanks in advance (0 Replies)
Discussion started by: vanid
0 Replies
10. Ubuntu
Hi,,
Here i have attached a text file where iam facing problem in my code.
Please read the file and help me out of this issue..
Thanks in advance (4 Replies)
Discussion started by: vanid
4 Replies
LEARN ABOUT HPUX
pwd_strengthd
pwd_strengthd(1m) pwd_strengthd(1m)
NAME
pwd_strengthd - The sample Password Management Server
SYNOPSIS
pwd_strengthd [+/-all[_spaces]] [+/-alp[ha_num]]
[-c[ache_size]] size [-d[ebug]]
[-m[in_len]] pwd_min_len [-t[imeout]] minutes
[-v[erbose]]
OPTIONS
Allow passwords to be all spaces. If this option is not set, the effective registry policy is used. Disallow passwords to be all spaces.
If this option is not set, the effective registry policy is used. Allow passwords to consist only of alphanumeric characters. If this
option is not set, the effective registry policy is used. Disallow passwords to consist only of alphanumeric characters. If this option is
not set, the effective registry policy is used. Specify the number of hash buckets in the password cache. The password cache is used to
store generated passwords which are retrieved when the password is strength checked. The password cache is a hash table with a linked list
for collisions. The size should be set to a reasonable value based on how large the cache will be on average. The default value if not
specified is 100. Run in the foreground. Log messages are written to standard output. Specify the minimum length of a password. If this
option is not set, the effective registry policy is used. Specify the time, in minutes, that generated passwords remain in the cache
before they are deleted from memory. If this option is not specified, the default time is 30 minutes. Runs in verbose mode. More detailed
messages are sent to the logfile $DCELOCAL/var/security/pwd_strengthd.log. (Use of this option is recommended.)
DESCRIPTION
DESCRIPTION
pwd_strengthd is a sample Password Management Server. It exports the rsec_pwd_mgmt application programming interface.
pwd_strengthd generates passwords and strength-checks them. It enforces the security registry policy for password strength-checking.
Administrators can override the security registry policy via the command-line options (alpha_num, all_spaces, min_len.)
Administrators can subject principals to password-strength and -generation policies by attaching the following ERAs: Specifies the password
management policy the user must conform to when selecting passwords. Specifies information required in order to connect to the password
management server.
See the OSF DCE Administrator's Guide -- Core Services for more information and examples. You may want to enhance pwd_strengthd to support
your site's policies for password strength and generation.
pwd_strengthd(1m)