From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7cd1,d2c0914478606ca9 X-Google-Attributes: gidf7cd1,public X-Google-Thread: f86d6,d2c0914478606ca9 X-Google-Attributes: gidf86d6,public X-Google-Thread: 1164f8,d2c0914478606ca9 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-04 03:29:36 PST Path: bga.com!news.sprintlink.net!hookup!usc!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: vmsnet.sysmgt,vmsnet.misc,comp.sys.dec Subject: Re: Program to view users of a certain group Date: 4 Aug 1994 10:24:25 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <31qfkp$cq0@gap.cco.caltech.edu> References: <199408011833.AA15657@igw.fmc.com>, Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu Xref: bga.com vmsnet.sysmgt:555 vmsnet.misc:756 comp.sys.dec:4834 In article , gentlejk@gentlejk.lvs.dupont.com (J. Kenneth Gentle) writes: = =>>>>> "Celiza" == "Celiza deCarvalho" writes: = = Celiza> We are currently using OpenVMS 5.5-2 in a three-node = Celiza> cluster. Some of our users without GROUP privilege need to = Celiza> see a list of users in their group. Typing SHOW USERS at = Celiza> the $ prompt would list all the users on the system. We = Celiza> have a DCL program that enables users with GROUP privilege = Celiza> to view the list of the users in their groups. Howver, = Celiza> this program does not work for users without an authorized = Celiza> GROUP privilege. Does anybody know of an existing free = Celiza> program that will list all the users of a certain group = Celiza> without the GROUP privilege requirement? = =Is there any reason installing the program with GROUP privilege? =Although I haven't tried this particular privilege, I've installed =images with more dangerous privileges (WORLD, CMKRNL, etc.) and have =had no trouble. Congratulations! You've been lucky! Stupidity isn't always fatal! Give my ANY of the privs in the "ALL" category, and I'll write you a program that makes your system unuseable (or that gives you a back door) if installed with that priv. So you're too stupid for words, but've been lucky? My congratulations to your boss. And I hope he fires you tomorrow for having committed fraud sver since you got the job. =You'll need to compile and link the program with NODEBUG and =NOTRACEBACK to get it to install with privileges. Other than this =minor caveat I can't think of a reason it won't work. Carl is sure to =speak up if it won't... = = Celiza> Thanks. = =No problem... = = Celiza> Celiza deCarvalho Oh, it's likely to work. Who knows what else it might do, though? There's a reason for the privilege categorise displayed by AUTHORIZE's "SHOW/BRIEF." Any catefori of a given class can allow you to do the sort of things described by that class. You give me SYSPRV, CMKRNL, CMEXEC, SETPRV, BYPASS, READALL (depends on the version of VMS you're running), PHY_IO, LOG_IO, and 2 minutes of time on your system, and I'll: 1) Render it unbootable; 2) Set up a back door for myself; 3) Make it do anything else you'd like to see that can be done by downloading an image that takes less than 2 minutes to download and requires whatever privileges you choose to specify. You *DID* pretty much ask for my criticism, y'know. And your attitude reminds me very much of the idiocy that's been demonstrated in another newsgroup recently. Y'see, someone posted an executable to the group. Said executable contained a virus. So how do the morons reading the group respond? They ask that somebody post ANOTHER executable that ostensibly deals with the virus! SHEESH! No wonder there are so many viruses on PCs! OK, so what's my point: Never INSTALL anything with privs unless: 1) You got it from somebody you trust; or 2) You've gone over the source code. And remember: Don't trust any source that you can counterfeit yourself! There've been a couple of pieces of useful software that I've forgone for months because: 1) The "author" said he'd put it on some server; 2a) When I sent mail to the address of the author, he said he didn't know what the hell I was talking about. 2b) I logged in to said server and put another file in the same directory as where the software in question resided. OK, look at step 2: 2a: Alleged auther never heard of it. Pretty obvious reason for not trusting it, eh? 2b: If *I* could create a file there, *ANYBODY* could I dunno. No offense to the person to whom I'm replying intended, but it sounds as if this group needs (desperately) a security FAQ. I'd be more than happy to help write it, but I'll need the help of someone who can talk about such things without offending the morons who need the help so badly in the first paragraph that they killfile him. I.e., I'll need the help of someone who can translate "Only a verifiable cretin would even consider..." into polite language. -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.