* My first question about Digital Unix v3.2F
@ 1996-06-19 4:00 Chi Xiaochen
1996-06-19 4:00 ` Lawrence Macintyre
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Chi Xiaochen @ 1996-06-19 4:00 UTC (permalink / raw)
Hello everybody,
I am new to this group. We just brought a Digital AlphaServer 1000/A with
Digital Unix V3.2F preloaded. Here are my first experience and question.
When the system was powered on, it asked for a new root password which can
consist of 16 characters. Without 8 characters limit? that is very good!
So we put a long one of course. Later during system setup procedure, we were
asked to choose a security level (base or enhanced), of course enhanced we
thought. The system said that this would be taken effect after next boot. OK
why not.
But when the system is rebooted. we cann't login even for root! Panic :-(
After tring many many times, the system said the password of root has been
expired and we should give a new one but with a limit of 10 characters. It
seems that our old password is too long for this level of security. We
didn't find any doc about this. Finally, we go back to base security level.
Here is another question: We compiled the MD5 package without any problem.
But the test failed. Here is the output of 'make test'
./md5 -x | diff - test.rfc > diffs 2>&1
*** Exit 1 (ignored)
*** MD5 TEST FAILED
2,8c2,8
< MD5 ("") = e4c23762ed2823a27e62a64b95c024e7
< MD5 ("a") = 793a9bc07e209b286fa416d6ee29a85d
< MD5 ("abc") = 7999dc75e8da648c6727e137c5b77803
< MD5 ("message digest") = 840793371ec58a6cc84896a5153095de
< MD5 ("abcdefghijklmnopqrstuvwxyz") = 98ef94f1f01ac7b91918c6747fdebd96
< MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
dabcd
637cde443764c4f8aa099cf23be
< MD5
("123456789012345678901234567890123456789012345678901234567890123456789012
34567890") = e29c01a1e2a663c26b4a68bf7ec42df7
---
> MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
> MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661
> MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72
> MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0
> MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b
> MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
d174a
b98d277d9f5a5611c2c9f419d9f
> MD5
("123456789012345678901234567890123456789012345678901234567890123456789012
34567890") = 57edf4a22be3c955ac49da2e2107b67a
rm -f diffs
Anyone can tell me what is wrong. Should I add a "magic" compile option?
TIA
Chi Xiaochen
----------------
xchi@ulb.ac.be
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: My first question about Digital Unix v3.2F
1996-06-19 4:00 My first question about Digital Unix v3.2F Chi Xiaochen
@ 1996-06-19 4:00 ` Lawrence Macintyre
1996-06-19 4:00 ` Mike Iglesias
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Lawrence Macintyre @ 1996-06-19 4:00 UTC (permalink / raw)
To: Chi Xiaochen
Chi Xiaochen wrote:
>
> Here is another question: We compiled the MD5 package without any problem.
> But the test failed. Here is the output of 'make test'
--
You have to fix global.h. MD5 isn't 64-bit clean. Change the line:
typedef unsigned long int UINT4;
to this:
#ifdef __alpha
typedef unsigned int UINT4;
#else
typedef unsigned long int UINT4;
#endif
Lawrence
~
------------------------------------------------------------------------
Lawrence MacIntyre Oak Ridge National Laboratory 423.574.8696
lpz@ornl.gov http://www.epm.ornl.gov/~lpz lpz@nautique.epm.ornl.gov
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: My first question about Digital Unix v3.2F
1996-06-19 4:00 My first question about Digital Unix v3.2F Chi Xiaochen
1996-06-19 4:00 ` Lawrence Macintyre
@ 1996-06-19 4:00 ` Mike Iglesias
1996-06-21 4:00 ` Peter Mayne
1996-07-02 4:00 ` Murray S. Kucherawy
3 siblings, 0 replies; 5+ messages in thread
From: Mike Iglesias @ 1996-06-19 4:00 UTC (permalink / raw)
In article <4q8u9u$coi@rc1.vub.ac.be>, Chi Xiaochen <xchi@ulb.ac.be> wrote:
>Here is another question: We compiled the MD5 package without any problem.
>But the test failed. Here is the output of 'make test'
Apply the patch below and it should work.
*** global.h.dist Thu May 13 11:15:17 1993
--- global.h Thu Nov 2 11:10:20 1995
***************
*** 17,23 ****
--- 17,27 ----
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
+ #ifdef __alpha
+ typedef unsigned int UINT4;
+ #else
typedef unsigned long int UINT4;
+ #endif
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: My first question about Digital Unix v3.2F
1996-06-19 4:00 My first question about Digital Unix v3.2F Chi Xiaochen
1996-06-19 4:00 ` Lawrence Macintyre
1996-06-19 4:00 ` Mike Iglesias
@ 1996-06-21 4:00 ` Peter Mayne
1996-07-02 4:00 ` Murray S. Kucherawy
3 siblings, 0 replies; 5+ messages in thread
From: Peter Mayne @ 1996-06-21 4:00 UTC (permalink / raw)
Chi Xiaochen wrote:
> When the system was powered on, it asked for a new root password which can
> consist of 16 characters. Without 8 characters limit? that is very good!
> So we put a long one of course. Later during system setup procedure, we were
> asked to choose a security level (base or enhanced), of course enhanced we
> thought. The system said that this would be taken effect after next boot. OK
> why not.
> But when the system is rebooted. we cann't login even for root! Panic :-(
The first time you log in after going to enhanced security, if your password was
longer than eight characters, only type in the first eight.
--
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: My first question about Digital Unix v3.2F
1996-06-19 4:00 My first question about Digital Unix v3.2F Chi Xiaochen
` (2 preceding siblings ...)
1996-06-21 4:00 ` Peter Mayne
@ 1996-07-02 4:00 ` Murray S. Kucherawy
3 siblings, 0 replies; 5+ messages in thread
From: Murray S. Kucherawy @ 1996-07-02 4:00 UTC (permalink / raw)
In article <4q8u9u$coi@rc1.vub.ac.be>, Chi Xiaochen <xchi@ulb.ac.be> wrote:
>Here is another question: We compiled the MD5 package without any problem.
>But the test failed. Here is the output of 'make test'
>
>./md5 -x | diff - test.rfc > diffs 2>&1
>*** Exit 1 (ignored)
>*** MD5 TEST FAILED
>2,8c2,8
>< MD5 ("") = e4c23762ed2823a27e62a64b95c024e7
>< MD5 ("a") = 793a9bc07e209b286fa416d6ee29a85d
>< MD5 ("abc") = 7999dc75e8da648c6727e137c5b77803
>< MD5 ("message digest") = 840793371ec58a6cc84896a5153095de
>< MD5 ("abcdefghijklmnopqrstuvwxyz") = 98ef94f1f01ac7b91918c6747fdebd96
>< MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
>dabcd
>637cde443764c4f8aa099cf23be
>< MD5
>("123456789012345678901234567890123456789012345678901234567890123456789012
>34567890") = e29c01a1e2a663c26b4a68bf7ec42df7
>---
>> MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
>> MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661
>> MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72
>> MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0
>> MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b
>> MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =
>d174a
>b98d277d9f5a5611c2c9f419d9f
>> MD5
>("123456789012345678901234567890123456789012345678901234567890123456789012
>34567890") = 57edf4a22be3c955ac49da2e2107b67a
>rm -f diffs
>
>Anyone can tell me what is wrong. Should I add a "magic" compile option?
If I remember correctly, MD5 was written to assume 16-bit integers. Alpha
integers are 32-bit.
In "global.h", change the UINT2 and UINT4 typedefs to be "unsigned short int"
and "unsigned int", respectively, and recompile.
--
Murray S. Kucherawy ====================================== mskucher@hookup.net
Vice-President, Software Services HookUp Communication Corporation
(905) 847-8000 NIC Handle "MSK" Oakville, Ontario, CANADA
-- EMACS: Eight Megs And Constantly Swapping --
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-07-02 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-19 4:00 My first question about Digital Unix v3.2F Chi Xiaochen
1996-06-19 4:00 ` Lawrence Macintyre
1996-06-19 4:00 ` Mike Iglesias
1996-06-21 4:00 ` Peter Mayne
1996-07-02 4:00 ` Murray S. Kucherawy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox