Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* help!!
@ 1995-06-22  4:00 Charlie Giampaolo 
  1995-06-22  4:00 ` help!! Dan Pop
  1995-06-23  4:00 ` help!! Peter Mayne
  0 siblings, 2 replies; 11+ messages in thread
From: Charlie Giampaolo  @ 1995-06-22  4:00 UTC (permalink / raw)


Why is it that I have to type ./ then the executable file name.  Is
there somthing to change in my profile??

                    thanks,
                    Chris



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: help!!
  1995-06-22  4:00 help!! Charlie Giampaolo 
@ 1995-06-22  4:00 ` Dan Pop
  1995-06-23  4:00 ` help!! Peter Mayne
  1 sibling, 0 replies; 11+ messages in thread
From: Dan Pop @ 1995-06-22  4:00 UTC (permalink / raw)


In <3scmi3$pck@ixnews6.ix.netcom.com> t-l-c@ix.netcom.com (Charlie Giampaolo ) writes:

>Why is it that I have to type ./ then the executable file name.  Is
>there somthing to change in my profile??

Yes, but don't do it!  

You have to add . (the current directory) to your PATH environment
variable.  If you decide to do it, put it at the very end.

Why is it better to not have it at all in your PATH and to type ./prog?

Because there are thousands of Unix commands (and new ones might appear
over night in your /usr/local/bin if it's on a distributed file system) 
the chances of a clash between a user program and a system one are
pretty high.

Here is a very common example: by inadvertence, you create an executable
called "test".  Let's see what happens:

1. You have . at the beginning of your PATH (an absolute no-no for
   security reasons).  Your "test" shadows the system one and some
   scripts will misteriously fail when run from that directory but work
   fine when invoked from any other directory!
  
2. You have . at the end of your PATH.  In this case, typing "test" will
   invoke the system one, not yours, leaving you in a very puzzled state
   of mind.

In both cases you lose.  So, don't put . in your PATH and get used to
typing ./prog.  It's much better than any of the two alternatives
described above.

Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: help!!
  1995-06-22  4:00 help!! Charlie Giampaolo 
  1995-06-22  4:00 ` help!! Dan Pop
@ 1995-06-23  4:00 ` Peter Mayne
  1995-07-02  4:00   ` help!! "Mark Jeffery"
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Mayne @ 1995-06-23  4:00 UTC (permalink / raw)


In article <3scmi3$pck@ixnews6.ix.netcom.com>
t-l-c@ix.netcom.com (Charlie Giampaolo ) wrote:

> Why is it that I have to type ./ then the executable file name.  Is
> there somthing to change in my profile??

Because the current directory isn't in your path. This stops
scenarios such as the following:

1) user creates script called ls which deletes /etc/passwd
2) user calls you and says "hey, there's a funny file in my directory"
3) you (logged in as root) cd to the user's directory and type ls
4) havoc

This omission of "." in the path is deliberate, not accidental. Change
it at your own risk.

PJDM
--
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
I wrote this, not Digital. I didn't write the X Files.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: help!!
  1995-06-23  4:00 ` help!! Peter Mayne
@ 1995-07-02  4:00   ` "Mark Jeffery"
  0 siblings, 0 replies; 11+ messages in thread
From: "Mark Jeffery" @ 1995-07-02  4:00 UTC (permalink / raw)


Or worse still, you create a file called graph, and try to run that. 
Nothing happens until you press a few keys, and then you get gobbledegook!

Took me ages to sort it out.

This was on Ultrix, and I thoroughly recommend the Digital UNIX 
behaviour, where the current directory isn't in the path.

Mark Jeffery
Westek UK
Phone: +44 1734 880230
FAX:   +44 1734 880360



^ permalink raw reply	[flat|nested] 11+ messages in thread

* help!!!
  1996-12-17  5:00 ` help Steve Lionel
@ 1996-12-19  5:00   ` Anthony McGarr
  1996-12-20  5:00     ` help!!! John Hill
  0 siblings, 1 reply; 11+ messages in thread
From: Anthony McGarr @ 1996-12-19  5:00 UTC (permalink / raw)



One of our techs deleted the etc directory by accident :(

We've restored the majority of the files from the backup but I'm sure
we are missing some needed files for a reboot.

We have two problems at the moment

1... Our users cannot ftp into the server but they can telnet
2... Root can ftp but cannot telnet


Any help would be appreciated

Anthony



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: help!!!
  1996-12-19  5:00   ` help!!! Anthony McGarr
@ 1996-12-20  5:00     ` John Hill
  0 siblings, 0 replies; 11+ messages in thread
From: John Hill @ 1996-12-20  5:00 UTC (permalink / raw)



Anthony McGarr wrote:
> 
> One of our techs deleted the etc directory by accident :(
> 
> We've restored the majority of the files from the backup but I'm sure
> we are missing some needed files for a reboot.
> 
> We have two problems at the moment
> 
> 1... Our users cannot ftp into the server but they can telnet

Check /etc/shells exists and contains a list of all the login shells.
ftp checks this file, telnet doesn't.

> 2... Root can ftp but cannot telnet

You are probably missing /etc/securettys - this determines where root
can login from.
> 
> Any help would be appreciated
> 
> Anthony
Regards,
John Hill
-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Dr. John C. Hill                  University of Cambridge,       +
+  E-mail: hill@hep.phy.cam.ac.uk    Cavendish Laboratory,          +
+  Phone:  +44-1223-337243           Madingley Road,                +
+  Fax:    +44-1223-353920           Cambridge, CB3 0HE, U.K.       +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Help!
@ 1997-01-10  5:00 Toby Lau
  0 siblings, 0 replies; 11+ messages in thread
From: Toby Lau @ 1997-01-10  5:00 UTC (permalink / raw)



Dear all,	
	where and how can I get a pcnfsd demo for osf1? 


    Thanks a lot!

Best regards!


Toby C.T. Lau



^ permalink raw reply	[flat|nested] 11+ messages in thread

* HELP!!!!!!!
  1998-10-22  4:00 Auto-install facility? hawkeye in exile
@ 1998-10-24  4:00 ` byte56
  1998-10-25  4:00   ` HELP!!!!!!! Bob Harris
                     ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: byte56 @ 1998-10-24  4:00 UTC (permalink / raw)


I have sent this to everyone in the group...get an idea of how desperate
I am???  :)

1.  How do I access the floppy drive after I  /dev/dfo, then I use the
command tar -x...I get nothing.

2.  If  I want to add an external driver on the scsi bus connection, do
I have to change the driver's jumpers?  I didn't touch the jumpers, and
the new driver booted up instead of the original one.

3.  After I successfully connect a storage system on the scsi adapter,
what syntax do I have to use to mount the storage system to the hard
drive?

Also, anybody know where I can check out some syntax for digital unix?
I checked out most of their sites I could find, and nothing real
helpful.

THANK YOU in advance for any help you can give me!

Mary




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: HELP!!!!!!!
  1998-10-24  4:00 ` HELP!!!!!!! byte56
@ 1998-10-25  4:00   ` Bob Harris
  1998-10-27  5:00   ` HELP!!!!!!! Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1998-11-11  5:00   ` HELP!!!!!!! Frank Harris
  2 siblings, 0 replies; 11+ messages in thread
From: Bob Harris @ 1998-10-25  4:00 UTC (permalink / raw)


In article <363286EE.DD70EFCC@mediaone.net>, byte56@mediaone.net wrote:

> Also, anybody know where I can check out some syntax for digital unix?
> I checked out most of their sites I could find, and nothing real
> helpful.

On-line documentation for Digital UNIX can be found at:

    <http://www.unix.digital.com/>
    <http://www.unix.digital.com/faqs/publications/pub_page/pubs_page.html>
    <http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html>

-- 
                                      Bob Harris

I don't get to tell me what to do, I only get to tell me how to do it.
The opinions expressed are my own and do not represent those of my employer.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: HELP!!!!!!!
  1998-10-24  4:00 ` HELP!!!!!!! byte56
  1998-10-25  4:00   ` HELP!!!!!!! Bob Harris
@ 1998-10-27  5:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1998-11-11  5:00   ` HELP!!!!!!! Frank Harris
  2 siblings, 0 replies; 11+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1998-10-27  5:00 UTC (permalink / raw)



In article <363286EE.DD70EFCC@mediaone.net>, byte56@mediaone.net writes:

>1.  How do I access the floppy drive after I  /dev/dfo, then I use the
>command tar -x...I get nothing.

The special for the floppy device on most systems is /dev/rfd0c.  If
you want to write a tar archive to it use something like:

tar cf /dev/rfd0c file-list

For extracting:

tar xf /dev/rfd0c

>
>2.  If  I want to add an external driver on the scsi bus connection, do
>I have to change the driver's jumpers?  I didn't touch the jumpers, and
>the new driver booted up instead of the original one.

SCSI devices must have a unique target ID.  For bare drives, this
is usually done by changing the address jumpers.  Older StorageWorks
drives get their ID from the physical shelf slot they're placed in.
The StorageWorks stackbox enclosures provide dip switches for setting
the address of the slot.  If you duplicate an ID already on a bus
any number of things can happen.

So, if the new drive's jumper settings for the SCSI target ID would
duplicate the ID of something already on the bus, yes, you need to
change them.

>
>3.  After I successfully connect a storage system on the scsi adapter,
>what syntax do I have to use to mount the storage system to the hard
>drive?

Generally the steps I use are:

1.  Use scu(8) to scan the particular bus to find the new
    devices:

	# scu scan edt bus #
	# scu show edt bus #

2.  For each new device found by the scan, create the appropriate
    special device file (I include literal examples):

	# cd /dev
	# ./MAKEDEV rz13 tz45 rzc16

    See the SCSI, RAID, rz and tz manual pages for how to derive
    the names.

3.  For disk devices, label them, create file systems on them, add
    them LSM, add them to an existing AdvFS domain, etc.  The
    particulars depend entirely what you want to do with the space.

4.  Mount the new file system.

>Mary
>
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: HELP!!!!!!!
  1998-10-24  4:00 ` HELP!!!!!!! byte56
  1998-10-25  4:00   ` HELP!!!!!!! Bob Harris
  1998-10-27  5:00   ` HELP!!!!!!! Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1998-11-11  5:00   ` Frank Harris
  2 siblings, 0 replies; 11+ messages in thread
From: Frank Harris @ 1998-11-11  5:00 UTC (permalink / raw)



                                                I believe the floppy drive
is /dev/fd0  which you can check by doing a file command (file /dev/fd0) and
see if it gives you any thing back .




byte56@mediaone.net wrote:

> I have sent this to everyone in the group...get an idea of how desperate
> I am???  :)
>
> 1.  How do I access the floppy drive after I  /dev/dfo, then I use the
> command tar -x...I get nothing.
>
> 2.  If  I want to add an external driver on the scsi bus connection, do
> I have to change the driver's jumpers?  I didn't touch the jumpers, and
> the new driver booted up instead of the original one.
>
> 3.  After I successfully connect a storage system on the scsi adapter,
> what syntax do I have to use to mount the storage system to the hard
> drive?
>
> Also, anybody know where I can check out some syntax for digital unix?
> I checked out most of their sites I could find, and nothing real
> helpful.
>
> THANK YOU in advance for any help you can give me!
>
> Mary




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1998-11-11  5:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-22  4:00 help!! Charlie Giampaolo 
1995-06-22  4:00 ` help!! Dan Pop
1995-06-23  4:00 ` help!! Peter Mayne
1995-07-02  4:00   ` help!! "Mark Jeffery"
  -- strict thread matches above, loose matches on Subject: below --
1996-12-16  5:00 help Zion Huang
1996-12-17  5:00 ` help Steve Lionel
1996-12-19  5:00   ` help!!! Anthony McGarr
1996-12-20  5:00     ` help!!! John Hill
1997-01-10  5:00 Help! Toby Lau
1998-10-22  4:00 Auto-install facility? hawkeye in exile
1998-10-24  4:00 ` HELP!!!!!!! byte56
1998-10-25  4:00   ` HELP!!!!!!! Bob Harris
1998-10-27  5:00   ` HELP!!!!!!! Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-11-11  5:00   ` HELP!!!!!!! Frank Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox