HDTenEightyP/NetNews huggingface dataset:
From: gilbertd@cs.man.ac.uk (David Alan Gilbert)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Date: 27 Jan 93 15:29:32 GMT
Followup-To: alt.sys.sun

In <1993Jan25.170700.1@sdl.ug.eds.com> lorena@sdl.ug.eds.com writes:

>the users here mount the floppy drive to transfer pc files - and want the same 
>utility on solaris machines.
>(we're at 2.1)

We are still on Sun OS 4.?.?, and we use a package called mtools to access
PC floppies - we can't mount them.  Obviously its a bit more fiddly
but it works (most of the time.....)

Dave

--
-------------------------------------------------------------------------------
- David Alan Gilbert - gilbertd@cs.man.ac.uk - G7FHJ@GB7CRG                   -
------(Programmers don't sleep - they just park their heads)-------------------
Xref: sparky alt.sys.sun:3587 comp.sys.sun.misc:6465
From: guy@Auspex.COM (Guy Harris)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Date: 24 Jan 93 02:03:38 GMT
Followup-To: alt.sys.sun
Organization: Auspex Systems, Santa Clara

>It is generally 'unsecure' to have shellscripts setuid root. So it might be
>possible that setuid for scripts was disabled in Solaris.

No, it's not disabled; what may be the most infamous security hole is
closed in SVR4, although there may still be holes left (do *you* trust
your favorite shell not to leave any holes open? Do *you* trust there
not to be any *additional* kernel holes, even though the most infamous
one has been closed?).

You *do* have to put a "-p" flag in the "#! /bin/sh" line; that flag
tells the shell not to surrender set-UID privileges, and also, at least
in part, prevents subsequent arguments that begin with "-" from spoofing
the shell (similar to the "-b" flag in the 4.3BSD C shell and
derivatives thereof, including the SunOS 4.x C shell and the SVR4 C
shell).

Also, be aware that even if the kernel and shell don't have any such
holes, the script *itself* may have holes.  Does your script set the
path before running *any* commands (other than builtin commands)?  Does
it set IFS if it's a Bourne/Korn/Bourne-again shell script and the shell
in question imports IFS from the environment?
Newsgroups: alt.sys.sun
From: bhpowell@unccsun.uncc.edu (Bradley Heath Powell)
Subject: need help with UNIX/SPARC/ptrace() single stepping...
Organization: University of NC at Charlotte
Date: Wed, 27 Jan 1993 21:08:53 GMT



I am having GREAT difficulty finding information related to a academic project
that I am working on...can anyone help me???

THE SYSTEM:
   Sun SPARCstation 2
   SunOS 4.1.3  (very similar to UNIX)

THE PROJECT:
   I am writing a program that will record its child process' references to 
memory addresses: i.e. every time the child process executes a load or store 
machine instruction, the parent needs to write the address referenced and its 
contents to a file.  Its purpose is to profile and evaluate the efficiency of 
a process by examining its load and store instructions.

SOME QUESTIONS:
- How does one (or can one...) implement single step debugging in C with 
  ptrace(), wait(), signal(), exec(), etc... under SunOS/UNIX?

- Where can I find information about the SPARC processor, particularly info.
  on encoding and decoding instructions? (yes, I've read the man pages and the
  answer book, and contacted Sun...but not enough info!)

- Where can I find a comprehensive tutorial on SPARC assembly language?

PLEASE HELP
   I would greatly appreciate any help that anyone can offer...please send 
email to the address below.  I particularly need info. on where I can get
books and sample code.


Thanks-

Brad Powell
email: bhpowell@unccsun.edu
Xref: sparky alt.sys.sun:3591 comp.sys.sun.misc:6487
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
From: lorena@sdl.ug.eds.com
Date: 25 Jan 93 17:07:00 GMT
Organization: Shape Data  (A division of EDS Ltd) - Cambridge,UK
Nntp-Posting-User: greer

In article <HIRT.93Jan23210226@itsnova.mach.uni-karlsruhe.de>, hirt@itsnova.mach.uni-karlsruhe.de (Markus Hirt) writes:
> In article <C15usz.L0t@intcorp.mn.org> jdf@intcorp.mn.org (Joel D. Flatt) writes:
> 
>>   Under SunOS 4.X I was able to allow non-root users to mount and umount
>>   filesystems by having them execute the [u]mount command in a shell 
>>   script where the owner of the script is root and the setuid bit is set.
>>   This does not appear to work for Solaris 2.1.  
> 
> It is generally 'unsecure' to have shellscripts setuid root. So it might be
> possible that setuid for scripts was disabled in Solaris. You may try
> to write a little C program doing the same as your shellscript and
> setuid the executables of this one.
> 
> Markus
> 

don't suppose you'd like to write it for me?!

the users here mount the floppy drive to transfer pc files - and want the same 
utility on solaris machines.
(we're at 2.1)
> 
> 
> 
> --
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + Markus Hirt				 + hirt@itsnova.mach.uni-karlsruhe.de +
> + Institute for Thermal Turbomachinery	 +                                    +
> + University of Karlsruhe, Germany	 +                                    +
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> 
> 
-- 
Lorena Abbott (Unix System Manager)       Shape Data Limited (McDonnell Douglas)
 Internet: lorena@sdl.mdcbbs.com                     46 Regent Street
     UUCP: {uunet,decwrl,att}!sdl.mdcbbs.com!lorena    Cambridge CB2 1DB
    Voice: +44 223 316673  Fax: +44 223 316931           United Kingdom
Newsgroups: alt.sys.sun,comp.sys.sun.misc
From: jdf@intcorp.mn.org (Joel D. Flatt)
Subject: Can "normal" users mount under Solaris 2.X
Organization: Introl Corporation
Date: Wed, 20 Jan 1993 16:22:11 GMT

Under SunOS 4.X I was able to allow non-root users to mount and umount
filesystems by having them execute the [u]mount command in a shell 
script where the owner of the script is root and the setuid bit is set.
This does not appear to work for Solaris 2.1.  

Is there something different I need to do under Solaris 2.X to allow
users to mount/umount filesystems? 


-Joel
-- 
Joel D. Flatt                      Introl Corporation
Work: (612) 788-9391               jdf@intcorp.mn.org 
Home: (612) 823-3390
Xref: sparky alt.sys.sun:3598 comp.sys.sun.misc:6582
From: dean2@tbone.biol.scarolina.edu (Dean Pentcheff)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Followup-To: alt.sys.sun
Date: 29 Jan 1993 02:43:40 GMT
Organization: Department of Biology, University of South Carolina, Columbia
Reply-To: dean2@tbone.biol.scarolina.edu (Dean Pentcheff)
NNTP-Posting-Host: tbone.biol.scarolina.edu

In article <1993Jan27.155702.14041@cci632.cci.com> djh@cci632.cci.com (Daniel J. Hazekamp) writes:
>
>To get around the setuid shell script issue, I wrote two small C programs to
>mount and unmount DOS format floppies. We do not allow mounting of Unix format
>floppies here. 
>
>The following code works under SunOS 4.1.x. You`ll have to try it under
>Solaris 2.x yourself. Just compile it and make it SetUID root.
>
>Dan
>djh@cci.com
>-- 
>Dan Hazekamp					uupsi!cci632!djh
>Computer Consoles Inc. (CCI)			uunet!ccicpg!cci632!djh
>Rochester, NY					Internet: djh@cci.com

....[ code omitted for brevity]....

>fdunmount.c
>
>main()
>{
>        if (unmount("/pcfs") != 0)
>                perror("fdunmount");
>        else
>                system("eject /dev/rfd0");
>}


I think this may be a security risk (but I'm sure no Unix-security
pro).  It seems to me that a system() call within a suid-root program
is a bad idea.  What happens if someone convinces the invoked sh
program to use a "special" path that leads to their own specially
hacked version of "eject"?  Is that a risk?  Or is it safe?

I'd appreciate confirmation or rejection of this idea from Folks Who
Know.

Thanks!

-Dean
-- 
Dean Pentcheff (Internet: dean2@tbone.biol.scarolina.edu) (803) 777-8998
Department of Biology, University of South Carolina, Columbia SC 29205
Newsgroups: alt.sys.sun
From: 890758k@dragon.acadiau.ca (Wing Ho Kwan - Louie)
Subject: rpc in unix
Summary: can rpc in unix handle call by reference
Keywords: k
Organization: Acadia University
Date: Sat, 23 Jan 1993 23:53:50 GMT

Hi, I am doing some programming in unix rpc.
I know that I can pass the value to the server side by call by value.
and can get some update date from the return function value.
But can I do a function with call by reference and though it 
to modify something.

If anyone  has any idea,pleas send me a mail.

Thanks a lot

Regards,
Louie Kwan

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*||||||||||||||  ASU Box 6696, Wolfville, N.S. Canada  |||||||||||||||*
*|||||||||||||||||||||||||||  B0P  1Z1  ||||||||||||||||||||||||||||||*
*|||||||||||||||||  Tel : 902-542-9912  (Room 128)  ||||||||||||||||||*
*|||||||||||||||  E-mail : 890758k@dragon.acadiau.ca  ||||||||||||||||*
***********************************************************************

Xref: sparky alt.sys.sun:3584 comp.sys.sun.misc:6458
From: hirt@itsnova.mach.uni-karlsruhe.de (Markus Hirt)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Date: 23 Jan 93 21:02:26
Organization: /home1/itsnova/hirt/.organization
NNTP-Posting-Host: itsnova.mach.uni-karlsruhe.de
In-reply-to: jdf@intcorp.mn.org's message of Wed, 20 Jan 1993 16:22:11 GMT

In article <C15usz.L0t@intcorp.mn.org> jdf@intcorp.mn.org (Joel D. Flatt) writes:

>   Under SunOS 4.X I was able to allow non-root users to mount and umount
>   filesystems by having them execute the [u]mount command in a shell 
>   script where the owner of the script is root and the setuid bit is set.
>   This does not appear to work for Solaris 2.1.  

It is generally 'unsecure' to have shellscripts setuid root. So it might be
possible that setuid for scripts was disabled in Solaris. You may try
to write a little C program doing the same as your shellscript and
setuid the executables of this one.

Markus




--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Markus Hirt				 + hirt@itsnova.mach.uni-karlsruhe.de +
+ Institute for Thermal Turbomachinery	 +                                    +
+ University of Karlsruhe, Germany	 +                                    +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




Newsgroups: alt.sys.sun,comp.sys.sun.misc
From: mark@county.oz.au (Mark Hurd)
Subject: Re: Can "normal" users mount under Solaris 2.X
Summary: gripe about mount re PCFS
Keywords: gripe, mount, PCFS
Organization: Logica Pty, Sydney
Date: Mon, 25 Jan 93 09:16:58 GMT

IMHO, it's about time Sun produced a set of minimal commands that
any user can execute to mount a floppy, as a DOS disk, or as a Unix 
file system.  I don't think that this is too much to ask given that
eject and fdformat are available to everyone.

Obviously, some situations would require more stringent access, but 
that should be configurable using groups and permissions.

While I'm in the mood, I'll also add a command that locks the console
to the user logged in to the keyboard so that others cannot access the
device to my wish list.  If it can be done for a tty, why can't it be
done for the screen.

BTW, would it be too easy to set up a set uid root command on a Unix
FS floppy on one machine, and then use it on another. I assume the answer
is that, as with NFS mounts, it can be made secure with the right options
to the mount command.

Has anyone had any dealings with Unix FS floppies?  I've got as far as 
formatting one and fscking it, but I don't have root access to mount it.

Mark Hurd
Logica Pty, Sydney
Currently at County NatWest						 
mark@county.oz.au
Newsgroups: alt.sys.sun,comp.sys.sun.misc
From: raob@mullian.ee.mu.oz.au (r. oxbrow)
Subject: Re: Can "normal" users mount under Solaris 2.X
Keywords: gripe, mount, PCFS
Organization: Electrical and Electronic - University of Melbourne 
Date: Mon, 25 Jan 1993 20:38:29 GMT

In article <1993Jan25.091658.5092@county.oz.au> mark@county.oz.au (Mark Hurd) writes:
>IMHO, it's about time Sun produced a set of minimal commands that
>any user can execute to mount a floppy, as a DOS disk, or as a Unix 
>file system.  I don't think that this is too much to ask given that
>eject and fdformat are available to everyone.
>
>..
>While I'm in the mood, I'll also add a command that locks the console
>to the user logged in to the keyboard so that others cannot access the
>device to my wish list.  If it can be done for a tty, why can't it be
>done for the screen.

Provided your running a windowing system you can change the protection
on  the screen, keyboard and mouse so other users can't access them.. 
(If you not running a windowing system on a Sun Sparc - then you should be)


>...
>
>Mark Hurd
>Logica Pty, Sydney
>Currently at County NatWest						 
>mark@county.oz.au

	richard/..


  	   richard oxbrow              ][  v-mail/fax +[613] 344 6782/6678
electrical and electronic engineering  ][  e-mail     raob@ee.mu.OZ.AU
     university of melbourne           ][
Xref: sparky alt.sys.sun:3586 comp.sys.sun.misc:6464
From: strat@matt.ksu.ksu.edu (Steve Davis)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Date: 23 Jan 1993 19:36:43 -0600
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

jdf@intcorp.mn.org (Joel D. Flatt) writes:

>Under SunOS 4.X I was able to allow non-root users to mount and umount
>filesystems by having them execute the [u]mount command in a shell 
>script where the owner of the script is root and the setuid bit is set.
>This does not appear to work for Solaris 2.1.  

Let me speak for the large number of people who are rolling at present
to mention (once again) that if you are stupid enough to make a setuid
root script world executable on your box, you are INVITING people to
break root (even by accident) and do horrible things to your file
system.  Just say no to setuid.

Stratocaster
-- 
	   Steve Davis (I'm a student, not a spokesperson!)
      strat@cis.ksu.edu - Kansas State University - Manhattan KS
				   
 The most important freedom in a democracy, is the freedom of CHOICE.
Xref: sparky alt.sys.sun:3594 comp.sys.sun.misc:6546
From: djh@cci632.cci.com (Daniel J. Hazekamp)
Newsgroups: alt.sys.sun,comp.sys.sun.misc
Subject: Re: Can "normal" users mount under Solaris 2.X
Summary: DOS floppy mount tools
Date: 27 Jan 93 15:57:02 GMT
Organization: Northern Telecom, Inc. - Network Application Systems


To get around the setuid shell script issue, I wrote two small C programs to
mount and unmount DOS format floppies. We do not allow mounting of Unix format
floppies here. 

The following code works under SunOS 4.1.x. You`ll have to try it under
Solaris 2.x yourself. Just compile it and make it SetUID root.

Dan
djh@cci.com

-------------------------------------------------------------------------------

fdmount.c

#define PCFS
#include <sys/mount.h>
 
main()
{

        struct pc_args fd_data;

        fd_data.fspec = "/dev/fd0";

        if (mount("pcfs","/pcfs",(M_NEWTYPE|M_NOSUID|M_NOSUB),
                  &fd_data) != 0)
                perror("fdmount");
}

-------------------------------------------------------------------------------

fdunmount.c

main()
{
        if (unmount("/pcfs") != 0)
                perror("fdunmount");
        else
                system("eject /dev/rfd0");
}
-- 
Dan Hazekamp					uupsi!cci632!djh
Computer Consoles Inc. (CCI)			uunet!ccicpg!cci632!djh
Rochester, NY					Internet: djh@cci.com
Newsgroups: alt.sys.sun,comp.sys.sun.misc
From: ckd@eff.org (Christopher Davis)
Subject: Re: Can "normal" users mount under Solaris 2.X
Organization: Electronic Frontier Foundation Tech Central
	<1993Jan25.091658.5092@county.oz.au>
Date: Mon, 25 Jan 1993 17:49:39 GMT

MH> == Mark Hurd <mark@county.oz.au>

 MH> While I'm in the mood, I'll also add a command that locks the console
 MH> to the user logged in to the keyboard so that others cannot access the
 MH> device to my wish list.  If it can be done for a tty, why can't it be
 MH> done for the screen.

man 5 fbtab...
--
 * Christopher Davis * <ckd@eff.org> * <ckd@kei.com> * [CKD1] * MIME * RIPEM *
From: matie@acsu.buffalo.edu (Timothy D. Matie)
Newsgroups: alt.sys.intergraph
Subject: Weitek with MS
Date: 23 Jan 93 16:55:15 GMT
Distribution: usa
Organization: UB

Hello fellow netters,
First let me say that I too am one of the silent majority who "reads the mail"
but rarely posts.  Now onto the business at hand,  anyone no if Microstation
on the PC is compatible with the Weitek Math Coprocessor.  Different instructionset from what Im told.  Maybe theres a option at load time or does it autosense
the prescence of a coprocessor and which type it might be.  Or am I stuck with
using only "Intel Inside".  Not that I have anything against Intel mind you but
do like to have options.
Thanks for any info you can supply.
                   Tim
From: paul@surv_sun.sli.unimelb.edu.au (Paul Joyce)
Newsgroups: alt.sys.intergraph
Subject: source code for .dgn i/o?
Date: 26 Jan 1993 06:16:52 GMT
Organization: University of Melbourne
Distribution: world
NNTP-Posting-Host: sunrise.sli.unimelb.edu.au
Keywords: dgn source
Originator: paul@sunrise.sli.unimelb.edu.au

Hi,

Now that Intergraph have placed their .dgn format in the hands of the
public (see MDL manual appendix b), it opens the possibility of
reading/writing these files on non-Intergraph platforms like SGI, HP/Apollo,
IBM RS/6000, etc.

Does anyone know of any publically available source code to support this?
I'm thinking of something like the functionality of the old MicroCSL
library.

Thanks,

Paul.
-- 
Paul Joyce
paul@sunrise.sli.unimelb.edu.au

     "I think you're pretty smart, don't I?"      - Daffy Duck
From: mcorley@hrssys.engr.latech.edu (Mel Corley)
Newsgroups: alt.sys.intergraph
Subject: xwais client for InterPro 2020
Date: 22 Jan 1993 15:10:18 GMT
Organization: Louisiana Tech University College of Engineering
Distribution: world
Reply-To: mcorley@engr.LaTech.edu
NNTP-Posting-Host: hrssys.engr.latech.edu
Keywords: xwais, xcontrib

Has anyone implemented the wais-8-b5.1 distribution from think.com
on the InterPro 2020 platform?  Actually, all I really need is the
xwais client and related files.  I'm not planning to implement the
server.

Thanks in advance.
=========================================================================
Melvin R. Corley, Ph.D.               Phone:     (318) 257-2859
Professor of Mechanical Engineering   Fax:       (318) 257-2562
Louisiana Tech University             Internet:  mcorley@engr.latech.edu
Box 10348                             BITNET:    MCORLEY@LATECH
Ruston, LA  71272-0046
=========================================================================
Newsgroups: alt.sys.intergraph
From: lovealld@infonode.ingr.com (David Loveall)
Subject: Re: bdftosnf
Reply-To: dave@xanadu.reston.ingr.com
Organization: Intergraph Corp. Federal Systems Division, Reston VA
Date: Wed, 27 Jan 1993 23:42:23 GMT

In <1993Jan27.110156.27875@SPM> hale@dino.wes.army.mil (Matthew E. Hale) writes:

>I have been compiling and working with X11 and have run into
>troubles getting my fonts straight. I need a file to convert bdf files
>to snf files. Where can I get the source code or the binary for bdftosnf?

The bdftosnf binary is contained in the XWINDOW product on Intergraph 
Systems Software Disk 1.  It is in the Server Selections, Executables 
menus.  I don't believe the bdftosnf source is available in the XWINDOW 
product..

>--
>Matt Hale                   Humility is the begining of
>hale@dino.wes.army.mil               wisdom.

-- 
David Loveall                      |                                  
Intergraph Corp, Reston VA         |                                  
dave@xanadu.reston.ingr.com        |                                  
 ..uunet!ingr!reston!xanadu!dave   |                                  
Newsgroups: alt.sys.intergraph
From: hale@dino.wes.army.mil (Matthew E. Hale)
Subject: bdftosnf
Organization: Mail news gateway
Distribution: world
Keywords: 
Reply-To: alt-sys-intergraph@ingr.com
Date: Wed, 27 Jan 1993 11:01:56 CST

I have been compiling and working with X11 and have run into
troubles getting my fonts straight. I need a file to convert bdf files
to snf files. Where can I get the source code or the binary for bdftosnf?

--
Matt Hale                   Humility is the begining of
hale@dino.wes.army.mil               wisdom.
From: justin@hybris.UUCP (Justin Richards)
Newsgroups: alt.sys.amiga.uucp
Subject:  news help needed
Distribution: world
Date: 21 Jan 93 23:45:28 CST
Organization: FEC Software Programmers, INC.

--
My news handler (the stock one from the UUCP1.16 archive) seems to be
loosing news, meaning I have 4 batches that were sent to me, that are just
sitting there, the system wont deal with them.  I have a feeling that its
the Amiga sigs that i have been waiting to read that have been hurt the
most...and I'd kinda like to get them back, if possible.  Does anyone
have any suggestions on what this problem might be, and what I can
do to fix it?  Is there a better news system that I can get ahold of??
(at this time I don't have access to FTP, so I would need someone to mail
it to me, if they could be that kind!!)

Please respond EMAIL, because I don't know if my news will give me the
message!!  (recommend sending to both of my address, to be safe, though
I KNOW Cleveland Freenet will give me the message, I don't call there
every day...  Thanks!!!!!!)

---

                      ---==* Justin Richards *==---
Hybris.UUCP  Amiga500  9600 baud      UUCP:  ..mmedia!hybris!justin
INET:  br365@Cleveland.Freenet.Edu
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Subject: Re: Amiga Tin 1.1 PL8 problems
Newsgroups: alt.sys.amiga.uucp
X-Newsreader: TIN [version 1.1 PL8]
Date: 23 Jan 93 08:18:15 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

John Verhoeven (johnv@acix.DIALix.oz.au) wrote:
> 1)  It insists on saving News articles and mail to the root partition of
>     the drive (DH3) where HOME is set to rather than $HOME/News and
>     $HOME/Mail

> 2)  It doesn't want to append my signature anymore.  The previous
>     version of Tin I used did this without any problems.

Mark Tomlinson (mark@garden.equinox.gen.nz) suggested this fix
----------- quoted from email message ---------------------------------
TIN *may* be objectint to HOME being set to something which ends with a
':' (eg assign or volume). The problem comes from UNIX, where all you need
to do to create paths is add a '/' between paths and files. I was fairly
sure I'd fixed all of these, I know it worked for PL6 (as you probably
know too), I'll check if I can use $HOME set to an assign.

>HOME              UULIB:

Try setting this to something like UUCP:lib (if it is that), and see if
that works. I'll give it a go too.
----------- end quote ------------------------------------------------

This suggestion fixes both my problems.

Thanks you Mark.

--

John Verhoeven                        johnv@acix.DIALix.oz.au      _--_|\
Treasurer, Amiga Developers           (ALT: johnv@DIALix.oz.au)   /      \
Association of Western Australia      Phone: (+619) 478 1406      *_.--._/