Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!NUSVM.BITNET!GBOPOLY1 From: GBOPOLY1@NUSVM.BITNET (fclim) Newsgroups: comp.sys.apollo Subject: some questions for the gurus. Message-ID: <8809051210.AA29616@umix.cc.umich.edu> Date: 5 Sep 88 11:50:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 91 X-Unparsable-Date: Mon, 5 Sep 1988 19:46:40 SST hi, i have some questions concerning adminstrating and programming on apollo computers. but maybe i've better insert a piece of intro here first: we are an educational institute. we have 3 labs; each with 21 nodes; dn3010 with sr9.7. on average, one partner serves 2 diskless nodes in two of the centres. the labs are used in a multi-users environment; ie no user owns any node. he/she uses the node for one or two hours a day. there are one cartridge tape and one floppy disk drive and one dsp90 (with 500m winchester disk) in each centre. in one of the lab, we have an additional dsp90 and a mag-tape drive. the main software in this lab is mentor graphics packages whereas the other 2 centres are of general uses. we will upgrade our system to sr10 when it is released. however, i am not too sure of the lab running mentor graphics packages; if mentor has not upgrade their packages to sr10, then this lab will remain at sr9.7. here are the questions: (1) can we prevent ordinary users from shutting down the system? this is a question about the dm. shut is a built-in command to dm; so we can't acl it. we can't close the dm input pad as the user need it for cv and lo-ing. on a "real" unix system, the lab operators has to log in as root (or at least with a uid of 0) in order to shutdown. (2) how do we prevent ordinary users to sigp other users' processes? we would like to keep crp open to all ordinary users so that they may be able to crp onto the node with cartridge or mag- tape drives. however, we don't wish to see users abuse the system with "crp -on -n //w1a -cp /com/sigp -s process_1" or, worse, "crp -on -n //w1a -cp /com/xdmc shut' our users are mostly students and you know how students love to hack. i don't mind any of them melt-ing my screen -- that is a harmless practical; though at times, an inconvenient pain in the rear. aegis nor domain/ix has accounting faciltities so i cannot catch anyone doing such mischiefs. (3) i wish to port the unix terminal-locking program -- lock -- on the apollos. only catch is : although i wish to have lock usable by all users, i do not wish it to be abused. my plans are that all users may lock their terminals but the program will bomb out after one hour. upon exit, it will logs the user off. locking a terminal is simple. i just use gpr in borrow-mode. but in borrow-mode, how will the program logs the user off? the dm input pad is hidden as the dm has relinquish the screen to my program. it seems the 3 questions are connected to the dm which shouldn't be there in the first place and shouldn't be so powerful and with aegis lack of processes' ownership. (4) has anybody successfully make gcc and g++? i would like to have gcc because it's ansi even though ansi is not ready with its definition of c. i would also like to try my hand at some oo programming. i think there will be program because /com/cc doesn't generate codes with a.out(5) formats. will this be fixed at sr10. or better still, has anybody any patches to get them working at sr9.7? (5) has anybody make the andrew toolkits that comes together with the x11.r2 dist tape from mit? as well as the other one -- gee, what's the name of that software -- the one that put john and yoko or brook shields on the root window (ie the background)? i don't really know what andrews is; i have only peeked at its sources. it seems to have some kind of oo sub-langauge; seems an interesting thing to play with. but i saw "/dev/console" in in the sources. so i decided to ask first before i waste 3 to 6 hours compiling it and then finding that it can't work at sr9.7. i like to thank in advance everyone who reponse to these questions. i hope that your replies are in a postive vein. thank you. fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu computer centre singapore polytechnic dover road singapore 0513 ps. (6) is there an arpanet or uucp address for adus? especially, the library? thanks -- fclim.