From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,147c19d3a94bef08,start X-Google-Attributes: gidfee84,public From: jxp1142@ssu037.ssu.umd.edu (John Purnell) Subject: password problems with OSF/1 2.0 Date: 1995/04/12 Message-ID: <3mgplo$8bs@gamera.umd.edu>#1/1 X-Deja-AN: 100355201 organization: Chesapeake Biological Laboratory newsgroups: comp.unix.osf.osf1 Hi, I sure hope someone here can help me. I have an Alpha running OSF/1 2.0 that is currently letting anyone change anyonelse's passwd. It's also letting anyone use chfn and chsh on anyone else. It's running the enhanced security option. Permissions on the passwd file seem to be fine, there's no weird entry in /etc/group letting people do system stuff and I haven't changed anything radically. I was looking at the entries in /etc/sia/matrix.conf and noticed entries like: siad_chg_finger=(OSFC2,libsecurity.so) siad_chg_password=(OSFC2,libsecurity.so) siad_chg_shell=(OSFC2,libsecurity.so) The man page said the defaults for matrix.conf were libc.so instead of libsecurity.so. So I tried changing the siad_chg_password entry to read: siad_chg_password=(OSFC2,libc,so) This seemed to fix the problem so I went back and changed all the entries in matrix.conf from libsecurity.so to libc.so. Then I discovered that no one could log in or su anywhere. (I was doing all this remotely). So I ran over to the machine, logged in as root on the console and changed things back. I found out a bit later that even simply changing the siad_chg_passwd entry, while preventing others from changing people's passwords also prevented you from changing your own passwd. So clearly I was monkeying with the wrong stuff. I changed everything back the way I'd found it. So everything seems to be back to normal but people can still change other people's passwds ( including the root's!). Luckily there's only about 10 users and only about 3 who do anything regularly so the chance for mischief is low at the moment. Another curious thing is that if I (logged in as dpurnell) type: passwd jsmith Instead of getting a simple prompt of: Enter New Password: I get this: Last successful password change for jsmith: Thu Apr 6 22:49:30 1995 Last unsuccessful password change for jsmith: Tue Apr 11 21:07:37 1995 Do you want (choose one letter only): Pronounceable passwords generated for you (g) A string of characters generated for you (c) A string of letters generated for you (l) ? To pick your password (p) ? This is the menu OSF/1 2.0 gives you when you're adding a new user. I just don't understand what's going on. I added zsh to /etc/shells, I got rid of the annoying message "your software has been installed" in /etc/motd, nothing fancy. I suspect this problem was in place when the machine was delivered from our Campus computer services dept. They're absolutely no help because 1) they aren't inclined to be and 2) they don't have any knowledge. I guess this has gotten a bit long winded, but does anybody have any suggestions I could try to fix this vexing problem? -Thanks David