Linux-Misc Digest #635, Volume #21 Wed, 1 Sep 99 21:13:08 EDT
Contents:
Re: new user? (Spike!)
Re: Dancing the Samba with WP and an Epson Stylus Color (Rod Smith)
Re: home directory as root for users (M. Buchenrieder)
Re: A REAL Linux for free (William Burrow)
Re: SENDMAIL from my Windowsbox thru Linuxbox... (George Vlahoulis)
Re: scheduler (George Vlahoulis)
Re: scheduler (George Vlahoulis)
Re: About gmake? (Paul Kimoto)
Re: Dump Problem (Scott Marlowe)
Re: Errors when compiling 2.2.12 (Bob Martin)
Information Needed (Leo Cambilargiu)
Re: Remote printing from DGUX to Linux ("Kevin Williams")
Re: File change monitor for Unix? (Raymond N Shwake)
Unable to print (Jim McIntyre)
RH on Intel CA810 motherboard? ([EMAIL PROTECTED])
Add Linux to OS/2 boot manager (Howard Brazee)
Re: slocate.cron and cron weekly errors Mandrake 6.0 (Dr Vincent C Jones PE)
----------------------------------------------------------------------------
From: Spike! <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: new user?
Date: Wed, 1 Sep 1999 02:48:37 +0100
And verily, didst Will Snyder <[EMAIL PROTECTED]> eloquently scribe:
> How do I create a new user in SuSe 6.1? (adduser didn't work, and I am
> using bash)
YaST -> system administration -> user administration
It's simple.
If you want to do it manually, the command is useradd...
--
| |What to do if you find yourself stuck in a crack|
| [EMAIL PROTECTED] |in the ground beneath a giant boulder, which you|
| |can't move, with no hope of rescue. |
| Andrew Halliwell BSc |Consider how lucky you are that life has been |
| in |good to you so far... |
| Computer Science | -The BOOK, Hitch-hiker's guide to the galaxy.|
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!| Space for hire |
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Dancing the Samba with WP and an Epson Stylus Color
Date: Wed, 01 Sep 1999 19:13:19 GMT
[Posted and mailed]
In article <7qjp1s$ddv$[EMAIL PROTECTED]>,
NoMadis<[EMAIL PROTECTED]> writes:
> Hi,
>
> The trusty old HPDeskjet 510 died, and a new printer had to be set up on
> the network: and someone conned me in buying a Epson Stylus Color 640.
> It plugs in a printserver running Debian 2.1 with Samba 2.05.
...
> And so the question is:
> 1.how to set up WP8 for linux in such a way that it actually *will*
> print something usefull, instead of spewing endless pages of garbage
> or simply hanging?
> 2. What do i have to add to my printcap file, so that the printer will
> release the paper after finishing with the last line when printing
> textfiles?
See my web page on fonts & printers in WP for Linux:
http://members.bellatlantic.net/~smithrod/wpfonts.html
I recommend setting up an appropriate Linux queue that includes a smart
filter for processing PostScript through Ghostscript. You can then print
using any of several PostScript drivers in both WP and from your NT box.
--
Rod Smith
[EMAIL PROTECTED]
http://members.bellatlantic.net/~smithrod
Author of _Special Edition Using Corel WordPerfect 8 for Linux_, from Que
------------------------------
Crossposted-To: alt.comp.linux.isp,comp.unix.admin
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: home directory as root for users
Date: Wed, 1 Sep 1999 16:46:49 GMT
"Brian Cash" <[EMAIL PROTECTED]> writes:
[...]
>Thanks for responding Dan, as I said, brute force experimentation... Any
>ideas where I would find a restricted shell for Linux?
You do already have it.
>The functionality
>does not appear to be built-in.
Yes, it is.
>I've tried searching for it at a few
>"comprehensive" linux sites, but no luck. More leads or specifics? Thanks
>in advance.
Try
"rbash" or "bash -r" . See "man bash" for details. Note: If this doesn't
work, then you'll have to take the bash sources and recompile it with the
-DHAVE_RESTRICTED option set (or something like that; it's been years
since I had to do it).
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: [EMAIL PROTECTED] (William Burrow)
Subject: Re: A REAL Linux for free
Date: 1 Sep 1999 23:03:42 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 01 Sep 1999 18:21:04 -0400,
Assad Khan <[EMAIL PROTECTED]> wrote:
>1). Get a life, lewser
>2). Get the hell out of a Linux newsgroup and join a alt.kids.freaks
>3). Solaris does NOT run the majority of Web servers, and isn't free
>4). Solaris sucks, Linux ownz
>5). SOLARIS'S FREE IS NOT THE SAME AS LINUX'S FREE AND SOLARIS IS ONLY FOR
>NON-COMMERCIAL USE! SO GET A LIFE BITCH!
Temper, temper. No use losing one's composure over a spammer.
--
William Burrow -- New Brunswick, Canada o
Copyright 1999 William Burrow ~ /\
~ ()>()
------------------------------
From: [EMAIL PROTECTED] (George Vlahoulis)
Subject: Re: SENDMAIL from my Windowsbox thru Linuxbox...
Date: 1 Sep 1999 12:39:57 GMT
On Wed, 01 Sep 1999 04:35:32 GMT, MoPar <[EMAIL PROTECTED]> wrote:
>When I try to send an emai lfrom my windows98 machine, it says "relaying
>denied", why is that and what can I do to get rid of it?
>
Your version of sendmail has been setup so that others cannot use you linux
box to send messages as if they originated from your box. This is typical
of SPAMMERS.
You will need to reconfigure sendmail to disable that I think. I cant
Help you there as I am not
familiar with it. There are other alternatives which are simpler and more
secure than sendmail, though less powerfull. qmail is one example.
>Also, I try to make my "D" drive on my windows machine avaliable by mounting
>it under /filez on my linuxbox (for FTP purposes) this fails and all I get
>is "connection to JOHN failed" (JOHN is the server/Windowsbox that has the
>'D' drive).
>
>I think the command was something like "smbmount -L //john/d 'mount
>/filez'" or something.
>
>Please be descriptive in your reply because I am very much a novice with
>Linux.
>
>THanks
>
The command would be
smbmount "\\jon\d" -c 'mount /mnt -u 123 -g 456'
the -u option specifies the user id that it will mounted with
the -g option specifies the group id "
the -u and -g options I believe are optional.
check the man page for smbmount for details.
>I can't smbmount -L john it doesn't show my PC, I can however see it
>through my roommates PC by typing smbmount -L Roomate
>and then my machine (john) shows up)
You mean smbclient -L john right? Can you ping john? ie
#ping john
PING john (172.16.1.5): 56 data bytes
64 bytes from 172.16.1.5: icmp_seq=0 ttl=32 time=0.8 ms
64 bytes from 172.16.1.5: icmp_seq=1 ttl=32 time=0.7 ms
If you dont get something like that then network connectivity is the
problem.
cheers
gv
------------------------------
From: [EMAIL PROTECTED] (George Vlahoulis)
Subject: Re: scheduler
Date: 1 Sep 1999 12:23:54 GMT
On Tue, 31 Aug 1999 18:33:09 -0700, Surya P Kommareddy <[EMAIL PROTECTED]>
wrote:
>Hi,
> I am beginning to program modules under Linux (version 2.0.36). I would
>like to know some pointers to information on the scheduling implimentation
>inside the Linux kernel and the function calls available for assigning
>priorities etc. Also please inform me how to assign real-time priority to a
>process and how these real-time processes are scheduled by the kernel. Any
>help is appreciated.
>
>Thanks in anticipation.
>Surya.
>
>
comp.os.linux.misc is not REALLY the place for programming questions.
I'm sure that there are better suited groups for your question.
gv
------------------------------
From: [EMAIL PROTECTED] (George Vlahoulis)
Subject: Re: scheduler
Date: 1 Sep 1999 12:21:16 GMT
On Tue, 31 Aug 1999 18:33:09 -0700, Surya P Kommareddy <[EMAIL PROTECTED]>
wrote:
>Hi,
> I am beginning to program modules under Linux (version 2.0.36). I would
>like to know some pointers to information on the scheduling implimentation
>inside the Linux kernel and the function calls available for assigning
>priorities etc. Also please inform me how to assign real-time priority to a
>process and how these real-time processes are scheduled by the kernel. Any
>help is appreciated.
>
>Thanks in anticipation.
>Surya.
>
>
comp.os.linux.misc is not REALLY the place for programming questions.
I'm sure that there are better suited groups for your question.
gv
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: About gmake?
Date: 1 Sep 1999 01:28:31 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Dong-Gyu Park wrote:
> I want to install new software but it needs gmake.
> Is it same to "GNU make"?
On some systems, GNU make is installed as "gmake" (by analogy with
"gawk", "gcc", ...). This does not happen on Linux systems, where
GNU make is the standard system "make".
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: Scott Marlowe <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.admin,comp.os.linux.help
Subject: Re: Dump Problem
Date: Wed, 01 Sep 1999 07:10:21 -0600
"Richard A. Kurnik" wrote:
> I'm running Slackware Linux. I'm having problems with dump. When I run it
> it gives me:
>
> "DUMP: error reading command pipe: Interrupted system call"
Do you have a newer version of dump? It now does not use the - symbol for
switches. your command would be:
/sbin/dump 0fubds /dev/nst0 126 6100 400000 /
instead of:
/sbin/dump -0fubds /dev/nst0 126 6100 400000 /
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: Errors when compiling 2.2.12
Date: Wed, 01 Sep 1999 23:54:28 +0000
Stephen Thomas wrote:
>
> I just installed the 2.2.11 and 2.2.12 patch. When I compile it I get the
> following errors:
>
> make[3]: Entering directory '/usr/src/linux-2.2.2.SuSe/drivers/char'
> make[3]: *** No rule to make target 'pc_keyb.h', needed by 'pc_keyb.o'.
> Stop.
> make[3]: Leaving directory '/usr/src/linux-2.2.2.SuSe/drivers/char'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory '/usr/src/linux-2.2.2.SuSe/drivers/char'
> make[1]: *** [_subdir_char] Error 2
> make[1]: Leaving directory '/usr/src/linux-2.2.2.SuSe/drivers'
> make: *** [_dir_drivers] Error 2
>
> Anyone have any ideas?
>
Your kernel is 2.2.2 and you installed patch 2.2.11 and 2.2.12 ? what
about patches 2.2.3 - 2.2.10 ? did you install those as well ? all
patches have to be installed in sequence to bring you up to the current
level.
I would also start with a stock kernel as I have no idea if suse tweaked
anything in the version the ship.
------------------------------
From: Leo Cambilargiu <[EMAIL PROTECTED]>
Subject: Information Needed
Date: Thu, 2 Sep 1999 09:43:37 +1000
Hello everyone:
I have tried installing a circuit analysis package called chipmunk. It
seems I don't have a library => libX11.so.3 <= (perhaps not exactly but
very close).
As a newbie, I understand this problem, which has me stuck in several
fronts at the moment (also with enlightenment), to mean I have a weak
understanding of the purpose and uses of a library.
Can someone do me the immense favor of explaining the theory behind
libraries? How you use is, what uses it, and what the HELL is meant by
libX11.so.3
Also, I have an interesting idea which I would like to circulate here. It
occured to me that for a computer literate person, learning linux is NOT a
big challenge. But what I found hard was figuring out what everything
was. In order to solve a problem like configure the PPP deamon to dial my
ISP and connect to it, you read the HOWTO's and references to things you
don't even know come up. So you type 'man chat' and a little light is
shed about how it works. But some things are too ambigious (like man
pppd) for a newbie who is learning by himself.
I must admit, it felt good to finally get it working. The thing is, I
might call it a hack, but all the variation originated from the original
way my ISP presents the login. So in effect, I didn't hack anything, just
learned how to use a program or two.
Anyway, better stop using bandwidth. Thanks for the help.
Leo Cambilargiu
------------------------------
From: "Kevin Williams" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Remote printing from DGUX to Linux
Date: Thu, 2 Sep 1999 12:33:17 +1200
Thanks,
Having the same username on both machines was the key.
Kevin
<[EMAIL PROTECTED]> wrote in message news:7qj4c8$dak$[EMAIL PROTECTED]...
> Hi Kevin.
>
> I dunno if what Allen Wong suggested worked for you, but I sat with that
same
> problem for like 3 days. Bummer. But, I got it right, and yes it was a
> bastard.
>
> What happens if you do a "lpq" on that printer? Something like waiting for
> connection to "your machine"? If it does, this is what I had to do to get
it
> right.
>
> 1) Create the user (with same password) on your linux box that you're
using
> on the DGUX box. 2) Don't forget the bleeding /etc/hosts.lpd file and the
> allowed ip's to lpd on your linux box (which you've accomplished
already).
>
> The above assumes of course that you've printed on that printer before and
it
> works (lpr on your linux box). This worked for me, and I'm smiling. Gained
a
> lot (time question).
>
> Hope it helps
> Ricardo
>
> In article <[EMAIL PROTECTED]>,
> "Kevin Williams" <[EMAIL PROTECTED]> wrote:
> > Hi There
> >
> > I am trying to print to a printer attached to the parallel port on a
linux
> > machine from a DGUX machine.
> > The print job is not leaving the DGUX machine and getting to print queue
on
> > the linux machine. I have the DGUX machine name in both the hosts.equiv
and
> > the hosts.lpd
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Raymond N Shwake)
Crossposted-To: comp.unix.bsd.misc
Subject: Re: File change monitor for Unix?
Date: Wed, 1 Sep 1999 23:02:32 GMT
[EMAIL PROTECTED] (William Burrow) writes:
>On Wed, 01 Sep 1999 05:06:55 GMT,
>Lucius Chiaraviglio <[EMAIL PROTECTED]> wrote:
>> Does anyone know of a utility for any Linux and/or *BSD (or
>>for that matter, any other Unix) which will log all file changes
>>(creations, modifications, deletions, and moves/renames) on a system?
You'll often find such monitoring as part of an enhanced "audit"
package. Most SVr4 boxes I've worked with have such an option (e.g. NCR's
MP-RAS, SCO UnixWare, Pyramid DC/OSx). They're often intended to support
C2 or better functionality, and - if you're not circumspect in what you
choose to audit - will generate more data than you can deal with.
>Try tripwire. It is ancient and unsupported, unfortunately. Also,
>OpenBSD comes with an app that monitors the filesystem regularly, it
>seems to be a large shell script.
>{snip wish list}
------------------------------
From: Jim McIntyre <[EMAIL PROTECTED]>
Subject: Unable to print
Date: Wed, 01 Sep 1999 20:02:16 GMT
I added a user to my system today, so I wouldn't have to work as root
anymore. After creating the user, I lost all printing functions. I am
able to print in Star Office, and other apps that use a GUI print setup,
but if I try a command like "cat .bashrc | lpr", I get nothing. In Star
office, I have to set up a new printer and print queue, so my problem is
queue related. However, the command doesn't recognize this queue (lp0),
or the standard queue (lp). Any advice is appreciated.
Jim McIntyre
------------------------------
From: [EMAIL PROTECTED]
Subject: RH on Intel CA810 motherboard?
Date: Wed, 01 Sep 1999 20:02:57 GMT
RH 6.0 run on an Intel CA810 motherboard OK?
Thanks,
John
--
John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602, whois '!JC154'
[EMAIL PROTECTED], http://www2.inow.com/~conover/john.html
------------------------------
Date: Tue, 31 Aug 1999 18:14:50 -0600
From: Howard Brazee <[EMAIL PROTECTED]>
Subject: Add Linux to OS/2 boot manager
I have a computer with Warp on G: & H:. I wish to install Linux on G:
and continue to use the boot manager.
What must I do?
(I have Slackware 3.5 which came with the book THE LINUX NETWORK). My
long term goal is to be ready when broadband internet access comes to my
new home, with a gateway and LAN for my wife and myself).
------------------------------
Subject: Re: slocate.cron and cron weekly errors Mandrake 6.0
Reply-To: Dr Vincent C Jones PE <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED] (Dr Vincent C Jones PE)
Date: Wed, 25 Aug 1999 14:33:15 -0400
I consider it a bug, along with several others I've found in my first
week of getting it up and running.
the line
[ -e /usr/bin/updatedb ] && { sh /usr/bin/updatedb } || { /usr/bin/slocate -u -e /tmp
-e "/var/tmp,/usr/tmp,/afs,/net,/proc" }
should read
[ -e /usr/bin/updatedb ] && { sh /usr/bin/updatedb ; } || { /usr/bin/slocate -u -e
/tmp -e "/var/tmp,/usr/tmp,/afs,/net,/proc" ; }
Note the added semicolons before each close curly brace.
I also had to fix
-- /etc/init.d/apmd to recognize UTC=yes as well as UTC=true for using
a HW clock in UTC/GMT.
-- deleted /etc/inputrc so that set -o vi would work.
-- modified .Xmodmap so that the backspace key would be somewhat
reasonable (although I still have not gotten back the use of
"alt-arrows" in Netscape).
In all, a very frustrating week for what should have been a simple
upgrade. I guess you get what you pay for.
Also: I upgraded to standard 2.2.11 to get some thinkpad fixes, and find
that in the process I've lost the ability to run the nfs server deamon.
Anyone know what's going on there or if there is a Mandrake FAQ or HOWTO
anywhere?
--
Dr. Vincent C. Jones, PE Expert advice and a helping hand
Computer Network Consultant for those who want to manage and
Networking Unlimited, Inc. control their networking destiny
14 Dogwood Lane, Tenafly, NJ
http://www.networkingunlimited.com
[EMAIL PROTECTED] +1 201 568-7810 Fax: +1 201 568-6626
In article <[EMAIL PROTECTED]>,
Warren Bell <[EMAIL PROTECTED]> wrote:
>I installed Mandrake 6.0 recently and am getting some major errors from
>cron. I'm getting something from cron.daily that says:
>
>##########
>/etc/cron.daily/slocate.cron: line 6: syntax error: unexpected end of
>file
>
>Here is my slocate.cron file:
>
>###########
>#!/bin/sh
>
>[ -e /usr/bin/updatedb ] && { sh /usr/bin/updatedb } || {
> /usr/bin/slocate -u -e /tmp -e "/var/tmp,/usr/tmp,/afs,/net,/proc"
>}
>
>And cron.weekly is sending me a email with tons of errors. Like 1000+
>lines. Some of them are:
>
>###########
>bzcat: Input file ./ghostscript.1.bz2 doesn't exist, skipping.
>bzcat: ./rdist.1.bz2 is not a bzip2 file, skipping.
>bzcat: ./statserial.1.bz2 is not a bzip2 file, skipping.
>
>bzcat: Compressed file ends unexpectedly;
>perhaps it is corrupted? *Possible* reason follows.
>bzcat: Success
>Input file = ./convfont.1.bz2, output file = (stdout)
>
>
>Does anyone know what these are from? Is this a bug in 6.0 releases?
>I've searched the newsgroups and found one other person with the same
>problem on RH6 but no answer.
>
>This is a stock Mandrake 6.0 with most of the updates.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************