12-28-2004
PASSLENGTH on Irix
My first post here, and hopefully it will be one of many to come.
I am currently running multiple SGI's with different versions of Irix. I have a problem setting the minimum password length for users. I have modified the /etc/default/passwd so that
PASSLENGTH = 8
However, it still allows between 6 and 8 characters for the password. I must make it so that it only allows for 8 character passwords. Is there a simple solution? I apologize if this question is rather elementary, but I have found no help in any of my books or online. Thanks in advance for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a SGI sys with Irix running on it.
Actually i cant see the console login .
It just shows a blank blue screen . I can use the mouse though.
Also i can remote login into the m/c
I am new to SGI . Can anybody help (2 Replies)
Discussion started by: Jai
2 Replies
2. UNIX for Dummies Questions & Answers
I have an SGI running IRIX 6.5
The prob is when i login as user
and open a file , it gives me error as "OUT OF MEMORY"
when i su or login as root . THis error disappers
I have lot of space in the System .
Thanx
DPai (7 Replies)
Discussion started by: DPAI
7 Replies
3. UNIX for Dummies Questions & Answers
What is the command to set default PASSLENGTH and the MAXWEEKS for all the passwords. I don't want to edit the /etc/default/passwd file either. And I am using Linux RedHat7.1 system.
If anyone knows, please help me out here.
Regards.
-Iftikhar (1 Reply)
Discussion started by: syedifti
1 Replies
4. UNIX for Advanced & Expert Users
I am using IRIX 5.3,
When I type "man" in a UNIX text console from any machine on my network, I want to pull out the man pages from the station where they have been installed.
Would anyone know the link? I would be so greatfull. (1 Reply)
Discussion started by: Trixee
1 Replies
5. Programming
I am using IRIX 5.3,
When I type "man" in a UNIX text console from any machine on my network, I want to pull out the man pages from the station where they have been installed.
Would anyone know the link? (3 Replies)
Discussion started by: Trixee
3 Replies
6. IP Networking
I've got an O2 (R5000 32-bit) running IRIX 6.3. The problem is that my ISP requires me to have a DHCP client and I do not know how to enable it. I've tried via-wizard, but, only have the chance to enable a Static IP address. Does anybody know or can explain me how to enable it manually? :mad:
... (1 Reply)
Discussion started by: gastondoval
1 Replies
7. UNIX for Advanced & Expert Users
How to change icon of my application (say script file) in IRIX icon view. (1 Reply)
Discussion started by: kosta_mirkin
1 Replies
8. UNIX for Dummies Questions & Answers
I have had the great fortune to get an sgi octane for free! :D I have managed to get me an OS(IRIX 6.5.19f) but I have some questions that I hope are not too simple to the gurus out there. Before I ask, I build macs and PC's and have had some experience hacking osx into old beige macs, and pcs,... (2 Replies)
Discussion started by: gheem
2 Replies
9. UNIX for Dummies Questions & Answers
I am not new to unix as a user, but new in setting up a workstation/server.
I need to connect to my PC network to share files. I have heard Samba is a good tool, but they do not have a compiled version to download for IRIX.
Can someone help me out?
Thanks,
Orrbit (1 Reply)
Discussion started by: orrbit
1 Replies
10. Programming
Dear Experts,
I have been suffering in porting a CFD code called OpenFOAM to sgi-IRIX system for many months but to no avail, and the problem is about MPI!
I installed gcc-4.3.0, gnu-binutils for my compilation.
And after the building process, I can run the executive with single CPU, but when... (1 Reply)
Discussion started by: lakeat
1 Replies
IN_ARRAY(3) 1 IN_ARRAY(3)
in_array - Checks if a value exists in an array
SYNOPSIS
bool in_array FALSE (mixed $needle, array $haystack, [bool $strict])
DESCRIPTION
Searches $haystack for $needle using loose comparison unless $strict is set.
PARAMETERS
o $needle
- The searched value.
Note
If $needle is a string, the comparison is done in a case-sensitive manner.
o $haystack
- The array.
o $strict
- If the third parameter $strict is set to TRUE then the in_array(3) function will also check the types of the $needle in the
$haystack.
RETURN VALUES
Returns TRUE if $needle is found in the array, FALSE otherwise.
EXAMPLES
Example #1
in_array(3) example
<?php
$os = array("Mac", "NT", "Irix", "Linux");
if (in_array("Irix", $os)) {
echo "Got Irix";
}
if (in_array("mac", $os)) {
echo "Got mac";
}
?>
The second condition fails because in_array(3) is case-sensitive, so the program above will display:
Got Irix
Example #2
in_array(3) with strict example
<?php
$a = array('1.10', 12.4, 1.13);
if (in_array('12.4', $a, true)) {
echo "'12.4' found with strict check
";
}
if (in_array(1.13, $a, true)) {
echo "1.13 found with strict check
";
}
?>
The above example will output:
1.13 found with strict check
Example #3
in_array(3) with an array as needle
<?php
$a = array(array('p', 'h'), array('p', 'r'), 'o');
if (in_array(array('p', 'h'), $a)) {
echo "'ph' was found
";
}
if (in_array(array('f', 'i'), $a)) {
echo "'fi' was found
";
}
if (in_array('o', $a)) {
echo "'o' was found
";
}
?>
The above example will output:
'o' was found
SEE ALSO
array_search(3), isset(3), array_key_exists(3).
PHP Documentation Group IN_ARRAY(3)