Re; [techtalk] Permissions

2000-06-19 Thread terry

As Robert said, the O'Reilly books are great.
I have Linux in a Nutshell from O'Reilly and learned
an easier way to change permissions than what I had been
using.  The idea is just to say what you want the
permissions to be for user, group, and other.  Here's
some examples:

/home/terry/temp>ls -la
total 16
drwxr-xr-x   2 terryusers4096 Jun 19 00:56 .
drwx--  10 terryusers4096 Jun 19 00:55 ..
-rw-r--r--   1 terryusers   9 Jun 19 00:56 file_one
-rw-r--r--   1 terryusers  11 Jun 19 00:56 file_two
   
   
/home/terry/temp>chmod u=rwx, g=rw, o=x file_one
chmod: g=rw,: No such file or directory
chmod: o=x: No such file or directory

(Oops, I guess it doesn't like spaces- try
again) 
     
/home/terry/temp>chmod u=rwx,g=rw,o=x file_one

(Meaning that I,user, can read write xecute, group can read write, other
can execute)  
/home/terry/temp>ls -la
total 16
drwxr-xr-x   2 terryusers4096 Jun 19 00:56 .
drwx--  10 terryusers4096 Jun 19 00:55 ..
-rwxrw---x   1 terryusers   9 Jun 19 00:56 file_one
-rw-r--r--   1 terryusers  11 Jun 19 00:56 file_two

(It worked!)

/home/terry/temp>chmod u=rw *

(user can read and write all files in directory)
/home/terry/temp>ls -la
total 16
drwxr-xr-x   2 terryusers    4096 Jun 19 01:14 .
drwx--  10 terryusers    4096 Jun 19 00:55 ..
-rw--x   1 terryusers   9 Jun 19 00:56 file_one
-rw---   1 terryusers  11 Jun 19 00:56 file_two

/home/terry/temp>chmod g=  *
(group cannot do anything to any files - leaving a blank removes
permissions)

/home/terry/temp>ls -la
total 16
drwxr-xr-x   2 terryusers4096 Jun 19 01:14 .
drwx--  10 terryusers    4096 Jun 19 00:55 ..
-rw--x   1 terryusers   9 Jun 19 00:56 file_one
-rw---   1 terryusers  11 Jun 19 00:56 file_two




Carolyn Jarie Getter wrote:
> 
> Someone please tell me there exists an explanation of file and directory

 -snip-
> 
> Carolyn
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Biscuit jack?

2001-05-06 Thread terry

I'm constantly amazed at how well google works for
just about any technical subject - and their servers
run  what else?


Karl-Heinz Zimmer wrote:
> 
> On Sunday 06 May 2001 21:41, Wood, Mary wrote:
> ..
> > As I RTFM, I keep seeing this term pop up ... "Under the cash wrap you will
> > find *biscuit jacks* with all their patch cables attached ... you will find
> > a patch cable connected to the BB-01 port on the *biscuit jack* on the
> > green board..."  What the hell is a biscuit jack?
> 
> 
> A biscuit jack is a low profile surface mount box with one or more
> modular outlets typically mounted to a side of the box.
> 
> 
> Hint: Things like this can be found using Google...
>   http://www.google.com/search?q=%22biscuit%20jack%22
> 
> Karl-Heinz
> 
> --
> Karl-Heinz Zimmer
> Senior Software Engineer
> Klarälvdalens Datakonsult AB
> 
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] .htaccess problem

2001-05-25 Thread terry

I'm trying to enable passwords for access to
my apache webserver.

Can someone spot where I am going wrong?
Thanks for your help.

I have edited the httpd.conf file. I have:


# First, we configure the "default" to be a very restrictive set of
# permissions.
#

Options -FollowSymLinks
AllowOverride None


#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#


#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes -FollowSymLinks +Includes

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride AuthConfig Limit

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
_

Then in the web root directory I have the .htaccess file

AuthName "Page page"

AuthType Basic
AuthUserFile /usr/local/httpd/htdocs/.htpassword
order allow,deny
Allow from all

require valid-user

-
the .htpassword is in the same directory (for now, I've also tried
putting
it in a users home directory)

 I created using htpasswrd -c .htpassword username
___

I get the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform them
of the time the error occurred, and anything
you might have done that may have caused the error.

More information about this error may be available in the server error
log.

---

I tried putting similar .htaccess and .htpassword files
in a user's public_html directory, where they had no effect.

Thanks for any tips.

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] .htaccess problem

2001-05-26 Thread terry

Almut Behrens wrote:
> 

> ... not meant to be a RTFM (M = message, here ;), but what's the
> error_log saying?

It says:
 /usr/local/httpd/htdocs/.htaccess: AuthName not allowed here

I tried moving the .htaccess file into a subdirectory - still
get same error on that directory.

> 
> At first sight, I can't see anything being wrong with your configuration.
> 
> Usual stupid question: have you checked file permissions? (need to be
> at least readable by UID webserver is running under)

yes, they are -rw-r--r--
> 
> Two more notes:
> 
> (1) are you sure you really want an .htaccess file here -- putting the
> respective auth-directives in  would work too. Does
> the access/authentication need to be run-time configurable?
> (This is a performance aspect only -- things do work with .htaccess
> equally)

I'm not sure I understand - do you mean:



AuthName "Page page"

AuthType Basic
AuthUserFile /home/ev/public_html/.htpassword
order allow,deny
Allow from all

require valid-user
satisfy any
---
This had no effect - no error message, no request for password, just the
webpage.

> 
> (2) -- cut 'n pasted from the manual:
> "Security: make sure that the AuthUserFile is stored outside the
> document tree of the web-server; do not put it in the directory that it
> protects. Otherwise, clients will be able to download the AuthUserFile."
> (reason is the same that shadow passwords were invented for *nix)
> 
> - Almut

Config file says the following, but yes, I meant to move it
once I got it working - I wanted to be sure it was finding the file.
Got a little frustrated and started trying random stuff, I guess.

# The following lines prevent .htaccess files from being viewed by
# Web clients.  Since .htaccess files often contain authorization
# information, access is disallowed for security reasons.  Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files.  If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#
# Also, folks tend to use names such as .htpasswd for password
# files, so this will protect those as well.
#

Order allow,deny
Deny from all


> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] .htaccess problem

2001-05-26 Thread terry


Thank you Almut and Elizabeth -
You got me to thinking and I discovered that 
my mistake was one of those really dumb, right under
your nose kind of things.  I was not restarting
the webserver, so the changes to httpd.conf
were having no effect.

Reminds me of programming - "I've tried A!
I've tried B! I've tried C! and my program
is still giving me the exact same output!
Oops, I forgot to save the changes before recompiling."

Thanks again for your replies.

> 
> Almut Behrens wrote:
> >
> 
> > ... not meant to be a RTFM (M = message, here ;), but what's the
> > error_log saying?

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [Techtalk] Adaptive Technology with Linux?

2001-06-08 Thread Terry

Suse Linux says: (quote)

New! SuSE Blinux for Visually Impaired Customers

SuSE Linux 7.0 is the first Linux distribution to support installation
and applications in Braille. The new screen reader Blinux is a
daemon that runs in the background to enable partially sighted and
blind users to work comfortably in a Linux environment. This
program provides unrestricted use of all applications, allows users
to compile their own Linux kernel, and does not compromise
system security in any way.
(end quote)

I haven't tried it myself, but here's the link:
 
http://www.suse.de/us/products/susesoft/70news/new_in_70.html



[EMAIL PROTECTED] wrote:
> 
> I was speaking with one of the staff at the Association for the Blind and
> Visually-Impaired here in the Rochester, NY area, Louis Kline.  Lou
> indicated that he would like to try to learn Linux, but there are no
> resources for Linux-based adaptive technology or speech engines for
> readers out there, not that he's been able to find.
> 
> Due to this, some of the staff had tried to run JAWS under X-Windows with
> no success.
> 
> Does anyone on the List have any links to adaptive technology that is
> Linux-based?  If so, please drop Lou a line.  He is at [EMAIL PROTECTED] in
> Rochester, NY, or call him at 716.232. at work.  He goes by his
> middle name (Kim) when he's in the office.
> 
> 73, Wm. Keith Hibbert, WB2VUO, Technical  Coordinator, WNY Section, ARRL
> ARRL Life Member, President/Brockport Amateur Radio Klub
> Ph - 716.494.1239
> mailto:[EMAIL PROTECTED]

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] request for ideas

1999-10-09 Thread Terry Randall

On Sat, 9 Oct 1999, Deb Richardson imparted the following wisdom:

->Date: Sat, 09 Oct 1999 13:47:39 -0400
->From: Deb Richardson <[EMAIL PROTECTED]>
->Reply-To: [EMAIL PROTECTED]
->To: [EMAIL PROTECTED], [EMAIL PROTECTED]
->Subject: [techtalk] request for ideas
->
->Hi all.
->
->I'm thinking about writing a "New User's Guide to Linux" (to be released
->under an appropriate open-content license, of course :).  
->
->I'm hacking together an outline for it at the moment, and I would like
->to know what you think such a Guide should include.  Input from users of
->all experience levels would be appreciated.  When you started with
->Linux, what stumbling blocks did you encounter?  What did you find most
->difficult to figure out?  Is there anything that new users need to
->know/should know that other docs don't address very well?
->
->All suggestions, comments, ideas are appreciated.  
->
->
->- deb
->
->-- 
->[EMAIL PROTECTED]
->[EMAIL PROTECTED]
->
Most of the material and books I've read on Linux seem to skim
over pre-installation. Something that would help (especially
those coming from M$) would be a thorough explanation of disk
partioning, Linux filesystem ( it took several installs for
me to finally get the partioning for / , /usr , /home etc..
set the way I needed it) and steps for determining io and irqs
of the sound cards, modems, etc... Most people coming from
Windoze never have to manually configure such things and will
find it very confusing if the distro they choose doesn't auto-
detect all their hardware.
I am, of course, assuming this will all be geared towards users
completely unfamiliar with Linux or *nix.


...The National Linux Service has issued a severe
   tuxedo warning. Please go to the center of your
   house and stay away from Windows!

   .-'~~~-.
 Terry   .'o  oOOOo`.
Randall :~~~-.oOo   o`.
 `. \ ~-.  oOOo.
   `.; / ~.  OO:
[EMAIL PROTECTED]  .'  ;-- `.o.'
  ,'  ; ~~--'~
  ;  ;# 98233
___\|/__\;_\//___\|/__
http://members.socket.net/~tvbare/index.html



[EMAIL PROTECTED]   http://www.linuxchix.org



RE: [techtalk] truncated file names

1999-12-14 Thread Terry Randall


from the fstab manpage:

The fifth field, (fs_freq), is used for these filesystems by the dump(8)  
command to determine which filesystems need to be dumped.  If the fifth
field is not present, a value of zero is returned and dump will assume
that the filesystem does not need to be dumped.
   The  sixth field, (fs_passno), is used by the fsck(8) program to
determinethe order in which filesystem checks are done at reboot
time.   The  rootfilesystem  should  be specified with a fs_passno
of 1, and other filesys-tems should have a fs_passno of
2.  Filesystems within  a  drive  will  bechecked  sequentially,
but filesystems on different drives will be checkedat the same
time to utilize parallelism available in the hardware.  If the
sixth  field  is not present or zero, a value of zero is returned and fsck
will assume that the filesystem does not need to be checked. 


I would assume you DO NOT want to fsck a windows mount, so I would use
a "0" here.


 On Tue, 14
Dec 1999, Samantha Jo Moore imparted the following wisdom:

->Date: Tue, 14 Dec 1999 18:36:39 -0800
->From: Samantha Jo Moore <[EMAIL PROTECTED]>
->Reply-To: [EMAIL PROTECTED]
->To: [EMAIL PROTECTED]
->Subject: RE: [techtalk] truncated file names
->
->> Excerpts from linuxchix: 14-Dec-99 Re: [techtalk] truncated fi.. by
->> "Theresa Radke"@corelcit 
->> > Ok, I changed the mount for c drive to vfat, and it fixed the
->> > truncation issue, but now c drive is not automatically mounted
->> > in my file manager on boot.
->> 
->> What is in your /etc/fstab?
->> 
->> It's much easier for people to help you if you give them the relevant
->> config files or errors... 
->
->In the /etc/fstab, the entry the corresponds to the filesystem you
->want to have mounted at boot time should have a 1 in the fifth field.
->A 0 in this field indicates that it should not be mounted at boot
->time.  The number in the sixth field indicates the sequence in 
->which this filesystem is mounted.  DOS and windows partitions should
->have a 2 here.
->
->Samantha
->
->
->[EMAIL PROTECTED]   http://www.linuxchix.org
->


   .-'~~~-.
 Terry   .'o  oOOOo`.
Randall :~~~-.oOo   o`.
 `. \ ~-.  oOOo.
   `.; / ~.  OO:
[EMAIL PROTECTED]  .'  ;-- `.o.'
  ,'  ; ~~--'~
  ;  ;   # 98233
___\|/__\\;_\\//___\|/___
http://hillbillyhaven.penguinpowered.com/~tvbare/



[EMAIL PROTECTED]   http://www.linuxchix.org



[techtalk] dual boot/ linux writing into win98 partition

2001-03-29 Thread Terry Yesse


Hi all-
I work in a student computer lab that uses Win 98.
We reload the software on a regular basis as the
windows files inevitably get messed up.

I was wondering if it would be possible to make the
machines dual boot Linux and Windows and use Linux
to reload the Win software over the network.  Norton Ghost
would be the usual solution to this problem, but I'd 
rather have an excuse to load Linux on the machines!

The parts I'm unsure about:
  1. how to get Linux to write into the Windows partition
  2. will just copying the files from an installed windows work?
 (how to I get the right stuff into the boot sector etc.?)

Has anyone done anything like this?  Is there a better way?

Any pointers to HOWto's, man pages, how you did it, etc
would be much appreciated.

TIA, 
  Terry

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk