Pc NFS or shadow.a lib

1998-12-03 Thread Alex McCool
Hi,
  Is there a debian pcnfs distribution?  I found a set of source code but it
requires the shadow library for compliation, and I couldnt find a shadow
library package either.

Ideas?



RE: Name suggestion

1998-12-03 Thread AJArmstrong
Ho 'bout aleph, bet, gimmee!

-Original Message-
From: Ryan King [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 03, 1998 2:21 PM
To: debian-user@lists.debian.org
Subject: Re: Name suggestion


>>Joe Emenaker wrote:
>>
>> In fact, it has just occurred to me that we could have named them
"alpha",
>> "beta", and "release" instead of "unstable", "frozen", and "stable".
>>
>David Coe Wrote
>Please don't.  "Alpha" (unfortunately) is already ambiguous
>(thanks to DEC)  ;-).

Who says version phase letters have to be Greek?

We could do "Aleph", "Beth", "Release" for that oh-so-Hebrew flavor.



-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null


Re: What installation with Debian 2.0?

1998-12-03 Thread Marcus Brinkmann

[Please shorten your lines under 80 characters.]

On Thu, Dec 03, 1998 at 08:51:43PM +0100, Georg Lohrer wrote:
> Hello,
> 
> after many obstacles I have running a Debian 2.0 installation. But without 
> looking at the cryptic usage of dselect it's still a secret for me what 
> installation is the best/correct/only one. On the CD-ROM are the directories:
> 
> 1)/debian/dists/frozen/hamm/disks-i386/...
> 2)/debian/dists/frozen/main/disks-i386/...
> 3)/debian/dists/hamm pointing to ../hamm 
> 4)/debian/hamm/hamm/disks-i386/...
> 
> I have choosen the number 2, because I don't have recognized any differences 
> in the subdirectories. In the docs, on the Web-Site of Debian and in the 
> Usenet-Groups I don't find an answer how the correct installation path should 
> look like.
> What's with these different directories?

They are all the same.

Unfortunate, isn't it? I wish symlinks to already existing entries could be
ignored.

Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Re: upgrading libc6

1998-12-03 Thread David Coe
Ok, what I suggested earlier was to try installing
both at the same time, with a single invocation:

dpkg -i libc6_2.0.7u-6.deb sysvinit_2.76-2.deb

What happens when you try that?

[EMAIL PROTECTED] wrote:
> 
> Well, the command and output are as follows:
> 
> -
> 
> [EMAIL PROTECTED] ftp$] dpkg -i libc6_2.0.7u-6.deb
> 
> dpkg: regarding libc6_2.0.7u-6.deb containing libc6:
>  libc6 conflicts with sysvinit (<< 2.75)
>   sysvinit (version 2.72-3) is installed.
> dpkg: error processing libc6_2.0.7u-6.deb (--install):
>  conflicting packages - not installing libc6
> Errors were encountered while processing:
>  libc6_2.0.7u-6.deb
> 
> [EMAIL PROTECTED] ftp$] dpkg -i sysvinit_2.76-2.deb
> dpkg: regarding sysvinit_2.76-2.deb containing sysvinit, pre-dependency 
> problem:
>  sysvinit pre-depends on libc6 (>= 2.0.7u)
>   libc6 latest configured version is 2.0.7t-1.
> dpkg: error processing sysvinit_2.76-2.deb (--install):
>  pre-dependency problem - not installing sysvinit
> Errors were encountered while processing:
>  sysvinit_2.76-2.deb
> 
> 
> 
> Looks like dependence problem. I just don't know how to avoid
> it. Hope someone can figure it our for me. Thanks very much for
> your kind help.
> 
> On Thu, Dec 03, 1998 at 10:31:47PM +, David Coe wrote:
> > H, please post the exact command and the
> > messages you get from dpkg -- someone here will
> > be able to figure it out if I can't.
> >
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
David Coe  mailto:[EMAIL PROTECTED]
R & D and Support  +1-410-489-9521
Overlord, Inc. http://www.overlord.com


Re: [SuSE Linux] 8-bit X cut&paste problem

1998-12-03 Thread charles verge
I belive
your term is set to 7 bit mode on the remote system
but 8 bit mode may not be surported.

My term is set to 8 bit mode. if you see half way down from the stty
output you see cs8 which is the bit mode cs7 is 7 bit.
see man stty for more info.

[EMAIL PROTECTED] charlesiii]$ stty -a
speed 38400 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ;
eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt
echoctl echoke


http://theverge.com



RE: upgrading libc6

1998-12-03 Thread Person, Roderick
Why not install sysvinit 2.75 - since that is the minimum
needed for libc6_2.0.7u
Then upgrade libc6
The if upgrade sysvinit.
--
From:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
Sent:  Thursday, December 03, 1998 5:48 PM
To:  David Coe
Subject:  Re: upgrading libc6

Well, the command and output are as follows:

-

[EMAIL PROTECTED] ftp$] dpkg -i libc6_2.0.7u-6.deb 

dpkg: regarding libc6_2.0.7u-6.deb containing libc6:
 libc6 conflicts with sysvinit (<< 2.75)
  sysvinit (version 2.72-3) is installed.
dpkg: error processing libc6_2.0.7u-6.deb
(--install):
 conflicting packages - not installing libc6
Errors were encountered while processing:
 libc6_2.0.7u-6.deb

[EMAIL PROTECTED] ftp$] dpkg -i sysvinit_2.76-2.deb 
dpkg: regarding sysvinit_2.76-2.deb containing
sysvinit, pre-dependency problem:
 sysvinit pre-depends on libc6 (>= 2.0.7u)
  libc6 latest configured version is 2.0.7t-1.
dpkg: error processing sysvinit_2.76-2.deb
(--install):
 pre-dependency problem - not installing sysvinit
Errors were encountered while processing:
 sysvinit_2.76-2.deb



Looks like dependence problem. I just don't know how
to avoid
it. Hope someone can figure it our for me. Thanks
very much for 
your kind help.

On Thu, Dec 03, 1998 at 10:31:47PM +, David Coe
wrote:
> H, please post the exact command and the
> messages you get from dpkg -- someone here will
> be able to figure it out if I can't.
> 


-- 
Unsubscribe?  mail -s unsubscribe
[EMAIL PROTECTED] < /dev/null


Re: upgrading libc6

1998-12-03 Thread ctang
Well, the command and output are as follows:

-

[EMAIL PROTECTED] ftp$] dpkg -i libc6_2.0.7u-6.deb 

dpkg: regarding libc6_2.0.7u-6.deb containing libc6:
 libc6 conflicts with sysvinit (<< 2.75)
  sysvinit (version 2.72-3) is installed.
dpkg: error processing libc6_2.0.7u-6.deb (--install):
 conflicting packages - not installing libc6
Errors were encountered while processing:
 libc6_2.0.7u-6.deb

[EMAIL PROTECTED] ftp$] dpkg -i sysvinit_2.76-2.deb 
dpkg: regarding sysvinit_2.76-2.deb containing sysvinit, pre-dependency problem:
 sysvinit pre-depends on libc6 (>= 2.0.7u)
  libc6 latest configured version is 2.0.7t-1.
dpkg: error processing sysvinit_2.76-2.deb (--install):
 pre-dependency problem - not installing sysvinit
Errors were encountered while processing:
 sysvinit_2.76-2.deb



Looks like dependence problem. I just don't know how to avoid
it. Hope someone can figure it our for me. Thanks very much for 
your kind help.

On Thu, Dec 03, 1998 at 10:31:47PM +, David Coe wrote:
> H, please post the exact command and the
> messages you get from dpkg -- someone here will
> be able to figure it out if I can't.
> 


Re: Parallel port cd-rom.

1998-12-03 Thread Martin Schulze
Karl McGhee wrote:
> Does the current version of debian support external parallel port cd-roms?
> If so, how do I get the driver loaded when I install or boot debian(linux)?

Basically this is an issue of the Linux kernel and not the used
distribution.  I don't know if / how Linux supports those cdrom
drives.  Did you check the Hardware HOWTO?


Regards,

Joey

-- 
Whenever you meet yourself you're in a time loop or in front of a mirror.


Re: recommendations for an X news client?

1998-12-03 Thread Peter Bartosch
Hi!

}-> I'm looking for something better than knews and netscape's news client --
}-> any suggestions?

slrn?

if you've used mutt slrn won't be a problem ;-)


until next mail ;)

Peter
-- 
  :~~~  [EMAIL PROTECTED]  ~~:
  :   student of technical computer science:
  :  university of applied sciences krefeld (germany)  :
      


Re: upgrading libc6

1998-12-03 Thread David Coe
H, please post the exact command and the
messages you get from dpkg -- someone here will
be able to figure it out if I can't.

Cheng Tang wrote:
> 
> I tried this. But it still doesn't work. :(
> 
> -cheng
> 
> On Thu, Dec 03, 1998 at 10:14:51PM +, David Coe wrote:
> > have you tried doing both at the same time?  i.e.
> >
> >   dpkg -i libc6_2.0.7u-6.deb sysvinit_2.76-2.deb
> >

-- 
David Coe  mailto:[EMAIL PROTECTED]
R & D and Support  +1-410-489-9521
Overlord, Inc. http://www.overlord.com


Re: Samba trouble

1998-12-03 Thread Eric Jensen
The problem is most likely that your username in windows is not the same
as the debian username you are entering the password for.

On Thu, 3 Dec 1998, Brian Morgan wrote:

> Having trouble getting samba to accept my password from a windows station.
> In smb.conf:  workgroup = hogue (same as on my windows machine).  Set samba
> password (general and per user) correctly using smbpasswd.
> 
> When I go to map a network drive to the samba machine in windows, I use
> \\brian\usr.  It then asks for my password.  No matter what password I type
> (root password or the samba password I setup) it tells me it can't connect.
> 
> I'm running debian linux, 2.0.34.  Am I forgetting something?  I've been
> able to do this in the past, but am having trouble with it now.  I want to
> assign a network drive to one of my debian partitions.
> 
> Any help would be great.
> 
> Brian Morgan
> 
>==
> 
> Brian Morgan  [EMAIL PROTECTED]
> Computer Support Specialist   http://brian.greenville.edu
> IBM Mobile Systems Specialist 618-664-2800 ext. 4241
> Information Technology618-338-4963 pager
> Greenville College, ILICQ: 13798434
> 
> "1 ... 2 ... 5!"
>   --King Arthur
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: upgrading libc6

1998-12-03 Thread Cheng Tang
I tried this. But it still doesn't work. :(

-cheng

On Thu, Dec 03, 1998 at 10:14:51PM +, David Coe wrote:
> have you tried doing both at the same time?  i.e.
>  
>   dpkg -i libc6_2.0.7u-6.deb sysvinit_2.76-2.deb
> 
> [EMAIL PROTECTED] wrote:
> > 
> > I want to upgrade libc6 from 2.0.7t to 2.0.7u to use apt and wine.
> > But when I type: " dpkg -i libc6_2.0.7u-6.deb  ", it prompts
> > 
> >   libc6 conflicts with sysvinit (<< 2.75)
> >sysvinit (version 2.72-3) is installed.
> >   dpkg: error processing libc6_2.0.7u-6.deb (--install):
> >conflicting packages - not installing libc6
> > 
> > So, I grab sysvinit_2.76-2.deb and try to install it, now I have
> > another problem:
> > 
> >   sysvinit pre-depends on libc6 (>= 2.0.7u)
> > libc6 latest configured version is 2.0.7t-1.
> >   dpkg: error processing sysvinit_2.76-2.deb (--install):
> >pre-dependency problem - not installing sysvinit
> > 
> > By now, I have no clue to solve this. Can anyone help me
> > out?  Thanks a lot.
> > 
> > -cheng
> > 
> > --
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> -- 
> David Coe  mailto:[EMAIL PROTECTED]
> R & D and Support  +1-410-489-9521
> Overlord, Inc. http://www.overlord.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: upgrading libc6

1998-12-03 Thread David Coe
have you tried doing both at the same time?  i.e.
 
  dpkg -i libc6_2.0.7u-6.deb sysvinit_2.76-2.deb

[EMAIL PROTECTED] wrote:
> 
> I want to upgrade libc6 from 2.0.7t to 2.0.7u to use apt and wine.
> But when I type: " dpkg -i libc6_2.0.7u-6.deb  ", it prompts
> 
>   libc6 conflicts with sysvinit (<< 2.75)
>sysvinit (version 2.72-3) is installed.
>   dpkg: error processing libc6_2.0.7u-6.deb (--install):
>conflicting packages - not installing libc6
> 
> So, I grab sysvinit_2.76-2.deb and try to install it, now I have
> another problem:
> 
>   sysvinit pre-depends on libc6 (>= 2.0.7u)
> libc6 latest configured version is 2.0.7t-1.
>   dpkg: error processing sysvinit_2.76-2.deb (--install):
>pre-dependency problem - not installing sysvinit
> 
> By now, I have no clue to solve this. Can anyone help me
> out?  Thanks a lot.
> 
> -cheng
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
David Coe  mailto:[EMAIL PROTECTED]
R & D and Support  +1-410-489-9521
Overlord, Inc. http://www.overlord.com


Re: 512MB RAM, 860MB swap and out of memory ?

1998-12-03 Thread Alexander Kushnirenko
Hi, Jan!

I was running Mathematica 3.0 on Pentium II 233MHz + 64Mb + 128Mb swap.  I did 
not do any really complicated calculations with Mathematica, but they kept my 
computer busy for 5-15 minutes.  Honestly I don't have good experience with 
mathematica, mathematica kernel was crashinig quite often, I have to restart 
it.  Sometimes kernel got stuck, and produced garbage as a result, and I 
restarted whole mathematcia to cure the situation.  I blame Mathematica for 
that, not Linux kernel or memory or hardware.  Button "restart kernel" inside 
Mathematica always made me suspicious about this program, but on the other 
hand Mathematica is well established program, on which many people rely.   
Well, perhaps it's just Mathematica for Linux that behaves badly.  I would 
recommend to run your program on some non-Linux machine, (like university 
cluster), just to see what happends.

Sasha.

> 
> Unfortunately when the mathematica3.0 is running,
> after using ("consuming") all RAM memory it can only 
> use up to 460Mb of swap and then it prints message:
> 'out of memory' and exits the calculations
> (stop running the calculation) but it does not crush,
> the front end of it and its kernel can be used further.
> It is normal ? How can be the total swap amount (860Mb) used?
> Does anybody have some idea, where could be reason
> for such behaviour of Mathematica, Linux and swap?
> (fault in kernel, my configurations of Linux, in Mathematica,
> in my hard disk swap?) 
> 
> Here are some additional information
> $ free
>  total   used   free sharedbuffers cached
> Mem:515772  57200 458572  32108   2444  32272
> -/+ buffers/cache:  22484 493288
> Swap:   860052   1300 858752
> 
>  fstab:
> # /etc/fstab: static file system information.
> #
> #   
> /dev/hdc1 /  ext2 defaults,errors=remount-ro   0  1
> /dev/hda3   noneswapsw  0   0
> /dev/hda5   noneswapsw  0   0
> /dev/hda6   noneswapsw  0   0
> /dev/hda7   noneswapsw  0   0
> /dev/hda8   noneswapsw  0   0
> /dev/hda9   noneswapsw  0   0
> /dev/hda10   noneswapsw  0   0
> proc/proc   procdefaults0   0
> 
> I have tried to use kernel 2.1.126 but although I could  compile
> it I cannot get it working. I mean: Lilo cannot start,
> appears: LIL- and I have to reset and use rescue disk.
> However its configurations was  the same as
> for the kernel 2.0.36 which was compiled and is working successfully
> but the out of memory problem remains.
> 
> ps aux prints:
> USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
> daemon 111  0.0  0.0   792 0  ?  SW   11:42   0:00 (portmap)
> daemon 134  0.0  0.0   84820  ?  S11:42   0:00 (atd)
> krupa  148  0.0  0.2  1964  1268   3 S11:42   0:00 -bash
> krupa  251  0.1  0.7  6100  3964   3 S12:19   0:00 emacs swap1
> math   146  0.0  0.1  1936   712   1 S11:42   0:00 -bash
> math   258  0.0  0.1   916   536   1 R12:29   0:00 ps aux
> root 1  0.1  0.0   76896  ?  S11:42   0:03 init
> root 2  0.0  0.0 0 0  ?  SW   11:42   0:00 (kflushd)
> root 3  0.4  0.0 0 0  ?  SW<  11:42   0:12 (kswapd)
> root 4  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
> root 5  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
> root 6  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
> root 7  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
> root16  0.0  0.0   73228  ?  S11:42   0:00 update
> root98  0.0  0.0   900   200  ?  S11:42   0:00 /sbin/syslogd
> root   100  0.0  0.0   91272  ?  S11:42   0:00 (klogd)
> root   107  0.0  0.0   75264  ?  S11:42   0:00 /sbin/kerneld
> root   113  0.0  0.0   86816  ?  S11:42   0:00 (inetd)
> root   117  0.0  0.0   760   132  ?  S11:42   
> 0:00 /usr/sbin/gpm -m /devroot   122  0.0  0.0   91224  ?  S
> 11:42   0:00 (lpd)
> root   137  0.0  0.0   860   172  ?  S11:42   0:00 /usr/sbin/cron
> root   147  0.0  0.2  1948  1248   2 S11:42   0:00 -bash
> root   149  0.0  0.0   84444   4 S11:42   0:00 (getty)
> root   150  0.0  0.0   844 8   5 S11:42   0:00 (getty)
> root   151  0.0  0.0   84412   6 S11:42   0:00 (getty)
> 
> I have read the following articel:
> http://www.linuxhq.com/doc20/memory-tuning.txt
> 
> I had the following
> # cat /proc/sys/vm/freepages
> 104815722096
> 
> I put 
> # echo "4192 8384 16764" > /proc/sys/vm/freepages
> 
> and now have:
> # cat /proc/sys/vm/freepages
> 4192838416764
> 
> but it haven't 

Re: masq server hardware req's

1998-12-03 Thread David Stern
On Thu, 03 Dec 1998 04:09:47 PST, Steve Lamb wrote:
> 
> On Fri, Dec 04, 1998 at 12:06:10AM +1300, Michael Beattie wrote:
> > Sorry for the dig, but "Only in America"
> 
> America has nothing to do with it.  Only in the net-idiot land of
> Gatesville and Windowstown.

Not exactly.  Christmas email reindeer animations were a conspired by a 
renegade faction of Santa's elves who have ties with Microsoft 
headquarters hometown, Redmond, WA (U.S.) city officials.

In response to the U.S. Justice Department Microsoft antitrust lawsuit 
investigation, Redmond city mayor said regarding the allegation of ties 
to Santa's elves: "I don't remember .. I don't know what that means".

The U.S. Justice Department now believes a splinter group of the 
Santa's elves faction has fled to New Zealand and that Christmas email 
reindeer animations will increase dramatically by December 25, 
particularly for Debian Linux users.

There is no evidence to support the rumor that Debian developers are 
intentionally delaying release of slink to promote wild speculation on 
the debian-user list.

David




Samba trouble

1998-12-03 Thread Brian Morgan
Having trouble getting samba to accept my password from a windows station.
In smb.conf:  workgroup = hogue (same as on my windows machine).  Set samba
password (general and per user) correctly using smbpasswd.

When I go to map a network drive to the samba machine in windows, I use
\\brian\usr.  It then asks for my password.  No matter what password I type
(root password or the samba password I setup) it tells me it can't connect.

I'm running debian linux, 2.0.34.  Am I forgetting something?  I've been
able to do this in the past, but am having trouble with it now.  I want to
assign a network drive to one of my debian partitions.

Any help would be great.

Brian Morgan

   ==

Brian Morgan  [EMAIL PROTECTED]
Computer Support Specialist http://brian.greenville.edu
IBM Mobile Systems Specialist   618-664-2800 ext. 4241
Information Technology  618-338-4963 pager
Greenville College, IL  ICQ: 13798434

"1 ... 2 ... 5!"
  --King Arthur


RE: 512MB RAM, 860MB swap and out of memory ?

1998-12-03 Thread Jon Burchmore
> My Debian Linux 2.0 cannot use more than 460MB sawp :(

There is a similar thread going on on linux-kernel that may be apropos to
your situation.

Basically, what it comes down to is that the way a (stock) Linux kernel
lays out memory, it is unable to address more than approximately 960MB
of memory (I would assume RAM + SWAP, in your case).

I am not sure if the 2.0 series of kernels has any ability to work around
this problem, but the 2.1 series certainly does.  In 
/usr/src/linux/include/asm-i386/page.h, you will find the following comment
and constant definition:

/*
 * This handles the memory map.. We could make this a config
 * option, but too many people screw it up, and too few need
 * it.
 *
 * A __PAGE_OFFSET of 0xC000 means that the kernel has
 * a virtual address space of one gigabyte, which limits the
 * amount of physical memory you can use to about 950MB. If
 * you want to use more physical memory, change this define.
 *
 * For example, if you have 2GB worth of physical memory, you
 * could change this define to 0x7000, which gives the
 * kernel slightly more than 2GB of virtual memory (enough to
 * map all your physical memory + a bit extra for various
 * io-memory mappings)
 *
 * IF YOU CHANGE THIS, PLEASE ALSO CHANGE
 *
 *  arch/i386/vmlinux.lds
 *
 * which has the same constant encoded..
 */
#define __PAGE_OFFSET   (0xC000)

-Jon Burchmore


Re: Name suggestion

1998-12-03 Thread Ryan King
>>Joe Emenaker wrote:
>>
>> In fact, it has just occurred to me that we could have named them
"alpha",
>> "beta", and "release" instead of "unstable", "frozen", and "stable".
>>
>David Coe Wrote
>Please don't.  "Alpha" (unfortunately) is already ambiguous
>(thanks to DEC)  ;-).

Who says version phase letters have to be Greek?

We could do "Aleph", "Beth", "Release" for that oh-so-Hebrew flavor.



Re: suid script

1998-12-03 Thread pat

Le 03-Dec-98, Joey Hess a pris ses électrons pour écrire:
> Brandon Mitchell wrote:
>> Dang, looks like you are right Joey, at least I can't get a counter
>> example working.  I have been forced to write csh scripts on linux that
>> are run by suid programs because bash will drop it's privleges to the
>> real user id. So, at least is some aspects, bash is worse than others.
>> Any idea why the kernel does this (if it really does, I'm still not sure
>> of it)? 
> 
> Because shell scripts are supposidly very often full of securitry holes when
> suid.

As far as i know it's not a problem of bugs or anything.
It's a general problem.
What i have understood (i'm not an expert)

the executable (bash, whatever) opens the file 
it closes it
it changes uid/gid to reflect suid status -> so it becames root or whatever
it reopens it
and executes it

problem: you can change the content of the file between the two !!
so you can have your script, running as root, executing whatever you want !!

I heard that some Unix systems (Solaris i think but not sure) provide a way to
overcome this by feeding the script to the executable through /dev/3 or
something like it (like a new STDIN)

Patrick

/\//\/\/\\/\/\//\/\\/\/\\/\\/\//\/\\/\//\/\\/\//\/\\/\//\/\\
Patrick M.   [EMAIL PROTECTED]http://www.patoche.org/
Sysadmin of patoche.org, globenet.org, bde.espci.fr


RE: Linux newbie needs help

1998-12-03 Thread Person, Roderick
That would be in the X11 directory.
If you goto www.debian .org follow the debian package links.
When you choose a package this way it will list all dependent and recommend
packages. This is the simplest I know to check out dependences.

Rod..

--
From:  Jeff Browning
[SMTP:[EMAIL PROTECTED]
Sent:  Thursday, December 03, 1998 7:11 PM
To:  [EMAIL PROTECTED]
Cc:  debian-user@lists.debian.org
Subject:  RE: Linux newbie needs help

Thanks but when I dpkg the .deb file, it says qt1g
depends on xlib6g. 
Where could I get that? Thanks.

Jeff

>From: "Person, Roderick" <[EMAIL PROTECTED]>
>To: 'Jeff Browning' <[EMAIL PROTECTED]>
>Subject: RE: Linux newbie needs help
>Date: Thu, 3 Dec 1998 15:02:56 -0500
>
>   I meant the .deb  for the qt1 libs,
that way you need not
>compile it.  
>   --
>   From:  Person,
Roderick
>   Sent:  Thursday,
December 03, 1998 3:02 PM
>   To:  'Jeff Browning'
>   Subject:  RE: Linux
newbie needs help
>
>   You can get the .deb
from Debian.org under
>the /non-free directory.
>
>   ftp.debian.org
>
>   --
>   From:  Jeff Browning
>[SMTP:[EMAIL PROTECTED]
>   Sent:  Thursday,
December 03, 1998 5:58 PM
>   To:
debian-user@lists.debian.org
>   Subject:  Linux
newbie needs help
>
>   Hey all,
>
>   Just successfully
installed my first linux
>box with no problems. Now I 
>   want to install KDE.
In the KDE install
>guide, it says that I need the 
>   Qt library. I
downloaded Qt, untar-ed it.
>When I type ./configure (like 
>   it says to do in
INSTALL) it says: 
>
>   "Checking for a
C-Compiler...
>   checking for gcc...
no
>   checking for cc...
no
>   checking for xlc...
no
>   configure: error: no
acceptable cc fount in
>$PATH"
>
>   Uh, help. Where can
I get a C-Compiler?
>
>   One more thing. Are
there any free POP3
>clients for Linux?
>
>   Thanx in advance.
>
>   Jeff
>
>
>   

>__
>   Get Your Private,
Free Email at
>http://www.hotmail.com
>
>
>   -- 
>   Unsubscribe?  mail
-s unsubscribe
>[EMAIL PROTECTED] < /dev/null
>



__
Get Your Private, Free Email at
http://www.hotmail.com


512MB RAM, 860MB swap and out of memory ?

1998-12-03 Thread Jan Krupa

My Debian Linux 2.0 cannot use more than 460MB sawp :(


Below is a description of my problem.
I have Pentium II, 512 Mb RAM, Linux debian 2.0,
kernel 2.0.36
I need quite big swap, so I created 7 swap partitions
hda3,hda5,...,hda10, as seen below:

/dev/hda1   *11  420  3175168+   7  OS/2 HPFS
/dev/hda2  421  421  438   1360806  DOS 16-bit >=32M
/dev/hda3  439  439  456   136080   82  Linux swap
/dev/hda4  457  457  556   7560005  Extended
/dev/hda5  457  457  474   136048+  82  Linux swap
/dev/hda6  475  475  492   136048+  82  Linux swap
/dev/hda7  493  493  510   136048+  82  Linux swap
/dev/hda8  511  511  528   136048+  82  Linux swap
/dev/hda9  529  529  546   136048+  82  Linux swap
/dev/hda10 547  547  55675568+  82  Linux swap

When the system is loading it prints that the 7 (seven)
sawp partitions are activating, and that's mean that I have
860Mb of swap.


Unfortunately when the mathematica3.0 is running,
after using ("consuming") all RAM memory it can only 
use up to 460Mb of swap and then it prints message:
'out of memory' and exits the calculations
(stop running the calculation) but it does not crush,
the front end of it and its kernel can be used further.
It is normal ? How can be the total swap amount (860Mb) used?
Does anybody have some idea, where could be reason
for such behaviour of Mathematica, Linux and swap?
(fault in kernel, my configurations of Linux, in Mathematica,
in my hard disk swap?) 

Here are some additional information
$ free
 total   used   free sharedbuffers cached
Mem:515772  57200 458572  32108   2444  32272
-/+ buffers/cache:  22484 493288
Swap:   860052   1300 858752

 fstab:
# /etc/fstab: static file system information.
#
#   
/dev/hdc1 /  ext2 defaults,errors=remount-ro   0  1
/dev/hda3   noneswapsw  0   0
/dev/hda5   noneswapsw  0   0
/dev/hda6   noneswapsw  0   0
/dev/hda7   noneswapsw  0   0
/dev/hda8   noneswapsw  0   0
/dev/hda9   noneswapsw  0   0
/dev/hda10   noneswapsw  0   0
proc/proc   procdefaults0   0

I have tried to use kernel 2.1.126 but although I could  compile
it I cannot get it working. I mean: Lilo cannot start,
appears: LIL- and I have to reset and use rescue disk.
However its configurations was  the same as
for the kernel 2.0.36 which was compiled and is working successfully
but the out of memory problem remains.

ps aux prints:
USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
daemon 111  0.0  0.0   792 0  ?  SW   11:42   0:00 (portmap)
daemon 134  0.0  0.0   84820  ?  S11:42   0:00 (atd)
krupa  148  0.0  0.2  1964  1268   3 S11:42   0:00 -bash
krupa  251  0.1  0.7  6100  3964   3 S12:19   0:00 emacs swap1
math   146  0.0  0.1  1936   712   1 S11:42   0:00 -bash
math   258  0.0  0.1   916   536   1 R12:29   0:00 ps aux
root 1  0.1  0.0   76896  ?  S11:42   0:03 init
root 2  0.0  0.0 0 0  ?  SW   11:42   0:00 (kflushd)
root 3  0.4  0.0 0 0  ?  SW<  11:42   0:12 (kswapd)
root 4  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
root 5  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
root 6  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
root 7  0.0  0.0 0 0  ?  SW   11:42   0:00 (nfsiod)
root16  0.0  0.0   73228  ?  S11:42   0:00 update
root98  0.0  0.0   900   200  ?  S11:42   0:00 /sbin/syslogd
root   100  0.0  0.0   91272  ?  S11:42   0:00 (klogd)
root   107  0.0  0.0   75264  ?  S11:42   0:00 /sbin/kerneld
root   113  0.0  0.0   86816  ?  S11:42   0:00 (inetd)
root   117  0.0  0.0   760   132  ?  S11:42   
0:00 /usr/sbin/gpm -m /devroot   122  0.0  0.0   91224  ?  S
11:42   0:00 (lpd)
root   137  0.0  0.0   860   172  ?  S11:42   0:00 /usr/sbin/cron
root   147  0.0  0.2  1948  1248   2 S11:42   0:00 -bash
root   149  0.0  0.0   84444   4 S11:42   0:00 (getty)
root   150  0.0  0.0   844 8   5 S11:42   0:00 (getty)
root   151  0.0  0.0   84412   6 S11:42   0:00 (getty)

I have read the following articel:
http://www.linuxhq.com/doc20/memory-tuning.txt

I had the following
# cat /proc/sys/vm/freepages
104815722096

I put 
# echo "4192 8384 16764" > /proc/sys/vm/freepages

and now have:
# cat /proc/sys/vm/freepages
4192838416764

but it haven't helped.

Still af

Re: Name suggestion

1998-12-03 Thread David Coe
Joe Emenaker wrote:
> 
> In fact, it has just occurred to me that we could have named them "alpha",
> "beta", and "release" instead of "unstable", "frozen", and "stable".
> 

Please don't.  "Alpha" (unfortunately) is already ambiguous 
(thanks to DEC)  ;-). 

-- 
David Coe  mailto:[EMAIL PROTECTED]
R & D and Support  +1-410-489-9521
Overlord, Inc. http://www.overlord.com


RE: Linux newbie needs help

1998-12-03 Thread Jeff Browning
Thanks but when I dpkg the .deb file, it says qt1g depends on xlib6g. 
Where could I get that? Thanks.

Jeff

>From: "Person, Roderick" <[EMAIL PROTECTED]>
>To: 'Jeff Browning' <[EMAIL PROTECTED]>
>Subject: RE: Linux newbie needs help
>Date: Thu, 3 Dec 1998 15:02:56 -0500
>
>   I meant the .deb  for the qt1 libs, that way you need not
>compile it.  
>   --
>   From:  Person, Roderick
>   Sent:  Thursday, December 03, 1998 3:02 PM
>   To:  'Jeff Browning'
>   Subject:  RE: Linux newbie needs help
>
>   You can get the .deb from Debian.org under
>the /non-free directory.
>
>   ftp.debian.org
>
>   --
>   From:  Jeff Browning
>[SMTP:[EMAIL PROTECTED]
>   Sent:  Thursday, December 03, 1998 5:58 PM
>   To:  debian-user@lists.debian.org
>   Subject:  Linux newbie needs help
>
>   Hey all,
>
>   Just successfully installed my first linux
>box with no problems. Now I 
>   want to install KDE. In the KDE install
>guide, it says that I need the 
>   Qt library. I downloaded Qt, untar-ed it.
>When I type ./configure (like 
>   it says to do in INSTALL) it says: 
>
>   "Checking for a C-Compiler...
>   checking for gcc... no
>   checking for cc... no
>   checking for xlc... no
>   configure: error: no acceptable cc fount in
>$PATH"
>
>   Uh, help. Where can I get a C-Compiler?
>
>   One more thing. Are there any free POP3
>clients for Linux?
>
>   Thanx in advance.
>
>   Jeff
>
>
>   
>__
>   Get Your Private, Free Email at
>http://www.hotmail.com
>
>
>   -- 
>   Unsubscribe?  mail -s unsubscribe
>[EMAIL PROTECTED] < /dev/null
>


__
Get Your Private, Free Email at http://www.hotmail.com


upgrading libc6

1998-12-03 Thread ctang
I want to upgrade libc6 from 2.0.7t to 2.0.7u to use apt and wine.
But when I type: " dpkg -i libc6_2.0.7u-6.deb  ", it prompts 
  
  libc6 conflicts with sysvinit (<< 2.75)
   sysvinit (version 2.72-3) is installed.
  dpkg: error processing libc6_2.0.7u-6.deb (--install):
   conflicting packages - not installing libc6

So, I grab sysvinit_2.76-2.deb and try to install it, now I have
another problem:

  sysvinit pre-depends on libc6 (>= 2.0.7u)
libc6 latest configured version is 2.0.7t-1.
  dpkg: error processing sysvinit_2.76-2.deb (--install):
   pre-dependency problem - not installing sysvinit

By now, I have no clue to solve this. Can anyone help me
out?  Thanks a lot.

-cheng


Garbage with identd

1998-12-03 Thread alexander.schwartz
Hi,

I am running samba, and when I access a printer, tcplogd identifies who is
trying a printer connection attempt (that's samba on localhost then)

But in syslog I get the following garbage:

Dec  3 20:46:06 stue0ef tcplogd: printer connection attempt from
[EMAIL PROTECTED]@localhost [127.0.0.1]

Well, shoudn't do that. Anybody got the same problem? Who can I send the
bugreport then?

Alex.

--
Alexander Schwartz ([EMAIL PROTECTED])
http://ourworld.compuserve.com/homepages/alex_schwartz


Re: suid script

1998-12-03 Thread Duncan Campbell
| From: dpk <[EMAIL PROTECTED]>
| 
| On Thu, 3 Dec 1998, Pere Camps wrote:
| 
|   I want my users to be able to execute this script:
|#!/bin/bash
|/sbin/kbdrate -r 30 -d 250
|/etc/init.d/gpm stop
|/etc/init.d/gpm start
| 
| A better/more secure way is to install the package 'sudo'.  Then you
| can add the command to the /etc/sudoers file:
| 
| #= Give 'username' permission to execute 'mycommand' as root
| username   ALL=/path/to/mycommand
| 
| Hope this helps!

that's two suggestions on how to get around the issue using
sudo.  if you want to give your users access to these two
specific commands -- kbdrate and gpm -- you might have luck
setting those two executables to be SUID-root.  

there are some complications -- gpm in context is itself a
shell script which checks for rootness.  even with that
defeated, i don't know how well start-stop-daemon responds
to nonroot users.  it might work better to invoke the real
gpm directly, after giving it suid, first with -k and then
with the arguments you like.

your darling users would simply run the user level shell
script and hopefully never be the wiser.

or... you could bind the script to a specific sequence of
mouse buttons, assuming your users are likely to be messing
with gpm and keyboard stuff from the console.

duncan.   ( hi joe )


Re: suid script

1998-12-03 Thread Joey Hess
[EMAIL PROTECTED] wrote:
> There's a bit more to it.  There is a race condition that would permit you
> to substitute a script of your choice for the suid script and have it run
> suid.

Oh yeah. I forgot about that. :-)

-- 
see shy jo


What installation with Debian 2.0?

1998-12-03 Thread Georg Lohrer




Hello,
 
after many obstacles I have running a Debian 2.0 
installation. But without looking at the cryptic usage of dselect it's still a 
secret for me what installation is the best/correct/only one. On the CD-ROM are 
the directories:
 
1)    
/debian/dists/frozen/hamm/disks-i386/...2)    
/debian/dists/frozen/main/disks-i386/...3)    
/debian/dists/hamm pointing to ../hamm 4)    
/debian/hamm/hamm/disks-i386/...
 
I have choosen the number 2, because I don't 
have recognized any differences in the subdirectories. In the docs, on the 
Web-Site of Debian and in the Usenet-Groups I don't find an answer how the 
correct installation path should look like.
What's with these different 
directories?
 
Ciao, Georg


Re: problems+suggestions

1998-12-03 Thread Marcus Brinkmann
On Tue, Dec 01, 1998 at 09:26:45PM -0400, wb2oyc wrote:
> >
> >Wouldn't it be nice if a configuration of all installed packages could be
> >saved in some data file that you could put on a disk and whenever you want
> >to install a new machine or go back to this good configuration you just
> >load the data-file into dselect or whatever program that gets/installs
> >packages. Some different default configs could also be shipped with
> >the dist to be used by new debian people.
> >
> >Maybe this is already possible? Tell me please!
> >
> SuSE Linux does precisely that using its YaST tool.

Yeah, and its evil:

1) It is limited.
2) It prevents configuration in the standard way (incompatible to manual
   configuration).

Debian is working on a better solution for this. Not ready yet, though.
You can export/import a list of selected packages though, as other people
already told you.

Thanks,
Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Linux newbie needs help

1998-12-03 Thread Jeff Browning
Hey all,

Just successfully installed my first linux box with no problems. Now I 
want to install KDE. In the KDE install guide, it says that I need the 
Qt library. I downloaded Qt, untar-ed it. When I type ./configure (like 
it says to do in INSTALL) it says: 

"Checking for a C-Compiler...
checking for gcc... no
checking for cc... no
checking for xlc... no
configure: error: no acceptable cc fount in $PATH"

Uh, help. Where can I get a C-Compiler?

One more thing. Are there any free POP3 clients for Linux?

Thanx in advance.

Jeff


__
Get Your Private, Free Email at http://www.hotmail.com


ISDN weirdness

1998-12-03 Thread Yosef B
Running Debian 2.0.34 and am having connection quality troubles using a
64K or 128K ISDN. I am in Europe and the dial-up server is in the US.  I
am running an external TA through the serial port.  The connection
establishes in about 5 seconds and I can pass traffic but at a slow rate
(slower than a 28.8 connection). Ping works but consistantly looses
every other reply. Very strange.  Same results with a 128K conection as
with a 64K connection.

Can anyone offer any advice as to what to look for?  I have lots of
experience with PPP and analog modems on POTs but not ISDN.  Is there
anything different about a european ISDN connection as compared to a US
ISDN line?  If there is, what do you have to do to get a hybrid
(different on each end) to work?

TIA,

L  Baker



Re: suid script

1998-12-03 Thread john
Joey Hess writes:
> Because shell scripts are supposidly very often full of securitry holes when
> suid.

There's a bit more to it.  There is a race condition that would permit you
to substitute a script of your choice for the suid script and have it run
suid.
-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]  Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


mounting /cdrom only for group cdrom

1998-12-03 Thread Pere Camps
Hi!

How can I make that the users of the group 'cdrom' (and only those
users!) can mount /cdrom?

I've tried with the 'user' option but then everybody can mount the
cdrom. I've also checked the permisions of /dev/cdrom and they're allright
(read for user+group).

TIA!

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Problem with X11

1998-12-03 Thread giz
I just install Debian 2.0 and I got a problem with X11.
Ater starting X, it hangs the computer when I move the mouse.
This can happen at the begining of the X session or after 1 hour of
working under X.
I read some answers about this recently in this news but I still got
this problem.
My mouse is a Logitech Pilot Mouse+ and my video card a Matrox
Millenium.

Can anyone help me please ?




Re: Sony CDU33A

1998-12-03 Thread Alexander Kushnirenko
Hi,

I had combination CDU33A + Promultimedia Sound Card.  It was quite painful to 
make it work.  The only successful pass was to use loadlin from DOS, so that 
DOS initializes Sound Card + CDU33A interface (SONY) and after that you boot 
linux (again with loadlin).  In DOS there was driver which printed out 
everyting about IRQ, ports and so on.  I was not able to make it work without 
DOS, because of bad sound card I beleive, you may make it work with 
soundbleaster, if it is really soundblaster from creative labs.

Good luck,
Sasha.


> I just installed Debian on an old 486, which has a old sony cdu33a cdrom
> connected to a soundblaster 16. The problem is that the soundcard only has
> jumper settings for the cdroms irq, not for the base adress, and stupid as I 
> am, I
> didn't have those written down somewhere since I haven't used this comp for 
> some
> 2-3 years. After having tried all possible irq and base adresses combination
> with the sony cdu31a module (which I have a vauge memory of working when I
> first installed linux on this computer), I was wondering if there is any
> nice way to determine irq & base adress and therefore being able to use it.
> Or if there is any other nice method to get it to work I don't know of ;)
> 
> //Anders a.k.a Caine
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 



Re: Logging bootup sequence

1998-12-03 Thread Miller Paul
On Wed, 2 Dec 1998 [EMAIL PROTECTED] wrote:

> As a new Debian user, I'd kind of like to see what Linux is doing when it
> boots up.  Is there a way to log the boot up sequence (before the syslog takes
> over) so I can peruse it? Unforunately, the Pause key doesn't seem to work...
> I'm booting from a floppy if that matters..
> 
> Thanks,
> Jay
> 
Try using the scroll lock to stop the flow of the output. That works on my
machine.


Paul Miller
Talons - President
The Spirit of UNT
[EMAIL PROTECTED]


Re: printing from netscape

1998-12-03 Thread Anthony Campbell
On 03 Dec 1998q, Eric Jensen wrote:
> When you print from netscape, it sends postscript to the printer.
> Assuming you don't have a Postscript printer, you need to use ghostscript
> and a print filter (try the magicfilter package).
> 
> eric.
> 
> On Thu, 3 Dec 1998, Anthony Campbell wrote:
> 
> > Is it possible to print the page that you are displaying in netscape?  When 
> > I
> > try to do so I get the messag   "lpr:stdin: empty".
> > 
> > I generally use lynx so am not very familiar with netscape.
> > 
> > Anthony
> > 

I'm doing this already; that isn't the problem.

Anthony

-- 
Anthony Campbell  -  running Linux Debian 2.0
[EMAIL PROTECTED]  http://www.achc.demon.co.uk

"The Moving Finger writes; and, having writ,
Moves on..."   - Edward Fitzgerald


partition table corrupted

1998-12-03 Thread Daniel E. Hollis
On boot, I get this error:
"Attempt to read block from filesystem resulted in short read while trying to open /deb/hda#
Could this be a zero-length partition?"


Indeed, my partitions in the extended partion aren't looking too good - a bad id on the first (hda5), incorrect length, and no record of hda6 through hda8.  Thankfully, my root is on hda2 and booting.  1 and 3 are dos, 4 is marked "extended", so I don't know if that's an abstract type partition, but I thought I remembered it being my swap partition (which is also missing).  Lilo is working fine.

Anyone have any advice?  Lilo saves a copy of the mbr, iirc - maybe it also saves a copy of the partition table?  (Where?).  Since I have the starting sector of the lost partition, is there data in the beginning of the partition that would let me deduce the length of the partition?

Dan 

aol.com not blocked anymore? (was Re: just a test - please ignore)

1998-12-03 Thread Jens Ritter

I always thought aol.com has been blocked, because the signal to spam
ratio is so high?

Jens

[EMAIL PROTECTED] writes:

> Sorry, but I needed to test my connection to this list - my messages don't
> seem to be going out.
> 
> Please ignore this post.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
-- 
[EMAIL PROTECTED]   [EMAIL PROTECTED]
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
Nothing is more admirable than the fortitude with which millionaires
tolerate the disadvantages of their wealth.
-- Nero Wolfe


Re: Understanding /root Re: My solution

1998-12-03 Thread Anthony Campbell
On 03 Dec 1998q, Joseph Hartmann wrote:
> I have run linux for years with just a linux native partition as
> big as I can make it, and a linux swap (= 2x my ram size) with no
> problem.  I believe your approach is some kind of "protection"
> for runaway events, but in four years I have had no such event.
> I think the partitioning is not necessary, and I think it may
> have bad side effects (like wasting disk resources).  This is
> just my opinion.
> 
This is reassuring; I've also been doing this for some time, though not as long
as 4 years. It saves a lot of hassle.

Anthony


-- 
Anthony Campbell  -  running Linux Debian 2.0
[EMAIL PROTECTED]  http://www.achc.demon.co.uk

"The Moving Finger writes; and, having writ,
Moves on..."   - Edward Fitzgerald


Re: suid script

1998-12-03 Thread Joey Hess
Brandon Mitchell wrote:
> Dang, looks like you are right Joey, at least I can't get a counter
> example working.  I have been forced to write csh scripts on linux that
> are run by suid programs because bash will drop it's privleges to the
> real user id. So, at least is some aspects, bash is worse than others.
> Any idea why the kernel does this (if it really does, I'm still not sure
> of it)? 

Because shell scripts are supposidly very often full of securitry holes when
suid.

-- 
see shy jo


Re: Is this really the right thing to do?

1998-12-03 Thread Remco Blaakmeer
On Mon, 30 Nov 1998, Mitch Blevins wrote:



> I think the best solution would be to be able to mark packages in dselect
> and dpkg, just like we currently have them marked as 'purge', 'hold', etc.
> We would just add a way to mark packages as
> 'installed-but-not-wanted-on-its-own-merits-so-uninstall-it-when-all-
> packages-needing-it-are-gone', or IBNWOIOMSUIWAPNIAG for short.

Yes, this has been proposed several times before and I don't think anyone
would be against such an option. But looking at the huge list of bug
reports dpkg has, I doubt anyone with sufficient knowledge of dpkg has the
time to implement it.

Remco


8-bit X cut&paste problem

1998-12-03 Thread Ted Harding
Folks,

I have a curious problem with cutting&pasting 8-bit characters between
xterms, i.e. characters with the 8th bit set (such as ¾ which has code
0xBE = 190 decimal).

It arises when pasting into a window in which a remote machine is logged
on, in which case the 8th bit is stripped (i.e. the above gets pasted in
as ">" with code 0x3E = 62). Pasting into a window in which the local
machine is logged on is OK -- the 8th bit is not stripped.

In detail:

On machine A:

  xterm windows:

AA1 (machine A logged in)
AA2 (machine A logged in)
AB1 (machine B logged in)
AB2 (machine B logged in)

pasting AA1->AA2 : OK (8th bit not stripped)
pasting AB1->AA2 : OK (8th bit not stripped)
pasting AA1->AB1 : FU (8th bit stripped)
pasting AB1->AB2 : FU (8th bit stripped)

And it is exactly symmetrical by machine: going to machine B,

On machine B:

  xterm windows:

BB1 (machine B logged in)
BB2 (machine B logged in)
BA1 (machine A logged in)
BA2 (machine A logged in)

pasting BB1->BB2 : OK (8th bit not stripped)
pasting BA1->BB2 : OK (8th bit not stripped)
pasting BB1->BA1 : FU (8th bit stripped)
pasting BA1->BA2 : FU (8th bit stripped)


Can anyone (a) explain why this happens? (b) suggest a cure?

With thanks,
Ted.


E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Date: 03-Dec-98   Time: 18:00:01



Re: printing from netscape

1998-12-03 Thread Eric Jensen
When you print from netscape, it sends postscript to the printer.
Assuming you don't have a Postscript printer, you need to use ghostscript
and a print filter (try the magicfilter package).

eric.

On Thu, 3 Dec 1998, Anthony Campbell wrote:

> Is it possible to print the page that you are displaying in netscape?  When I
> try to do so I get the messag   "lpr:stdin: empty".
> 
> I generally use lynx so am not very familiar with netscape.
> 
> Anthony
>   
> -- 
> Anthony Campbell  -  running Linux Debian 2.0
> [EMAIL PROTECTED]  http://www.achc.demon.co.uk
> 
> "The Moving Finger writes; and, having writ,
> Moves on..."   - Edward Fitzgerald
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: suid script

1998-12-03 Thread Brandon Mitchell
On Thu, 3 Dec 1998, Pere Camps wrote:

> > I mean, "feature".  I don't know of any other shells that do this.
> 
>   Doesn't bash have a setting to avoid this? I haven't RTFMd the
> manuals, but it would be a sensible set.

Possibly when compiling, but not after bash has been made.  Although, as
Joey pointed out, the kernel also does this which was news to me.

Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |


Re: suid script

1998-12-03 Thread Pere Camps
Brandon,

> It's in bash (which is also sh on most linux systems), a pain in the a**,
> I mean, "feature".  I don't know of any other shells that do this.

Doesn't bash have a setting to avoid this? I haven't RTFMd the
manuals, but it would be a sensible set.

> > Either that or install the sudo package and learn how to use it. 

I already had installed... I just wanted a quick hack. Thanks for
your help.

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Re: suid script

1998-12-03 Thread Pere Camps
Ben,

> First off, chown'ing them root.root does not make them suid, that requires
> chmod 4xxx or 2xxx (the first is suid, the second is sgid).

When I wrote that I was suiding the file root.root i meant
rwsrwsr-x... root root ... and not someting like root.adm.

> strongly suggest you now do this. Instead download either the sudo or (my
> preference) super package and use them instead since they have much more
> control and security than simply setting the scripts suid.

Finally opted for the sudo which I had already installed for some
other reason. Thanks for your help.

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Re: suid script

1998-12-03 Thread Pere Camps
Dennis,

> A better/more secure way is to install the package 'sudo'.  Then you
> can add the command to the /etc/sudoers file:
> 
> #= Give 'username' permission to execute 'mycommand' as root
> username   ALL=/path/to/mycommand

And then I put a NOPASSWD: and I have the same behaviour as I
would get with a suid script! 

Thanks a lot for your help.

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Re: suid script

1998-12-03 Thread Pere Camps
Gary,

> Scripts are not allowed to set UID, it's a security feature. I don't
> know where this occurs, but it's pretty low level, perhaps in the
> kernel itself or in the shell, 

Ok. I dindn't know that. I thought they worked as another program.

I've added the script to the sudoers file without the need for a
password and the problem is resolved now.

Thanks for your help.

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Re: suid script

1998-12-03 Thread Brandon Mitchell
On Thu, 3 Dec 1998, Joey Hess wrote:

> > It's in bash (which is also sh on most linux systems), a pain in the a**,
> > I mean, "feature".  I don't know of any other shells that do this.
> 
> No, it's in the kernel. Any executable that starts with "#!" does this,
> because the kernel is repsonsible for that magic thing working.

Dang, looks like you are right Joey, at least I can't get a counter
example working.  I have been forced to write csh scripts on linux that
are run by suid programs because bash will drop it's privleges to the
real user id. So, at least is some aspects, bash is worse than others.
Any idea why the kernel does this (if it really does, I'm still not sure
of it)? 

Thanks,
Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |


Re: Unix book

1998-12-03 Thread Greg Frye
[EMAIL PROTECTED] wrote:
> 
> Could someone recommend a good Unix/ Linux book to learn the ins and
> outs of the system?  It seems that the O'Reilly publishers seem to
> publish some good stuff.  I've really enjoyed the Learning GNU Emacs and 
> C++.  Thanks.
> 
> Tom
> 
I have "Special Edition, Using Linux, third edition" published by Que. 
I find it very useful even after reading several other books on Linux.

Greg
-- 
Greg Frye, APS
California Environmental Protection Agency
Air Resources Board
Monitoring and Laboratory Division
1927 13th Street
P. O. Box 2815
Sacramento, CA  95812-2815
voice: 916-324-8892
fax: 916-327-8217


Re: Optical Jukebox support in Linux

1998-12-03 Thread Jay Barbee
At 12/2/98 10:08 PM +0100, Rainer Clasen wrote:
>
>Jay Barbee ([EMAIL PROTECTED]):
>> I was wondering if Linux (kernel and tools) had the ability to control an
>> optical jukebox.  The box in question is an HP OEM that has 144 slots to
>...
>> Anybody have any experience with this or could point me in a direction to
>> get some help?
>
>there is a driver fir SCSI-Changers at 
>http://user.cs.tu-berlin.de/~kraxel/linux/

I have not had much luck as of late finding a dirver in Linux for
jukeboxes... I would imagine they are not that popular with the price tag
they carry.  A could of sites I have was:

http://www.tracertech.com

Which does deal with UNIX drivers for jukeboxes, but I got an email
response from them stating that they currently do not have a plan to create
a linux driver.  They do have Unixware and Solaris drivers for the x86
platform.

This jukebox would be handy in Linux, but it seems that the easiest way for
me to run it in a updated environment is NT.

--Jay


Re: Unix book

1998-12-03 Thread Gary Singleton
My recommendations (& a lot of other peoples) all from O'Reilly & all
my opinion:

Running Linux - now in it's second edition but I still have the first
- not much changed.  It's a really good overview of Linux and IMO the
best book for a new user.  Some people like Linux for Dummies but I
can't stand the dummy/idiot/moron/dumba** series myself.  If you only
want to buy one book buy this one.

Linux in a Nutshell - the best Linux quick ref available hands down &
for me a great learning tool - not as comprehensive about each command
as the manpages but usually enough to get the job done.

Essential System Administration - of great value to me but you might
not need or want it.  It's not focused on Linux but on many flavours
of *n[iu]x.

HTH, G.S.
---"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> Could someone recommend a good Unix/ Linux book to learn the ins and
> outs of the system?  It seems that the O'Reilly publishers seem to
> publish some good stuff.  I've really enjoyed the Learning GNU Emacs
and
> C++.  Thanks.
> 
> Also, with dselect how do I download more packages without downloading
> everything that is in the default?  Thanks again.
> 
> I also would like to add that I am very, very impressed with this
list. 
> it is the most friendliest and helpful group I've been on.  You ask a
> question and you get an immediate answer (without being told your
> stupid:) not to mention, the answers usually work.  TTYS
> 
> Tom

_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: ANSI Color Escapes in $PS1.. heh.

1998-12-03 Thread Marcus Brinkmann
On Wed, Dec 02, 1998 at 12:41:06PM -0600, Ryan King wrote:
> Just how stupid an idea did I have when I did this:
> 
> $PS1="[\e[31m\h\e[m:\e[34m\u\e[m:\e[31m\w\$\e[m]"
> 
> in my /etc/profile?
> 
> It looks really nifty until I try to do commands that wrap around, in which
> case the first line returns, but keeps going on the current spot.

What the other said, is correct, so you already know what is happening here.
However, here is just another example for you:

# ~/.bash_profile: executed by bash(1) for login shells.

[...snipped...]

  set_prompt ()
  {
local SAVE_CRS=`tput sc 2> /dev/null`
local RESET_CRS=`tput rc 2> /dev/null`
local CLOCKPOS=`tput cup 0 $(($HZ-10)) 2> /dev/null`
local FOREG=`tput setaf 6 2> /dev/null` #4
local ALT_FOREG=`tput setaf 3 2> /dev/null` #4
local BACKG=`tput setab 0 2> /dev/null` #6
local NORMAL=`tput sgr0 2> /dev/null`
local BOLD=`tput bold 2> /dev/null`

PS1="\[${NORMAL}${SAVE_CRS}${CLOCKPOS}${FOREG}${BACKG}${BOLD} \@ [EMAIL 
PROTECTED]:\w\$ "
  }
  set_prompt


This is will display a yellow username, (in normal colors) "@" + hostname, ":" 
+ path, "$"
and a cyan clock in the upper right corner, 10 columns from the line end.

The clock will only be updated when you enter a new command, though (or
press return). The clock is annyoing when scrolling up or cutting and
pasting. However, it is just a demonstration how to do cursor movements.

Note that you don't need to enter _any_ escape commands, because I use tput
to get them. See "man 5 terminfo" for a list of terminal capabilities.

bye,
Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Re: sb 32 PnP

1998-12-03 Thread Marcus Brinkmann
On Tue, Dec 01, 1998 at 06:04:15PM -0500, Richard Black wrote:
> Shao Zhang wrote:
> > 
> > Hi,
> > From your /dev/sndstat, your midi device is working! Is this
> > because of the new kernel, or you did some tricks with isapnp tools??
> > 
> > Thanks in advance.
> > 
> > PS. I can never get my midi device working under 2.0.35
> > 
> > Shao.
> 
> I have no idea--I'm _very_ new to this game.  I certainly didn't use any
> "tricks" that I was aware of!  I've attached my isapnp.conf for what
> that is worth (hope it isn't too big).
> 
> #
> # Logical device id CTL0021
> # Device supports vendor reserved register @ 0x3a
> # Device supports vendor reserved register @ 0x3c
> # Device supports vendor reserved register @ 0x3e
> # Device supports vendor reserved register @ 0x3f
> #
> # Edit the entries below to uncomment out the configuration required.
> # Note that only the first value of any range is given, this may be changed 
> if required
> # Don't forget to uncomment the activate (ACT Y) when happy
> 
> (CONFIGURE CTL0048/15823 (LD 2
> # ANSI string -->WaveTable<--
> 
> # Multiple choice time, choose one only !
> 
> # Start dependent functions: priority preferred
> #   Logical device decodes 16 bit IO address lines
> # Minimum IO base address 0x0620
> # Maximum IO base address 0x0620
> # IO base alignment 1 bytes
> # Number of IO addresses required: 4
>  (IO 0 (SIZE 4) (BASE 0x0620))

Add those:

 (IO 1 (SIZE 4) (BASE 0x0A20))
 (IO 2 (SIZE 4) (BASE 0x0E20))

>  (ACT Y)
> ))

Marcus


-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Re: SB AWE32 PnP, no midi

1998-12-03 Thread Marcus Brinkmann

Hi Matt,

did you read my Soundblaster-AWE mini Howto? Please check my homepage below
for a copy of it.

On Wed, Dec 02, 1998 at 11:12:02AM -0600, Matt Garman wrote:
> 
> bash-2.01$ cat /dev/sndstat 
> Sound Driver:3.5.4-960630 (Mon Oct 26 11:42:24 CST 1998 root,
> Linux crh3019.urh.uiuc.edu 2.0.35 #1 Mon Oct 26 10:30:03 CST 1998 i686 
> unknown)
> Kernel: Linux crh3019.urh.uiuc.edu 2.0.35 #1 Mon Oct 26 11:42:44 CST 1998 i686
> Config options: 0
> 
> Installed drivers: 
> Type 1: OPL-2/OPL-3 FM
> Type 2: Sound Blaster
> Type 7: SB MPU-401
> 
> Card config: 
> Sound Blaster at 0x220 irq 7 drq 1,5
> (SB MPU-401 irq 1 drq 0)  

The parentheses means this is inactive. Did you configure your kernel
correctly? Especially the midi port, 330 is the default value. If you do
"cat /proc/ioports", do you see the following or a similar line?

0330-0331 : Sound Blaster 16 - MPU-401

> 
> 
> The line I highlighted with the "" is of interest, I think.  I 
> read on a dejanews article that being in parenthesis means the "SB
> MPU..." actually wasn't found.  The article also suggested that I use
> the same irq for my wavetable that I do for my soundcard.  But how do
> I specify this?

Interrupt 1 is definitely wrong. This is how to configure the kernel:
CONFIG_SOUND=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_SB=y
CONFIG_SB_BASE=220
CONFIG_SB_IRQ=5
CONFIG_SB_DMA=1
CONFIG_SB_DMA2=5
**  This means the MPU does not need an IRQ, but
* CONFIG_SB_MPU_BASE=330 *  an ioport, and this is usually 330.
* CONFIG_SB_MPU_IRQ=-1   *
**
CONFIG_SOUND_ADLIB=y
CONFIG_SOUND_YM3812=y
 
> My /etc/isapnp.conf file is as follows:

(looks fine)

> Any help?

I hope so ;)

Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Re: Adding menu items in WindowMaker

1998-12-03 Thread Gary L. Hennigan
"Marcelo E. Magallon" <[EMAIL PROTECTED]> writes:
| On Thu, Dec 03, 1998 at 11:03:30AM -0500, Peter Kovacs wrote:
| 
| > What I did is:
| > 
| > Create my own menu with my customizations..
| > Somewhere in that menu I created an "external" menu pointing too
| > menu.hook.
| > 
| > It's kinda kludgy, but it works.  If you figure out how to embed
| > menu.hook, please let me know!
| 
|  There are several ways:
| 
|  * Make your own WMRootMenu. For testing purposed I once used this:
[snip]
|  you can build this using the Menu Guru in WPrefs (WPrefs needs WM >=
|  0.19.1, I think, current version in slink is 0.20.2)

I'm using hamm so this one is out. wmaker 0.14.1

|  * Use the hooks...
| 
| $ grep hook /etc/X11/WindowMaker/menu.hook
| #include 
| #include 
|
|  Put a menu.posthook and menu.prehook in ~/GNUstep/Library/WindowMaker

These don't seem to apply to the WindowMaker installation under
hamm. There aren't any hooks in menu.hook.

|  * Use menu's internal mechanism
| 
|  something like this:
| 
| $ cat > /etc/menu/remotessh
| ?package(ssh):needs=x11 section=RemoteHosts  \
|title=YourHost\
|command="xterm -e \"slogin yourhost\""

I've tried this, and while it's quite possible I'm screwing something
up, it doesn't seem to work for me, as a user. I haven't tried it
system wide, like above, because I want to do it on a per-user
basis. I think there's something about update-menus that doesn't
function properly for WindowMaker under hamm.

I'm loathe to upgrade to slink but maybe I'll just put this desire off 
until I have time to do that upgrade. Or maybe I'll just copy
menu.hook from /etc and do it manually until I can upgrade to slink.

Thanks for all the responses!
Gary


Re: using apt to upgrade from 1.3 to 2.0

1998-12-03 Thread Pann McCuaig
On Thu, Dec 03, 1998 at 12:55:09AM -0600, Carlo U. Segre wrote:
> 
> I have a dozen or so debian boxes which I have been reluctant to upgrade
> up to now.  I read in the apt README that it can be used to do a major
> upgrade such as the 1.3 to 2.0.  I have been unsuccessful up to now but
> maybe it is just my ignorance.  The problems I am encountering are that
> the only version of apt that I can find 0.1.8 which requires libc6 in
> order to work at all.  This means that I need to use the autoup script
> before trying apt-get.  This is not what I understood from the README but
> maybe it is the only way.
> 
> Any suggestions?

I think you can find apt for bo (1.3) at

http://www.debian.org/~jgg

There is also a bo version in the /install (I think) directory on the
Debian 2.0 CD I bought (long ago) from

http://www.netgod.net

I did the bo->hamm apt-get dist-upgrade to one machine recently and am
about to do it to more than 10 more, and it was pretty smooth.

You may run into problems if you have any ro nfs mounts that any of the
install scripts want to create directory entries on (kbd and perl both
mess with /usr/local/ BTW).

The other thing is that upgrading via autoup.sh leaves behind more
information if something goes wrong. But use script to make a typescript
of the whole bloody process and you should be fine.

Oh, one other thing. If the process fails because you need to go into
another vc and manually create a directory or something, just go back to
the original vc and restart apt-get dist-upgrade. It's very smart about
figuring out where it left off and proceeding forward smoothly.

It also _seems_ to be true that it doesn't do a complete upgrade. You'll
want to go into dselect after it's done (use the apt access method) and
finish things up.

And if you really need any of the libc5 *-dev packages you'll have
to re-install those (apt will toss them all at the beginning of the
upgrade).

Luck,
Pann
-- 
Pann McCuaig  [EMAIL PROTECTED]   PO Box 55549, Seattle, WA 98155
Technical Manager  Phone: (206) 782-7733 ext 122
SSC, Inc. www.ssc.comFax: (206) 782-7191
Linux Journal www.linuxjournal.com


Re: first attempt to run UUCP; failed

1998-12-03 Thread tko
Eugene Sevinian writes:
> Hi all,
> I am trying to connect 2 Debian machine,
> via uucp. I  am not sure that I  will find answer in  this mailing list,
> however I will try to discribe the problem shortly. At the very initial
> stage of communication chat script is getting NO CARRIER and exit.
> At the same time I use this line by minicom without problem, so it
> seems that the phone line is ok. I think that sometihng is wrong with uucp
> configuration. Hope, there are  UUCP gury around here, who will help
> me to understand what is going on.
> 
> Here is the debug info from client side:
> 
> 54.54 1060) Calling system spyur (port ttyS2)
> 54.54 1060) DEBUG: fcsend: Writing "ATZ\r" sleep
> 55.56 1060) DEBUG: icexpect: Looking for 3 "OK\r"
> 55.56 1060) DEBUG: icexpect: Got "\r\nATZ\r\r\nOK\r" (found it)
> 55.56 1060) DEBUG: fcsend: Writing sleep "ATM0L0E1Q0\r" sleep
> 57.60 1060) DEBUG: icexpect: Looking for 3 "OK\r"
> 57.60 1060) DEBUG: icexpect: Got "\nATM0L0E1Q0\r\r\nOK\r" (found it)
> 57.60 1060) DEBUG: fcsend: Writing "ATDP" \D "562635\r"
> 57.60 1060) DEBUG: icexpect: Looking for 7 "CONNECT"
> 57.61 1060) DEBUG: icexpect: Got "\nATDP562635\r\r\nNO CARRIER"
> 50.95 1060) DEBUG: icexpect: Found 10 "NO CARRIER"
> 50.95 1060) ERROR: Chat script failed: Got "NO\sCARRIER"
> 50.95 1060) DEBUG: fconn_close: Closing connection
> 50.96 1060) DEBUG: fcsend: Writing sleep sleep "+++" sleep sleep "ATM0H\r"
> 59.03 1060) DEBUG: Call failed: 2 (Dial failed)
> 59.04 1087) DEBUG: usysdep_detach: Forked; old PID 1060, new pid 1087
> 59.04 1087) DEBUG: fsysdep_get_work_init: Found C.NVMzzTJAAAOl
> 59.04 1087) DEBUG: fconn_open: Opening port ACU (default speed)
> 
> Thanks for any tips,

Sure thing - 1) turn off the command echo option of the modem. UUCP does not
like having the command echoed back. 2) assuming that your modem has 2
memories for parameter storage, use one of the memories for parameters for
UUCP, and one for ordinary connectivity. Use minicom to setup the UUCP memory
slot and adjust your script to load that memory into the modem's working
registers. 
If you wish, you can Email me your configuration files (with the account &
password information blanked out). I also need to know if you are using Taylor
or HDB mode of operation. The configuration is different depending on which
you want to use.

-- 
-= Sent by Debian 1.3 Linux =-
Thomas Kocourek  KD4CIK 
@[EMAIL PROTECTED]@westgac3.dragon.com Remove @_@ for correct Email address
--... ...-- ...  -.. .  -.- -.. - -.-. .. -.-


gnome-core dependencies ?

1998-12-03 Thread Marcus Geiger
Hi,

today I tried a download of the gnome-packages (0.30-2). But I can't
figure out how to solve the dependency problems of gnome-core. The
dpkg packaging tool tells me that gnome-core (and so on libgtkxmhtml0)  depends
libgnome0_0.30.1-3.deb; But where can I get it ?

dpkg-Output:
--
dpkg -i gnome-core_0.30-2.deb
Selecting previously deselected package gnome-core.
(Reading database ... 51377 files and directories currently installed.)
Unpacking gnome-core (from gnome-core_0.30-2.deb) ...
dpkg: dependency problems prevent configuration of gnome-core:
 gnome-core depends on libgnome0 (>= 0.30.1-3); however:
  Version of libgnome0 on system is 0.30.1-2.
 gnome-core depends on libgtkxmhtml0 (>= 0.30.1-3); however:
  Version of libgtkxmhtml0  on system is 0.30.1-2.
dpkg: error processing gnome-core (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnome-core   


Pleas help.

Marcus


Re: Adding menu items in WindowMaker

1998-12-03 Thread Marcelo E. Magallon
On Thu, Dec 03, 1998 at 11:03:30AM -0500, Peter Kovacs wrote:

> What I did is:
> 
> Create my own menu with my customizations..
> Somewhere in that menu I created an "external" menu pointing too
> menu.hook.
> 
> It's kinda kludgy, but it works.  If you figure out how to embed
> menu.hook, please let me know!

 There are several ways:

 * Make your own WMRootMenu. For testing purposed I once used this:

$ cat GNUstep/Defaults/WMRootMenu
(
  Applications,
  (Debian, OPEN_MENU, menu.hook),
  (
WorkSpace,
(Appearance, OPEN_MENU, appearance.menu),
(Workspaces, WORKSPACE_MENU),
("Arrange Icons", ARRANGE_ICONS),
("Hide Others", HIDE_OTHERS),
("Show All Windows", SHOW_ALL),
("Clear Session", CLEAR_SESSION),
("Save Session", EXEC, "")
  ),
  (XTerm, SHORTCUT, "Control+Shift+x", EXEC, xterm),
  ("Run Program", EXEC, "%a(Run a program)"),
  (About..., INFO_PANEL),
  (Exit, SHUTDOWN)
)

 you can build this using the Menu Guru in WPrefs (WPrefs needs WM >=
 0.19.1, I think, current version in slink is 0.20.2)

 * Use the hooks...

$ grep hook /etc/X11/WindowMaker/menu.hook
#include 
#include 

 Put a menu.posthook and menu.prehook in ~/GNUstep/Library/WindowMaker

 * Use menu's internal mechanism

 something like this:

$ cat > /etc/menu/remotessh
?package(ssh):needs=x11 section=RemoteHosts  \
   title=YourHost\
   command="xterm -e \"slogin yourhost\""

 HTH,


Marcelo


Unix book

1998-12-03 Thread [EMAIL PROTECTED]
Could someone recommend a good Unix/ Linux book to learn the ins and
outs of the system?  It seems that the O'Reilly publishers seem to
publish some good stuff.  I've really enjoyed the Learning GNU Emacs and
C++.  Thanks.

Also, with dselect how do I download more packages without downloading
everything that is in the default?  Thanks again.

I also would like to add that I am very, very impressed with this list. 
it is the most friendliest and helpful group I've been on.  You ask a
question and you get an immediate answer (without being told your
stupid:) not to mention, the answers usually work.  TTYS

Tom


Re: [Re: php 3.0.5 needs apache_common_1.3.3!!]

1998-12-03 Thread James Ryan
[EMAIL PROTECTED] wrote:
> On 1 Dec 1998, James Ryan wrote:

> 

> > 1) I am in the US, the apache-common is a non-us package.  Is it

> >legal for me to use it.  I thought that SSLEAY was legal worldwide.

> 

> There is a current apache-common in slink/main

> 

> > 2) Where can I find the apache-common_1.3.3 debian package.  Is there

> 

> slink/main/binary-i386/web/apache-common* on any debian ftp mirror

>
!
This is not present on the www.debian.org or ftp.debian.org site. 
Is there another site I should consult?

Thanks,

J 




Get free e-mail and a permanent address at http://www.netaddress.com/?N=1


Re: Adding menu items in WindowMaker

1998-12-03 Thread Peter Kovacs
On 3 Dec 1998, Gary L. Hennigan wrote:

> I'd like to add a new submenu to the WindowMaker main pop-up menu
> called "RemoteHosts" and each item in that menu would be of the form:
> 
> xterm -e ssh 

What I did is:

Create my own menu with my customizations..
Somewhere in that menu I created an "external" menu pointing too
menu.hook.

It's kinda kludgy, but it works.  If you figure out how to embed
menu.hook, please let me know!

Peter

---
Peter D. Kovacs UIN: 241701
Operator, Perl Programmer, Computer Guy
[EMAIL PROTECTED]
http://www.egr.uri.edu/~kovacsp/
http://kovax.ml.org/~kovacsp/pubkey.txt


Re: Understanding /root Re: My solution

1998-12-03 Thread Kenneth Scharf

to add to the mess:

I have three smaller disks, a 320mb, and two 500mb's, one of which is
scsi.  The 320mb is /dev/hda and is partitioned as 32mb swap, rest is
"/".  The 500mb scsi is mounted as /usr, and the 500mb /dev/hdb is
mounted as /usr/local.  

Weird maybe, but I had some special needs.

df shows / at 9%, /usr at 52%, /usr/local at 24%.

System is being used as a development / server.


_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: Remote backup

1998-12-03 Thread Colin Telmer
On Thu, 3 Dec 1998, Stef Hoesli Wiederwald wrote:

> I want to make a backup from one machine directly into a tar file on
> another machine. How could I do that? I'm thinking about something
> like: tar -c / | rcp ...

You'll have to did for more details (i.e. how tar accompishes this), but
if you are using GNU tar (the standard debian tar), I found this in a
quick search of the info page:


   To specify an archive file on a device attached to a remote machine,
use the following:

 --file=HOSTNAME:/DEV/FILE NAME

`tar' will complete the remote connection, if possible, and prompt you
for a username and password.  If you use [EMAIL PROTECTED]:/DEV/FILE
NAME', `tar' will complete the remote connection, if possible, using
your username as the username on the remote machine.

Cheers.

--
Colin Telmer, Ottawa, Ontario, Canada




proxy ftp software ?

1998-12-03 Thread Pierfrancesco Caci

is there a package to create a proxy ftp server ?


-- 

---
 Pierfrancesco Caci  | mailto:[EMAIL PROTECTED] - http://gusp.infogroup.it
   ik5pvx| http://www.geocities.com/SoHo/Lofts/8999
  Firenze - Italia   | Office for the Complication of Otherwise Simple Affairs 
 Linux penny 2.1.130 #4 Sun Nov 29 16:57:36 CET 1998 i586 unknown


Re: Installation woes

1998-12-03 Thread Tom Anzalone
Kent,

Thanks for the reply.  I did intially partition the drive using Opendos 
7.2 fdisk program.  I will try using Linux's fdisk this time and let you 
know how it works.

Thanks,

Tom

Date sent:  Thu, 3 Dec 1998 09:23:06 -0600 (CST)
From:   Kent West <[EMAIL PROTECTED]>
To: Tom Anzalone <[EMAIL PROTECTED]>
Copies to:  Debian User List 
Subject:Re: Installation woes

> On Thu, 3 Dec 1998, Tom Anzalone wrote:
> 
> > I had sent an earlier message regarding installation problems and 
> > did receive some messages back but was unable to read them. So 
> > I will try this again. (Thanks to everyone that did reply)   I have tried 
> > to install Debian numerous times on my machine:
> > 
> > P133, 128meg, 8.4 ide, 2.5 ide (install drive for Debian), and a 1 gb 
> > scsi drive, 40X cdrom ide, 144 floppy drive.  
> > 
> > I have installed Red Hat successfully on the 1 gb drive and I use 
> > system commander to boot between Windows 98 and Linux.  I 
> > installed the 2.5 gb drive to install Debian and partitioned it using 
> > dos in a 2 gb main and 500 mg swap.  I tried to install Debian off 
> > the CD (version 2.0.2) and was able to boot, partition and intialize 
> > the drive, pick the keyboard type but when I go to install the kernel 
> > the installation process says:
> 
> 
> I'm a bit confused. Did you partition the drive in using DOS's fdisk, or
> Linux's? Or does this mean you partitioned part of it for DOS using DOS's
> fdisk and part for Linux using Linux's?
> 
> If you partitioned it for Linux using DOS's fdisk, and then just reviewed
> the partitions during the Debian install's partition phase, you might want
> to delete the Linux partition and recreate it using Linux's [c]fdisk.
> 
> 
> > 
> > Starting to extract Rescue disk
> > 
> > Then it blows up and gives and error that extraction of the Rescue 
> > disk failed (there is a message in the background but the windowed 
> > message covers it) and that is that.  So I tried booting off a rescue 
> > floppy and then installing off the CD but the same error.  I then 
> > downloaded the disk set off the web.  Made a floppy disk 
> > installation set and tried it once again.  Guess what,  same place 
> > same error!  I would appreciate any help at this time.  I have 
> > checked the installation instructions numerous times thinking I 
> > missed something as well as checking this mailing list and web 
> > site for help.  I would really like to get this installed.  Thanks for 
> > any help.  
> > 
> > Tom Anzalone
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> -- 
> Kent West
> [EMAIL PROTECTED]
> KC5ENO - Amateur Radio: When all else fails.
> Linux - Finally! A real OS for the Intel PC!
> 
> 


Tom Anzalone


Re: Multiport Ethernet Cards

1998-12-03 Thread Jens B. Jorgensen
Well, I can tell you that I managed to get the Adaptec ANA-6922A/TX working 
(2-port
version of this card?). I did have to modify the latest tulip driver to get it 
to work
though.

"Walter L. Preuninger II" wrote:

> I'm looking around for an efficient, not to expensive, 10/100 BT Ethernet
> adapter with 4 ports.
>
> I currently have an 2 SMC 9334BDT/SC in a Debian 2.0(2.0.34) machine using
> the 'Tulip' driver.
>
> I really want to put 3-4 port cards in a mojo machine (12 network
> interfaces), and am looking at the Adaptec/Cogent PCI Quartet ANA-6944A/TX.
> Price is $695 for 1 card.
>
> I know this card has the DECchip LAN Processor, shared interrupts and is
> supposed to run in Beowulf machines, But I wanted to know specifically:
> Is this card supported?
> Can I really have 3 of them puppies in a box (it will only be a 
> Pentium II
> Dual 450).
>
> Thank for any advice or pointers you may have.
>
> Walter L. Preuninger II
>
> L I N U X  -- Where You Will Want To Be

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: Installation woes

1998-12-03 Thread Kent West
On Thu, 3 Dec 1998, Tom Anzalone wrote:

> I had sent an earlier message regarding installation problems and 
> did receive some messages back but was unable to read them. So 
> I will try this again. (Thanks to everyone that did reply)   I have tried 
> to install Debian numerous times on my machine:
> 
> P133, 128meg, 8.4 ide, 2.5 ide (install drive for Debian), and a 1 gb 
> scsi drive, 40X cdrom ide, 144 floppy drive.  
> 
> I have installed Red Hat successfully on the 1 gb drive and I use 
> system commander to boot between Windows 98 and Linux.  I 
> installed the 2.5 gb drive to install Debian and partitioned it using 
> dos in a 2 gb main and 500 mg swap.  I tried to install Debian off 
> the CD (version 2.0.2) and was able to boot, partition and intialize 
> the drive, pick the keyboard type but when I go to install the kernel 
> the installation process says:


I'm a bit confused. Did you partition the drive in using DOS's fdisk, or
Linux's? Or does this mean you partitioned part of it for DOS using DOS's
fdisk and part for Linux using Linux's?

If you partitioned it for Linux using DOS's fdisk, and then just reviewed
the partitions during the Debian install's partition phase, you might want
to delete the Linux partition and recreate it using Linux's [c]fdisk.


> 
> Starting to extract Rescue disk
> 
> Then it blows up and gives and error that extraction of the Rescue 
> disk failed (there is a message in the background but the windowed 
> message covers it) and that is that.  So I tried booting off a rescue 
> floppy and then installing off the CD but the same error.  I then 
> downloaded the disk set off the web.  Made a floppy disk 
> installation set and tried it once again.  Guess what,  same place 
> same error!  I would appreciate any help at this time.  I have 
> checked the installation instructions numerous times thinking I 
> missed something as well as checking this mailing list and web 
> site for help.  I would really like to get this installed.  Thanks for 
> any help.  
> 
> Tom Anzalone
> [EMAIL PROTECTED]
> 
> 
> 

-- 
Kent West
[EMAIL PROTECTED]
KC5ENO - Amateur Radio: When all else fails.
Linux - Finally! A real OS for the Intel PC!


Adding menu items in WindowMaker

1998-12-03 Thread Gary L. Hennigan
I'd like to add a new submenu to the WindowMaker main pop-up menu
called "RemoteHosts" and each item in that menu would be of the form:

xterm -e ssh 

It took me a while, but I figured out how to do this the Debian
Way(TM) under fvwm2 by using the ~/.fvwm2/main-menu.hook file. I can't
for the life of me figure out how to do the same thing under
WindowMaker. I could surely just copy /etc/X11/WindowMaker/menu.hook
to ~/GNUStep/Defaults/WMRootMenu and modify that, but there's got to
be a more elegant way to do it under Debian?

Thanks,
Gary


Re: Installation on IBM ThinkPad 380XD

1998-12-03 Thread pat
Hi,

you've sent shortly in debian-user the followin tip.
i'd like to include it in LTT, the Linux Tips and Tricks page at
http://www.patoche.org/LTT

so i'm asking your permission to do so.
thanks in advance.

Le 03-Dec-98, Manoj Srivastava a pris ses électrons pour écrire:
> Hi,
> 
> Tecras and other notebooks 
> --
> (Many thanks to Philip Hands <[EMAIL PROTECTED]> and
>Avery Pennarun <[EMAIL PROTECTED]> for this explanation)
> 
> Tecras and other notebooks, and some PCs have a problem where they
> fail to flush the cache when switching on the a20 gate (IIRC), which
> is provoked by bzImage kernels, but not by zimage kernels. 
> 
> bzImage files are actually "big zImage" not "bzipped Image".  bzImage
> kernels can be as large as you like, but because they need to decompress
> into extended memory, they aggravate this problem.  zImage kernels just
> compress into conventional memory, so they never need to touch the a20 gate,
> but they hit the 640k limit.
> 
> This problem is *not* present in late 2.1.* and later (2.2 when
> available) kernels, bzImage kernel work just fine (the necessary code
> has been added, see the .S files in the kernel sources).
> 
> 
> For older kernels there are two solutions that I know of:
> 
>   1) apply a patch, which flushes the cache.  Unfortunately this
>  causes other machines to crash so is not universally applicable
>  (hence the tecra disks being segragated from the mainstream)
> 
>   2) build a zimage, rather than bzimage kernel.  This seems to get
>  round the problem. use the --zimage option to make-kpkg, or even
>  set this as the default in /etc/kernel-pkg.conf.
> 
> 
>   manoj
> -- 
> Manoj Srivastava  <[EMAIL PROTECTED]> 
> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
> 
> -- 
>  Theory is gray, but the golden tree of life is green. Goethe
> Manoj Srivastava  <[EMAIL PROTECTED]> 
> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E

/\//\/\/\\/\/\//\/\\/\/\\/\\/\//\/\\/\//\/\\/\//\/\\/\//\/\\
Patrick M.   [EMAIL PROTECTED]http://www.patoche.org/
Sysadmin of patoche.org, globenet.org, bde.espci.fr


HELP: jikes & libstdc++.so.2.8 probs

1998-12-03 Thread Bruno Boettcher
Hello,

i solved the problems with dselect and apt thank to the foobar_debs.tar.gz
package but my favourite java compiler reports the same problem...

jikes: error in loading shared libraries
/usr/lib/libstdc++.so.2.8: undefined symbol: __register_frame_info

what can i do to get this solved?

ciao bboett
==
[EMAIL PROTECTED]
http://erm6.u-strasbg.fr/~bboett
===
the total amount of intelligence on earth is constant.
human population is growing


Re: superformat:floppy not transferable?

1998-12-03 Thread Sebastian Canagaratna
Thank you for your suggestion. In my case, I discovered that
when I form the ext2 file system on the floppy if I use
mke2fs /dev/fd0 I get the problem of transferability, but
if I use, after superformat /dev/fd0 hd, mke2fs /dev/fd0 1440
the  problem disappears. 

So at least in my case, the solution to the problem seems simple.

Sebastian Canagaratna.

> On Wed, 2 Dec 1998, Sebastian Canagaratna wrote:
> 
> >I am using Debian 2 Linux, installed recently. The new version
> >has superformat instead of fdformat. I am able to use superformat
> >to format  floppy disks ( superformat /dev/fd0 ) and use the
> >disks, but I am unable to mount the disk on the machine at home
> >( or vice versa ). The floppy drive controllers on the two machines
> >are different, I presume. But is this a bug, or do I have to
> >give some parameters when formatting? The floppy disks are 1.44 MB
> >high density, double sided.
> 
> This looks remarkably like a problem I see here (part of my job involves
> supporting a cople hundred PCs).
> 
> The problem is O/S independent. I suspect that you have floppy drives that
> are misaligned or have differnt timing or something (I can't tell you
> exactly what the problem is - it's not worth putting an oscilliscope on a
> AUD$26 floppy drive).
> 
> Solution: Just replace one or both drives - you'll have to experimment to
> see which one needs replacing (probably the home PC if the lab PC can read
> and write floppies to/from other PCs or vice versa).
> 
> Regards,
> 
> --
> David McDonaldtelephone: +61-2-9554-0346 (direct)
> Systems Support Analyst  +61-2-9554- (switch)
> Security Mailing Services04-1237-2284(mobile)
> 6 The Crescentfacsimile: +61-2-9554-0554
> P.O. Box 86   email: [EMAIL PROTECTED]
> KINGSGROVE  NSW  2208
> AUSTRALIA
> --
> 
> 


Re: suid script

1998-12-03 Thread Joey Hess
Brandon Mitchell wrote:
> > Scripts are not allowed to set UID, it's a security feature. I don't
> > know where this occurs, but it's pretty low level, perhaps in the
> > kernel itself or in the shell, and there's no getting around it. There 
> > are just too many holes that allowing scripts to be setuid root would
> > allow and so that capability is disallowed.
> 
> It's in bash (which is also sh on most linux systems), a pain in the a**,
> I mean, "feature".  I don't know of any other shells that do this.

No, it's in the kernel. Any executable that starts with "#!" does this,
because the kernel is repsonsible for that magic thing working.

-- 
see shy jo


Upgrading from Red Hat to Debian

1998-12-03 Thread Person, Roderick
Hey All,

Is there a way to install Debian 2.0 over an existing Red Hat 5.1 system
without destroying the /usr directory. Ideally I would just like to upgrade
not reinstall. Red Hat has a nice install, but too much bull. I have 240MB
HD and none of it is microsoft it all Linux now. My Debian is on floppy.

Any suggestions, comments
Thanks

Rod.


Re: sudo doesn't ask for passwd

1998-12-03 Thread Joey Hess
Alexander N. Benner wrote:
> I filed a bugreport on this a while ago, but I seem to be the only one with
> this problem :(
> 
> well ... I updated now to potato hoping it'll go away, but I had no luck.
> 
> ok what does actually happen in detail:
> 
> sudo -s throws me right into rootshell without prompting for a passwd.
> 
> I am in the sudo groop and /etc/sudoers is the standart deb-file.

This is quite normal, if you have used sudo a few minutes before and it
asked for a password.

-- 
see shy jo


Installation woes

1998-12-03 Thread Tom Anzalone
I had sent an earlier message regarding installation problems and 
did receive some messages back but was unable to read them. So 
I will try this again. (Thanks to everyone that did reply)   I have tried 
to install Debian numerous times on my machine:

P133, 128meg, 8.4 ide, 2.5 ide (install drive for Debian), and a 1 gb 
scsi drive, 40X cdrom ide, 144 floppy drive.  

I have installed Red Hat successfully on the 1 gb drive and I use 
system commander to boot between Windows 98 and Linux.  I 
installed the 2.5 gb drive to install Debian and partitioned it using 
dos in a 2 gb main and 500 mg swap.  I tried to install Debian off 
the CD (version 2.0.2) and was able to boot, partition and intialize 
the drive, pick the keyboard type but when I go to install the kernel 
the installation process says:

Starting to extract Rescue disk

Then it blows up and gives and error that extraction of the Rescue 
disk failed (there is a message in the background but the windowed 
message covers it) and that is that.  So I tried booting off a rescue 
floppy and then installing off the CD but the same error.  I then 
downloaded the disk set off the web.  Made a floppy disk 
installation set and tried it once again.  Guess what,  same place 
same error!  I would appreciate any help at this time.  I have 
checked the installation instructions numerous times thinking I 
missed something as well as checking this mailing list and web 
site for help.  I would really like to get this installed.  Thanks for 
any help.  

Tom Anzalone
[EMAIL PROTECTED]


Re: suid script

1998-12-03 Thread Brandon Mitchell
On 3 Dec 1998, Gary L. Hennigan wrote:

> Pere Camps <[EMAIL PROTECTED]> writes:
> | I want my users to be able to execute this script:

> | The problem is that these programs need root's privileges. I've
> | suid the script root:root but still the programs say I don't have he right
> | permisions to execute them.
> 
> Scripts are not allowed to set UID, it's a security feature. I don't
> know where this occurs, but it's pretty low level, perhaps in the
> kernel itself or in the shell, and there's no getting around it. There 
> are just too many holes that allowing scripts to be setuid root would
> allow and so that capability is disallowed.

It's in bash (which is also sh on most linux systems), a pain in the a**,
I mean, "feature".  I don't know of any other shells that do this.

> The only way around it is to write a C (or maybe Perl) program, have
> that program setuid root and have it call the script. Of course for
> what you're doing it might be just as easy to have the C program
> perform the operations itself using the system() call.

Instant root shell example in C:
int
main() {
setuid(0);
seteuid(0);
execl("/bin/sh", "-sh", 0);
}


> Either that or install the sudo package and learn how to use it. 

Probably the better solution.

Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |



Re: suid script

1998-12-03 Thread Ben Collins
On Thu, Dec 03, 1998 at 01:01:26PM +, Pere Camps wrote:
> Hi!
> 
>   I want my users to be able to execute this script:
> 
> #!/bin/bash
> /sbin/kbdrate -r 30 -d 250
> /etc/init.d/gpm stop
> /etc/init.d/gpm start
>  
>   The problem is that these programs need root's privileges. I've
> suid the script root:root but still the programs say I don't have he right
> permisions to execute them.

First off, chown'ing them root.root does not make them suid, that requires
chmod 4xxx or 2xxx (the first is suid, the second is sgid). I would
strongly suggest you now do this. Instead download either the sudo or (my
preference) super package and use them instead since they have much more
control and security than simply setting the scripts suid.

good luck

-- 
--- -  -   ---  -  - - ---   
Ben Collins <[EMAIL PROTECTED]>  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
-- -- - - - ---   --- -- The Choice of the GNU Generation


Re: suid script

1998-12-03 Thread dpk
On Thu, 3 Dec 1998, Pere Camps wrote:

   Hi!
   
I want my users to be able to execute this script:
   
   #!/bin/bash
   /sbin/kbdrate -r 30 -d 250
   /etc/init.d/gpm stop
   /etc/init.d/gpm start

The problem is that these programs need root's
   privileges. I've suid the script root:root but still the programs
   say I don't have he right permisions to execute them.
   
What's going wrong here?

A better/more secure way is to install the package 'sudo'.  Then you
can add the command to the /etc/sudoers file:

#= Give 'username' permission to execute 'mycommand' as root
username   ALL=/path/to/mycommand

Hope this helps!
Dennis
-- 
Dennis Kelly <[EMAIL PROTECTED]>
Network Adminstrator
College of Engineering, MSU
353-4844 (phone)
222-5875 (pager)


Re: suid script

1998-12-03 Thread Gary L. Hennigan
Pere Camps <[EMAIL PROTECTED]> writes:
| Hi!
| 
|   I want my users to be able to execute this script:
| 
| #!/bin/bash
| /sbin/kbdrate -r 30 -d 250
| /etc/init.d/gpm stop
| /etc/init.d/gpm start
|  
|   The problem is that these programs need root's privileges. I've
| suid the script root:root but still the programs say I don't have he right
| permisions to execute them.
| 
|   What's going wrong here?

Scripts are not allowed to set UID, it's a security feature. I don't
know where this occurs, but it's pretty low level, perhaps in the
kernel itself or in the shell, and there's no getting around it. There 
are just too many holes that allowing scripts to be setuid root would
allow and so that capability is disallowed.

The only way around it is to write a C (or maybe Perl) program, have
that program setuid root and have it call the script. Of course for
what you're doing it might be just as easy to have the C program
perform the operations itself using the system() call. Either that or
install the sudo package and learn how to use it.

Gary


Remote backup

1998-12-03 Thread Stef Hoesli Wiederwald
I want to make a backup from one machine directly into a tar file on
another machine. How could I do that? I'm thinking about something
like: tar -c / | rcp ...

Stef


Re: Installing .deb pkgs on other Linuxes?

1998-12-03 Thread Joey Hess
George Bonser wrote:
> Alien can convert .deb packages to .rpm or you can install dpkg on the Red
> Hat system. Be careful if you do this because rpm and dpkg will be unaware
> of each other and one could clobber the other if you remove packages.

Hm, that's not accurate. Once a package is converted to your native package
format with alien, your native package manager is aware of it. That's the
point of converting the package.

(BTW, did you get to SVLUG, George?)

-- 
see shy jo


kde and jpeglib6a

1998-12-03 Thread Patrick Colbeck
Reply-To: 
Hi

I am trying to install kde on debian 2.0. When configuring kdelibs it returns
an error "Tou need jpeglib6a. Please install the kdesupport package"

kdesupport is just a collection of standard libraries not anything specific to
kde so I would rather use .debs to install these. I have installed 

libjpeg-progs_6a-11.deb
libjpegg6a_6a-11.deb
libjpegg-dev_6a-11.deb

I presume these are the libraries its looking for but it still doesn't pick
them up.

Any ideas ?

Pat

-- 
-
Patrick Colbeck
Senior Technical Analyst
_
Azlan Ltd   Tel:+44 (0)1904 691997
Lion House  Fax:+44 (0)1904 692112   
4 Pioneer Business Park 
Clifton MoorEmail:[EMAIL PROTECTED]
York
England
YO3 4TN
_ 


suid script

1998-12-03 Thread Pere Camps
Hi!

I want my users to be able to execute this script:

#!/bin/bash
/sbin/kbdrate -r 30 -d 250
/etc/init.d/gpm stop
/etc/init.d/gpm start
 
The problem is that these programs need root's privileges. I've
suid the script root:root but still the programs say I don't have he right
permisions to execute them.

What's going wrong here?

TIA!

Salutacions, Pere     __oUltima Ratio Regum
  2:343/108.91   -  _`\<;_mailto:[EMAIL PROTECTED]
PGP key available ---  (_)/ (_)  http://casal.upc.es/~pere/


Re: masq server hardware req's

1998-12-03 Thread Steve Lamb
On Fri, Dec 04, 1998 at 12:06:10AM +1300, Michael Beattie wrote:
> Sorry for the dig, but "Only in America"

America has nothing to do with it.  Only in the net-idiot land of
Gatesville and Windowstown.

-- 
 Steve C. Lamb | Opinions expressed by me are not my
http://www.calweb.com/~morpheus| employer's.  They hired me for my
 ICQ: 5107343  | skills and labor, not my opinions!
---+-

pgp95lrAaJigr.pgp
Description: PGP signature


Re: masq server hardware req's

1998-12-03 Thread Steve Lamb
On Wed, Dec 02, 1998 at 10:59:35PM -0800, George Bonser wrote:
> That P166 with 64MB is severe overkill for a mail/DNS/firewall. You don't
> need anywhere near that kind of CPU. Most of your time is going to be
> spent waiting for the next network packet.

Do I hear idle CPU time?  Do I hear rc5des?  :)

-- 
 Steve C. Lamb | Opinions expressed by me are not my
http://www.calweb.com/~morpheus| employer's.  They hired me for my
 ICQ: 5107343  | skills and labor, not my opinions!
---+-

pgp57I2dP7mWC.pgp
Description: PGP signature


Re: upgrading to slink

1998-12-03 Thread J.H.M. Dassen \(Ray\)
On Thu, Dec 03, 1998 at 06:10:44 -0500, David Randall wrote:
> Here are the broken packages:
> size  broken  Next "unbroken" release
> 93182 libstdc++2.8_2.90.29-1.deb  ???

libstdc++2.8_2.90.29-2, which should be on most mirrors by now has been
recompiled with the fixed libc6.

> 95086 libstdc++2.9_2.91.58-5.deb  libstdc++2.9_2.91.59-1.deb

-1 never made it out of Incoming; libstdc++2.9_2.91.59-2 is starting to
appear on the mirrors now.

Ray
-- 
Obsig: developing a new sig


Unused libs for deletion?

1998-12-03 Thread Gunnar . Isaksson
Is there some script I can use to find out which installed packages
aren't used by other packages.

It's about time for me to get rid of all the unused libraries that has
been installed when testing various games and other stuff.

I need some simple way to list all such deletion candidates. Is there
a script for this somewhere?


//Gunnar Isaksson
--


Re: Understanding /root Re: My solution

1998-12-03 Thread Oliver Elphick
"Michael Wahl" wrote:
  > I decided to partition my hard disk into:
  > /boot   50MB
  > /home   50MB (maybe more)
  > /root   50MB
  > /var150MB (maybe more)
  > /usr700MB
  > /etc50MB
  > /swap   128MB
  > /dos200MB
  > /tmp50MB
  > -
  > Sum.1428MB  -> rest: 270MB for ???

You seem to be confused about the role of partitions.  Having this many
would waste a lot of disk space, which would be tied up in underused
partitions and not available to heavily used ones.  You don't have
enough space to spare to do it this way.

The benefit of separate partitions is that the chance of loss of data
due to filesystem corruption is reduced and its scope limited; the cost
is the increased rigidity of the system.

You need a root partition (which is /); normally this would contain
/boot,
/root, /etc and possibly /tmp.  In fact, it MUST contain /etc and /root
or you won't be able to start your machine -- only the root (/)
partition
itself is available before you go multi-user and mount the other
filesystems.

I suggest the following Linux partitions:
/150Mb
/var 120Mb
/usr1300Mb

or
/210Mb
/usr1360Mb

and one swap partition:
swap128Mb

Make /home a symbolic link to /usr/home (my home directory takes as much
space as anything else on my machine, so it needs to go on a large
partition).

You haven't got room on this disk for all those Windows programs as well
as
a decent Linux.  If you need that, buy an extra disk.

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 "What shall we then say to these things? If God be for 
  us, who can be against us?"  Romans 8:31


Win95 -> ghostscript (font problem)

1998-12-03 Thread Jiri Baum
Hello,

I wrote:
> I want to print from Win95 apps (Word97) into GhostScript, and thence into
> mgetty+sendfax. What would be the best printer driver to use in Win95, please?

and someone suggested I download the driver from the Adobe site. I did that,
but now I have a new problem: if I tell the driver to use TrueType fonts,
ghostscript aborts with the message below. (It works OK if I tell it to use
PostScript fonts.)

The driver is Version 4.2.4 (171) set to "Archive" Postscript, send TT fonts
as Outline whenever they are over 0 pixels in size, send PostScript fonts in
Native format. Not sure what else is relevant...

The error message is:

%%[ ProductName: Aladdin Ghostscript ]%%
Error: /invalidfont in -dict-
Operand stack:
   MSTT31f85e1d0do048018S00   --dict:9/15--   MSTT31f85e1d0do048018S00
Execution stack:
   %interp_exit   --nostringval--   --nostringval--   --nostringval--   false
--nostringval--   --nostringval--   --nostringval--   --nostringval--   false
--nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:601/631--   --dict:0/20--   --dict:46/200--   --dict:13/13--
--dict:46/200--   --dict:278/377--   --dict:10/230--   --dict:601/631--
--dict:14/21--
Current allocation mode is local
Current file position is 35134


What am I missing, please?

Jiri <[EMAIL PROTECTED]>


sudo doesn't ask for passwd

1998-12-03 Thread Alexander N. Benner
hi

I filed a bugreport on this a while ago, but I seem to be the only one with
this problem :(

well ... I updated now to potato hoping it'll go away, but I had no luck.

ok what does actually happen in detail:

sudo -s throws me right into rootshell without prompting for a passwd.

I am in the sudo groop and /etc/sudoers is the standart deb-file.

Greetings

-- 
Alexander N. Benner  -  The Seven Promises of a Promise Keeper:  -4-

A Promise Keeper is committed to building strong marriages and families
through love, protection, and biblical values.


Re: Interesting Problem (PCMCIA ethernet and modem)

1998-12-03 Thread wb2oyc
>> After some struggles I was able to install a PCMCIA ethernet card. It is
>> working wonderfully. Unfortunately intslling it affected my modem card.
>> Now when I dial using the modem it makes a connection but I can no longer
>> telnet of ping outside. I changed my /etc/init.d/networks file to the old
>> one without eth0 but it did not help. Any ideas?
>
Check your /etc/pcmcia/config filethere you may need to exclude IRQs
or ports to use.  You may have cardmgr setting your modem to, and using
an IRQ that is being used by other hardware, especially if you have sound
and/or other devices in the machine.  In that file you can tell cardmgr
what IRQs to use, or not use, to avoid that.  You can't specify what it
will use if an when it detects a serial port (modem) but you can juggle
them to avoid conflicts.  If its not already being used, enable it to 
use IRQ 5 and see if that doesn't help you out.

paul


Re: Understanding /root Re: My solution

1998-12-03 Thread Joseph Hartmann
I have run linux for years with just a linux native partition as
big as I can make it, and a linux swap (= 2x my ram size) with no
problem.  I believe your approach is some kind of "protection"
for runaway events, but in four years I have had no such event.
I think the partitioning is not necessary, and I think it may
have bad side effects (like wasting disk resources).  This is
just my opinion.

joeh


Re: Understanding /root Re: My solution

1998-12-03 Thread Michael Beattie
On Thu, 3 Dec 1998, Michael Wahl wrote:

[snip]
>   I decided to partition my hard disk into:
>   /boot   50MB

about 2-3 would have done. I left mine on / . The main reason you'd
separate it is to have it under the 540MB limit/1024 Cylinder limit on
some old BIOS's.

>   /home   50MB (maybe more)

More would be an advantage

>   /root   50MB

leave it on the / partition. its not likely you'll have root using a lot
of space in his/her home dir.

>   /var150MB (maybe more)

I think that would be about right.

>   /usr700MB

Yep.

>   /etc50MB

Leave this on / too... files in it are needed for boot, and for mounting
partitions. Chicken and Egg. Go figure.

>   /swap   128MB

Yep.

>   /dos200MB

?? What for?

>   /tmp50MB

I'd leave it on /

>   -
>   Sum.1428MB  -> rest: 270MB for ???

/home or /usr

Mine is so:

/   - 200MB
/usr- 800MB

works like a charm.

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
   A feature is a bug with seniority.
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: upgrading to slink

1998-12-03 Thread David Randall


On Wed, 2 Dec 1998, E.L. Meijer (Eric) wrote:

> > 
> > I see no upgrade notes for slink.
> 
> That's right, it is not released yet.
> 
> > For hamm, these upgrade notes reside in 
> >.../hamm/hamm/upgrade-i386/README-upgrade
> > Usually, I just use dpkg to install whatever packages I want from the
> > upgrade distribution.  For example, I might install a newer gimp from slink.
> > Since I wouldn't have upgraded the base packages, I learned that using
> > dpkg prematurely can cause little problems.
> > Upgrading from rex to bo: I EVENTUALLY HAD TO REINSTALL FROM SCRATCH.
> 
> I did this, without problems, but only after bo had been released.
> 
> > Upgrading from bo to hamm: I EVENTUALLY HAD TO REINSTALL FROM SCRATCH.
> 
> I did this too, and had to fix some bugs in the upgrade script by
> hand, but eventually succeeded.  I agree that this upgrade procedure was
> by no means easy for someone without more extensive debian/unix
> knowledge.
> 

I chose to install from scratch because I had a good idea of how Debian
Linux worked and wanted to change some things; partitions mainly, moved HD
to another computer. 

> > Upgrading from hamm to slink: WHAT CAN I EXPECT.
> 
> If you had trouble upgrading before, and could not fix it yourself or
> with help from this list THEN DONT TRY TO UPGRADE TO AN UNSTABLE/FROZEN
> DISTRIBUTION.
> 

I started to download the slink distribution and install parts as I
downloaded them. There were some dependency problems, but mainly a problem
with libstdc++2.* packages. I thought installing other packages would
work, but it only made the matters worse. There are  other e-mails
in this list about "libstdc++ : __register_frame_info" breaking many
packages. Since I have Netscape that uses the old 2.8 libs, I installed
both 2.8 and 2.9 packages. Both had problems. After ftp'ing older
packages, I had to dpkg --install both since dselect was broken!

Moral of the story...
If you are new and can't work around problems, then wait until it becomes
stable.

Here are the broken packages:
size  broken  Next "unbroken" release
93182 libstdc++2.8_2.90.29-1.deb  ???
95086 libstdc++2.9_2.91.58-5.deb  libstdc++2.9_2.91.59-1.deb

If you look on the bug list, there is a write-up from the
maintainer. If you have a problem, check the bug list and see if it's been
reported. If not, then report it.

> > With no instructions, I certainly will not use raw dpkg to add packages
> > from slink to my current hamm distribution --
> > unless of course "dependencies" prevent this (do they now?).

dselect works fine for me, except when it doesn't work. Then I had to use
dpkg. 

> 
> Dependencies do not protect you from broken packages.  Slink has not
> been announced as being stable, so it is known to contain broken
> packages.  In other words: upgrade now and be assured of getting some
> broken packages (well, almost assured).  I think if there is no real
> compelling reason to upgrade, it is best to wait for slink to be
> released, and then wait a little longer after that and watch this list
> carefully to see what problems could be expected.  And please don't
> shout on this list, we're all fellow users and volunteers.
> 
> HTH,
> Eric, who is typing this on a bo system, since it is perfectly capable
> of what he needs it for.
> 
> 
> -- 
>  E.L. Meijer ([EMAIL PROTECTED])  | tel. office +31 40 2472189
>  Eindhoven Univ. of Technology | tel. lab.   +31 40 2475032
>  Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054
> 



Re: masq server hardware req's

1998-12-03 Thread Michael Beattie
On Wed, 2 Dec 1998, George Bonser wrote:

> modem or something ... no problem. Your concern is going to be with disk
> space. If users leave their pop3 mail in the server, mail files can grow
> quite large. This is particularly true at Christmastime here in the US
> where Windows users have a fondness for sending emails with >50MB
> movies attached of Santa and his deer dancing around.

Sorry for the dig, but "Only in America"


   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with "pgpkey" as subject.
 -
There is no snooze button on a cat who wants breakfast.
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: Understanding /root Re: My solution

1998-12-03 Thread E.L. Meijer \(Eric\)
> 
> So,  I make a guess:
> 
> For my first time installation:
>   1.7GB hard disk, 98MB RAM
> 
>   
>   -NT40, Win95 (I’m not sure about this)
> -Staroffice
>   -ME10, ProE (CAD Software)
>   -Excel
>   -Neoplanet (Net Browser)
>   -CorelDraw7
>   -Some Games (WingCommander, Forsakken)
>   -other stuff (collecting pictures)
> 
>   I decided to partition my hard disk into:
>   /boot   50MB
>   /home   50MB (maybe more)
>   /root   50MB
>   /var150MB (maybe more)
>   /usr700MB
>   /etc50MB
>   /swap   128MB
>   /dos200MB
>   /tmp50MB
>   -
>   Sum.1428MB  -> rest: 270MB for ???
> 
> Would this be a good idea? Any criticism welcome!!!
> 

I think your hard disk is rather small to contain both Windows and
linux, especially if all these applications you mention are Windows
apps.  To make optimum use of the disk it is a bad idea to have a lot
of partitions, because each one will leave you with a rest space that
would be more useful if it combined with the free space on the other
partitions.  My suggestion would be something like

/dos:  800 MB
/swap: 128 MB
/: rest

Remember you can write stuff on a vfat partition (Windows) from linux
easily.  On the other hand you cannot use the linux partitions from
windows, so you may want to make /dos even bigger for more flexibility.
You only really need a /boot partition if your disk has more than 1024
(1023?) cylinders in LBA mode.  If it doesn't, you don't need it.  If it
does, but you put Windows 9x on the computer, you can use loadlin
instead of lilo and you don't need a separate /boot either.

HTH,
Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])  | tel. office +31 40 2472189
 Eindhoven Univ. of Technology | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054


Re: Understanding /root Re: My solution

1998-12-03 Thread Erik Maxwell
At 02:10 AM 12/3/98 PST, Michael Wahl wrote:
>So,  I make a guess:
>
>For my first time installation:
>   1.7GB hard disk, 98MB RAM
>
>   
>   -NT40, Win95 (I’m not sure about this)
>-Staroffice
>   -ME10, ProE (CAD Software)
>   -Excel
>   -Neoplanet (Net Browser)
>   -CorelDraw7
>   -Some Games (WingCommander, Forsakken)
>   -other stuff (collecting pictures)
>
>   I decided to partition my hard disk into:
>   /boot   50MB
>   /home   50MB (maybe more)
>   /root   50MB
>   /var150MB (maybe more)
>   /usr700MB
>   /etc50MB
>   /swap   128MB
>   /dos200MB
>   /tmp50MB
>   -
>   Sum.1428MB  -> rest: 270MB for ???
>
>Would this be a good idea? Any criticism welcome!!!


First, I'm assuming that /dos is going to be where you install NT40/Win95?

if this is correct, then you definitely need to rethink that partition.
Win95 will take ~120MB to install just the OS.  NT40 takes even more.  If
you're going to have any applications at all for Windows, you'll need even
more space.

Next,  you don't need to make separate partitions for /etc or /boot.  If
you want to make a separate directory for /tmp, 50MB is probably plenty there.

here's how I would probably chunk this disk up:

/dos500MB  (maybe less depending how many Win apps 
you want)
 (I wouldn't go less than 350MB 
considering it's Windows)
/usr/local  300MB  (do this for local programs that won't 
change with
upgrades)
/home   100MB  (this depends on # users, amt. stuff 
they'll have)
/tmp50MB   
/swap   128MB
/   Rest

With Debian, most of the stuff you install will be in .deb format.  These
packages have specific locations where they install the software (not
usually in /usr/local) so the software is system software (not local
software) so you'll probably want a pretty big / partition.  Depending on
how much you plan to compile and install yourself (without using .deb's)
you can shrink or grow /usr/local accordingly.  

Actually, if you're only using one disk, you can get by with 3 partitions:

/dos500MB
/swap   128MB
/   REST

On a single physical disk, you don't gain anything by making a bunch of
partitions (although you get to know mount and /etc/fstab)--if your disk
crashes, you lose everything anyway and you don't gain any speed since
there's only one I/O path for the data.

Usually, when you see a system with a bunch of mount points, it's because
there's more than one disk.  Using 4 2GB drives is better than one 8GB
drive because:

1.  if one drive goes down, you only lose the data on that one drive, 
not the other 3.
2.  there are 4 I/O paths for data (i.e. you can read from more than one
disk 
simultaneously) which reduces I/O wait times and speeds up the 
system.



Hope this help you out.
Erik





  1   2   >