From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,391bee2775076401,start X-Google-Attributes: gidfee84,public From: marc@ultrix6.cs.csubak.edu () Subject: UPdate on OSF/1 C2 Problem Date: 1996/11/13 Message-ID: <56dkda$32t@nuke.csu.net>#1/1 X-Deja-AN: 196531977 sender: marc@alpha4.cs.csubak.edu () organization: Cal. State Univ. Bakersfield keywords: C2, protected newsgroups: comp.unix.osf.osf1 I would like to thank both Pat Wilson and Booker C. Bense for their help and advice to my previous post. With this help I have found out what had happened (twice) on our system and it may be worth repeating. If a DEC Unix (nee OSF/1) on an Alpha is running C2 security and crashes during a user login, there is an excellent chance that that user, say his username is "kolson," will have his PROTECTED password file: /tcb/files/auth/k/kolson clobbered! This happens because the authorized login opens the file for read/update (it needs to change the last successful/unsuccesful login time, etc...) without making a temporary backup copy (what do we tell students about working with important files?). UNFORTUNATELY THIS IS THE ONLY PLACE THAT THE ENCRYPTED PASSWORD IS STORED (under C2) and as we all know, if you are updating a file and the system crashes, the contents are usually hash (and this is exactly what I found (twice)). I believe that it is imperative that the system manager make a backup copy of this file with root ownership, group auth, and privileges 640 (even though the times and last terminal will eventually be out of date) and the backup should be invisible, say /tcb/files/auth/k/.kolson_backup , otherwise "/tcb/bin/authck -p" will complain. This is especially true since "root" is in the same predicament. My final comment is that I would not really have expected such sloppiness (storing low priority infomation such as time changes in the SAME file which contains the critical encryptions) from a firm like DEC. I have in general found the VAX family under Ultrix over the last 5 years to be an excellent cost-effective and flexible platform with good security (especially if Kerberos is used). I have also found DEC hardware to be of excellent quality. I like the processing power of the AlphaStations but I worry that the software is not as solid as it should be. Marc Thomas marc@ultrix6.cs.csubak.edu