From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b544834dae0efcae,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,b544834dae0efcae,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-03-30 16:54:29 PST Xref: sparky comp.os.vms:7759 comp.sys.dec:2340 Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!ucsbcsl!ucsbuxa!3009glad From: 3009glad@ucsbuxa.ucsb.edu (Joan Gladbach) Newsgroups: comp.os.vms,comp.sys.dec Subject: "UCX headaches cause sysadmin to commit suicide" Message-ID: <3917@ucsbcsl.ucsb.edu> Date: 31 Mar 92 00:54:29 GMT Sender: root@ucsbcsl.ucsb.edu Followup-To: comp.os.vms [ Apparently our netnews isn't working too well, because I was asked by our sysadmin to post this. Please send all replies to him at dburr@gnu.ai.mit.edu. ] Path: picard!dburr From: dburr@picard.UUCP (Donald Burr) Newsgroups: comp.os.vms Subject: UCX permissions problem cause sysadmin to shoot himself. Summary: Film at eleven. Message-ID: <173@picard.UUCP> Date: 29 Mar 92 00:51:45 GMT Sender: usenet@picard.UUCP Organization: Santa Barbara City College, Santa Barbara, CA Lines: 104 Nntp-Posting-Host: picard Today I just got a whole bunch of nice error messages of the form inews: Cannot open /usr/local/lib/news/active (r+): Permission denied Doing an 'ls -lg' of /usr/local/bin/inews (NNTP's mini-inews) and /usr/local/lib/news/inews (BNEWS's real inews) and /usr/local/bin/rnews (BNEWS's news spooler), I get: -rwxr-xr-x 1 usenet news 122880 Mar 28 16:34 /usr/local/bin/inews* -rwxr-xr-x 1 news news 204800 Mar 28 16:35 /usr/local/lib/news/inews* -rwxr-xr-x 1 news news 204800 Oct 31 13:45 /usr/local/bin/rnews* Setuid-ness is no longer. So I go "Great. Not again" Su to root. Reset the suid bit. But, picard [60] chmod u+s /usr/local/bin/inews chmod: can't change /usr/local/bin/inews: Permission denied picard [60] kljfoiewjvwieeu {Sysadmin promptly pulls gun out of drawer and shoots himself in head. Head falls on keyboard.} This is the fifth or sixth time I've had to do the following workaround, all because UCX probably has its idea of user-ids and proxies screwed up. cd /usr/local/bin mv inews Inews cp Inews inews chown usenet.news inews chmod u+s inews rm -f Inews According to our VAX sysadmin, there are indeed proxies for 'root', 'daemon', 'news', 'usenet', and all other "normal" user accounts. I even watched over his shoulder as he re-entered all the proxies from a copy of /etc/passwd I had just printed out. SO WHAT'S THE PROBLEM???!?!?!? AND WHAT CAN BE DONE ABOUT IT???!?!? Well, I suppose I could move things over to /usr/lib and /usr/bin; matter of fact, I think I'll do that now. But we've already had two crashes, and in the first, we lost all of our painstakingly-entered news configuration files, sendmail.cf's, and all that stuff. So that's why everything's being put on /usr/local (which is stored on the VAX), and we have a script called MAKELOCAL that customizes any new machines to reference all local versions of the files (i.e. removes the existing /usr/lib/crontab and makes it into a link to /usr/local/lib/crontab) A little site info... Our master Ultrix machine is "picard". It is a decstation 5000 running Ultrix 4.2. It is **EXTREMELY** cramped for disk space, and besides, we'd like to keep as much open on /usr as possible, because we're running a BBS and the BBS's home directory is /usr/bbs. Here is a 'df' from picard: Filesystem Total kbytes kbytes % node kbytes used free used Mounted on /dev/rz0a 15343 12606 1203 91% / /dev/rz0g 227079 169430 34942 83% /usr /dev/rz5c 303582 236419 36805 87% /cdrom troi:/usr/src/local 191958 155707 17056 90% /usr/src/local borg:/rhome 977024 457304 519720 47% /home borg:/rnews 977024 457304 519720 47% /usr/spool/news borg:/rlocal 977024 457304 519720 47% /usr/local borg:/rman 977024 457304 519720 47% /usr/man borg is a VAX4000-200, running VAX/VMS V5.4-2 and UCX 1.somethingorother (I really don't know what version, but NOT 2.0) /rhome is everybody's home directory; /rnews is the spool area for news. /rlocal is the common architecture commands (i.e. /usr/local); rman is /usr/man (man pages, in source + cat man form). We have other workstations which mount these directories too. Here's an example of a df from one of them: Filesystem Total kbytes kbytes % node kbytes used free used Mounted on /dev/rz2a 15359 9925 3899 72% / /dev/rz3c 191958 155707 17056 90% /usr /dev/rz2g 64567 4312 53799 7% /var borg:/rlocal 977024 457304 519720 47% /usr/local borg:/rhome 977024 457304 519720 47% /home borg:/rnews 977024 457304 519720 47% /usr/spool/news borg:/rman 977024 457304 519720 47% /usr/man picard:/usr/shared 227079 169434 34938 83% /usr/shared picard:/cdrom 303582 236419 36805 87% /cdrom (/cdrom is a CDROM drive on picard; we have the Online Documentation CD and link the directory /usr/lib/dxbook to /cdrom on all workstations; /usr/shared is a set of common textfiles, like motd, etc.) If anyone can help, I would appreciate it greatly. It will probably help me live longer. :-) Please, oh please, send email to dburr@gnu.ai.mit.edu. many thanks in advance. -- Donald Burr | INTERNET: dburr@gnu.ai.mit.edu Pseudo-sysadmin, Santa Barbara | dburr%nixbbs.UUCP@uunet.uu.net City College | UUCP: ...!uunet!nixbbs!dburr SysAdmin, NixBBS Public UNIX/BBS | COMPUSERVE: 72540,3071 AOL: DonaldBurr