Linux-Misc Digest #398, Volume #21 Sat, 14 Aug 99 09:13:06 EDT
Contents:
How can a Program in Linux to allow more than 1 user to open?????????? (Jackson
=?iso-8859-1?Q?o=A8=BA=B4=ED=A4=FB?=)
From VMware to Internet (PPP) (G�rard Milmeister)
Re: How can a Program in Linux to allow more than 1 user to open?????????? (Nick
Ruisi)
Re: Internet connecting - DHCP instead of DNS (Pat Heuvel)
Re: expect scripts and setting passwords (Tony Wildish)
Re: Help! Navigator in Linux... (Regit Young)
Sound problem with RH6 (Ross Smith)
Re: a beginners question: How do I list directories separated from files? (Cameron
L. Spitzer)
disable nfs services ("nicolas.gasnier")
Re: route problem: Can't add gateway address (Cornel Popescu)
"monop" game (JC)
Re: Ready to TRASH SuSE 6.1 (Stewart Honsberger)
Can't use 1152x864 in X since upgrade from RH5.2 to RH6.0 ("simon")
Re: a beginners question: How do I list directories separated from files? (Bruce
Stephens)
Re: Phat Linux?? (Stewart Honsberger)
----------------------------------------------------------------------------
From: Jackson =?iso-8859-1?Q?o=A8=BA=B4=ED=A4=FB?= <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.advocacy,starforum.comp.unix,hk.comp.software
Subject: How can a Program in Linux to allow more than 1 user to open??????????
Date: Sat, 14 Aug 1999 17:59:47 +0800
This is a multi-part message in MIME format.
==============D0D685142890439AEE6F78F9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
==============D0D685142890439AEE6F78F9
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
X-Mozilla-Status2: 00000000
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 10 Aug 1999 18:23:33 +0800
From: Jackson =?iso-8859-1?Q?o=A8=BA=B4=ED=A4=FB?= <[EMAIL PROTECTED]>
Organization: =?iso-8859-1?Q?=BC=C9=AE=7B=B6=B0=A4=A4=C0=E7?=
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0; html=1;
linewidth=0
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: zh-CN,zh-TW
MIME-Version: 1.0
Newsgroups: hklug.general
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: How can a Program in Linux to allow more than 1 user to
open???????????????
X-Priority: 1 (Highest)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
�ULinux�l��:
Pls help me to solve the following problems in Linux Redhat 6.0, thank
you very much! ^_^
1) A VB5 networking program is running in server, I made it share as
[tmp] directory in SMB.CONF file and use CHMOD 777 xxxxxxxxx.MDB to
grant it to everyone, I want to make it can be open by more than one
user at the same moment. Because it can be open by one user through
network only now.
A segment in SMB.CONF related to VB5 program is showing:
==============================
[vb5-program]
comment = Program
path = /tmp/vb5prog
public = yes
browseable = yes
read only = no
writable = yes
create mode = 0755
==============================
�W�q�O�_���T?
2) A internal ATAPI Zip 100M Drive installed in Linux Redhat 6.0, I did
the same thing in SMB.CONF file to share zip drive, and mount the
/dev/hdd4 to /mnt/zip directory. I can read the 100M disk from the
Win95 workstation through network neighbourhood only, I cannot delete,
edit or move anything from/to the zip drive.
==============================
[zip]
comment = Zip100 on RedHat 6.0
path = /mnt/zip
public = yes
browseable = yes
read only = no
writable = yes
create mode = 0755
==============================
�W�q�O�_���T?
3) How can I assign permission to a group?
Uranus
==============D0D685142890439AEE6F78F9==
------------------------------
From: [EMAIL PROTECTED] (G�rard Milmeister)
Subject: From VMware to Internet (PPP)
Date: 13 Aug 1999 20:47:52 GMT
Reply-To: [EMAIL PROTECTED]
I have installed VMware with Windows NT 4.0.
I works quite well. The question is:
How can use a Linux PPP-connection from
VMware. I can login to Linux localhost, but
not outside.
--
G�rard Milmeister <[EMAIL PROTECTED]>
Tannenrauchstrasse 35
8038 Z�rich
Switzerland
+41 1 481 52 48
------------------------------
From: Nick Ruisi <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.advocacy,starforum.comp.unix,hk.comp.software
Subject: Re: How can a Program in Linux to allow more than 1 user to open??????????
Date: Sat, 14 Aug 1999 06:59:30 -0400
The problem is not on your servers, its with your users.
When you open a mdb file in Windoze, the user has the option to "open
exclusive". It would appear your program is doing this.
Since this requires Windows-based advice, please take it to a MS-Newsgroup
Jackson o������ wrote:
> ------------------------------------------------------------------------
>
> Subject: How can a Program in Linux to allow more than 1 user to
> open???????????????
> Date: Tue, 10 Aug 1999 18:23:33 +0800
> From: Jackson o������ <[EMAIL PROTECTED]>
> Organization: �ɮ{������
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Newsgroups: hklug.general
>
> �ULinux�l��:
>
> Pls help me to solve the following problems in Linux Redhat 6.0, thank
> you very much! ^_^
>
> 1) A VB5 networking program is running in server, I made it share as
> [tmp] directory in SMB.CONF file and use CHMOD 777 xxxxxxxxx.MDB to
> grant it to everyone, I want to make it can be open by more than one
> user at the same moment. Because it can be open by one user through
> network only now.
> A segment in SMB.CONF related to VB5 program is showing:
> ==============================
> [vb5-program]
> comment = Program
> path = /tmp/vb5prog
> public = yes
> browseable = yes
> read only = no
> writable = yes
> create mode = 0755
> ==============================
> �W�q�O�_���T?
>
> 2) A internal ATAPI Zip 100M Drive installed in Linux Redhat 6.0, I did
> the same thing in SMB.CONF file to share zip drive, and mount the
> /dev/hdd4 to /mnt/zip directory. I can read the 100M disk from the
> Win95 workstation through network neighbourhood only, I cannot delete,
> edit or move anything from/to the zip drive.
> ==============================
> [zip]
> comment = Zip100 on RedHat 6.0
> path = /mnt/zip
> public = yes
> browseable = yes
> read only = no
> writable = yes
> create mode = 0755
> ==============================
> �W�q�O�_���T?
>
> 3) How can I assign permission to a group?
>
> Uranus
------------------------------
From: Pat Heuvel <[EMAIL PROTECTED]>
Subject: Re: Internet connecting - DHCP instead of DNS
Date: Sat, 14 Aug 1999 21:19:27 +1000
Gday Philip,
Philip Morgan wrote:
>
> Windows doesn't need DNS numbers to connect (it uses DHCP?). Why does
> Linux (and BeOS for that matter) need DNS numbers then?
>
> (My ISP insists it's possible to set up under DHCP)
DNS is the Dynamic Name Service. It is used to resolve names to IP
addresses.
DHCP is the Dynamic Host Configuration Protocol. It is used to assign an
IP address to a workstation, to configure the IP stack and sometimes to
boot the workstation itself.
Windows workstations using the TCP/IP stack need an IP address to
communicate, full stop. This may be hard-coded into the machine, or
supplied by DHCP.
Windows workstations running under a Windows NT domain (as opposed to a
Unix/Linux one) are capable of resolving addresses using WINS (Windows
Internet Naming Service). NT's DNS server is also capable of resolving
addresses via WINS, providing a sort of dynamic DNS.
To answer your question, the "numbers" returned by DNS to Linux are the
IP addresses matching host names (such as "sunsite.unc.edu"). The same
resolution process occurs under Windows when communicating over TCP/IP.
Any operating system using TCP/IP for communication requires some
address resolution process (yes, Virginia, even Windows).
Hope this clears something up...
Regards,
Pat
--
+---------------------------------------------------------+
+ "Logic clearly dictates, that the strokes of the many +
+ outweigh the strokes of the two..." +
+ (Apologies to Mr Spock) +
+---------------------------------------------------------+
------------------------------
From: [EMAIL PROTECTED] (Tony Wildish)
Crossposted-To: comp.os.linux.security,comp.os.linux.setup
Subject: Re: expect scripts and setting passwords
Date: 14 Aug 1999 11:03:29 GMT
Hi,
it looks to me like you may have a synchronisation problem. If your
passwd program prompts for the password before it is actually ready to
receive it then your expect script could fire off it's response too soon,
causing exactly this kind of problem.
If this is the case then you have an easy solution: put a 'sleep 1'
between expecting the 'password:' prompt and sending your reply.
Take a look at http://www.mel.nist.gov/msidlibrary/summary/authL.htm
for some relevant papers by Don Libes.
Cheers,
Tony.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Caligari) writes:
|> Greetings,
|>
|> I have a slight linux problem that I hope the community can help me
|> with. Once upon a time, I was using a Sun SPARC 20 running Solaris
|> 2.5.1 (please don't hate me) for an email server and I would add
|> accounts using scripts. I would also set the passwords using an
|> EXPECT script.
|>
|> We have since gone to Red Hat 6.0 Linux on a PII-400 for email. The
|> expect rpm was installed by default during the install so I have not
|> done anything with it. I have attempted to use the same scripts that
|> we used on our SUN with little success. The add accounts script is
|> working fine, but the EXPECT script is not.
|>
|> I have included a copy of the script below:
|>
|>
|> #!/usr/bin/expect -f
|> # wrapper to make passwd(1) be non-interactive
|> # username is passed as 1st arg, passwd as 2nd
|>
|> send "Invoking passwd command for [lindex $argv 0]\n"
|> spawn passwd [lindex $argv 0]
|> set password [lindex $argv 1]
|> expect "password:"
|> send "$password\r"
|> expect "password:"
|> send "$password\r"
|> expect eof
|>
|>
|> The output is a little weird. The script seems to execute, but it
|> appears to hang occasionally and it always displays the password
|> during the attempt. A sample output when I invoke the script as such
|>
|> ./setpass tempuser srghtys
|>
|> is also below:
|>
|>
|> Invoking passwd command for tempuser
|> spawn passwd tempuser
|> Changing password for user tempuser
|> New UNIX password: srghtys
|>
|> Retype new UNIX passord: [root@server /root]#
|>
|>
|> To be honest, I'm not sure what is wrong. The line that starts with
|> "Changing password" concerns me a little. I'm afraid that expect may
|> be hic-hupping because it is expecting the word "password:" and it
|> just ignores that there is not a colon. I find this hard to believe
|> though. Right now I'm reaching for anything. The script actually
|> worked once and only once, and I have been unable to reproduce that
|> particular instance successfully. Any ideas or help would be most
|> appreciated. Thank you.
|>
|> James Bruce ( [EMAIL PROTECTED] )
|> Network and UNIX Systems Administrator
|> Lander University
|> Greenwood SC 29649
--
--
------------------------------
From: Regit Young <[EMAIL PROTECTED]>
Subject: Re: Help! Navigator in Linux...
Date: Sat, 14 Aug 1999 19:44:58 +0800
Reply-To: [EMAIL PROTECTED]
Did you configure a proper DNS (have a look at /etc/resolv.conf)?
L'acheteur wrote:
>
> I had just installed Redhat 6.0 in my m/c and i had also configure my
> modem wth kppp. I could dial up to my ISP without any problems, BUT
> when i configure the proxy server in the navigator preferences it says
> that it can't find my proxy address. I m sure the proxy addres is
> correct cos i using the proxy address in my NT. Now, i would like to
> know is there anything that i had missed for the configuration of
> modem?? Thank in advance.
------------------------------
From: Ross Smith <[EMAIL PROTECTED]>
Subject: Sound problem with RH6
Date: Sun, 15 Aug 1999 00:05:56 +1200
I can't get my sound card to work on Red Hat 6. It's an ESS 1869; it
works fine on the same box under Win95.
Following the RH manual, I tried to use sndconfig. It successfully
detects and identifies the card, but when it tries to play a sample, it
gives me the following error message:
modprobe error
The following error occurred running
the modprobe program:
sh: insmod: command not found
sound: No such file or directory
sound: No such file or directory
It then runs through a manual configuration, correctly detects all
the settings (IRQ etc), but gives the same error when it tries to
play.
I've tried contacting RH support about it, but I can't get any reply
from them.
--
Ross Smith ....................................... Auckland, New Zealand
<mailto:[EMAIL PROTECTED]> ........ <http://crash.ihug.co.nz/~r-smith/>
"For ten years Caesar ruled with an iron hand, then with a wooden
foot, and finally with a piece of string." -- The Goon Show
------------------------------
From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Subject: Re: a beginners question: How do I list directories separated from files?
Date: 14 Aug 1999 12:06:46 GMT
In article <7p36qa$9gl$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Hi there,
>
>I am a LINUX beginner.
>
>How do I accomplish the following functions, may it be with ls or any
>other command?
>
>1.) List the entries of a directory - just like ls does - but only
>those entries which are directories?
ls -F | grep '/$'
file * | grep 'directory$'
find . -type d
>2.) List the entries of a directory - just like ls does - but sorted,
>so that all directories are listed first and then all files.
ls -F | grep '/$' ; ls -F | grep -v '/$'
Cameron
------------------------------
From: "nicolas.gasnier" <[EMAIL PROTECTED]>
Subject: disable nfs services
Date: Sat, 14 Aug 1999 14:26:20 +0200
My system is based on a RH6. What can I do to disable all NFS-related stuffs
and services at startup ?
Thanks.
--
+-------
| Blade Cox
| e-mail : [EMAIL PROTECTED]
| e-mail alternatif : [EMAIL PROTECTED]
homepage : http://perso.wanadoo.fr/blade
------------------------------
From: Cornel Popescu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: route problem: Can't add gateway address
Date: Sat, 14 Aug 1999 12:20:12 GMT
In article <u49t3.1527$[EMAIL PROTECTED]>,
"mark" <[EMAIL PROTECTED]> wrote:
> Your problem may very likely be this simple:
>
> instead of just 'route', run 'route -n', which prevents the
translation of
> numeric addresses to names. I have a box that exhibits the same
symptoms
> you describe if I just run 'route' (hangs forever, until ^C), but
shows
> everything perfectly with 'route -n'.
You might also add the gateway in /etc/hosts , like
166.104.88.1 mygateway.mydomain.whatever mygateway
and make sure /etc/nsswitch.conf reads files before dns for resolving
hosts if you really want to see names instead of IP's ...
> > Youjip Won <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Dear Linux guru,
> > > I am fan of linux, but never ever able to get the network setup
in
> > > one shot. This time was not an exception. After several trials and
> > > errors, I am finally writing this message in a hope that I could
get
> > > some help.
> > >
> > > To make long story short, I cannot add gateway to routing table.
> > >
> > > Here's what had happened. I can ifconfig and route add 'lo' and
'etho'.
> > > When I do "route add default gw 166.104.88.1", it does not
complain.
> > > BUT, if I type 'route' to verify the gw in routing table, it goes
to the
> > > infinite loop. It only shows the first two lines in routing
table(lo,
> > > eth0) and goes into infinite loop. I eagerly hope that someone
have had
> > > similar problems and provide me some clue.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: JC <[EMAIL PROTECTED]>
Crossposted-To: redhat.rpm.general,redhat.general
Subject: "monop" game
Date: Sat, 14 Aug 1999 12:30:45 GMT
Hello,
This might seem a silly question to most.
I've been trying to get the console game 'monop'
that came with redhat to run.
'monop' as you may have guessed is a linux adaptation
of the monopoly game.
It is located at /usr/games/
Yes, it does run, but after asking for the number of players,
it terminates with
/usr/lib/games/monop-cards.pck: No such file or directory.
It is surprising considering I installed every single thing
(full install.)
Where can I get this file? It is definitely not on the
redhat 5.2 distribution disk.
Please help! thank you!
JC [EMAIL PROTECTED]
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Crossposted-To: comp.os.linux.setup
Subject: Re: Ready to TRASH SuSE 6.1
Reply-To: [EMAIL PROTECTED]
Date: Sat, 14 Aug 1999 12:40:56 GMT
On Thu, 12 Aug 1999 19:50:42 -0400, Gilbert Groehn wrote:
>After about ten days of trying to get SuSE 6.1 up and
>running for some simple internet communications, I am
>ready to junk this mish mash of bogus packages, lousy
>support, and adfinitum. Four hours of waiting on the
>SuSE help line (which is only open 11:00/5:00 on Mondays
>and Thursdays resulted in a few minutes of next to worthless
>help. Bill Gates does not have to lose any sleep if SuSE
>is what the competition is going to be in IMHO.
What a load of garbage. You can't figure something out, so you start crying
about Bill?
Go back to Microsoft if this is going to be your attitude. You're not wanted
here with it.
>When I finally got through to Suse's help line they said ...oh yes..
>we know about this. You must get a patch on our www FTP site.
>How in the hell do you get a patch if you can not log on.
You're on now, aren't you?
>The SuSE rep. then guided me through setting up 'wvdial' which will
>in no way connect to my ISP (worldnet.att,net). It dials in fine
>but without the CHAP and DNS values that are I had entered in
>Kppp there is no way to conect to ATT without CHAP or a script.
So why not write a script? What's the problem? Too much work?
That's what Windoze is for.
>My intent is to learn LINUX
You want to learn Linux (it's a name, not an acronym) yet the first thing
you do is jump straight into the GUI? X isn't Linux - it's X.
>and I now need to know if there is a commercial package available that will
>minimize the installation bugaboos so that I can start learning.
The distro you're looking for is known as SuSE.
There's only one major glitch with it - sometimes you have to RTFM to make
it work. As much as we complain ...
>I must say that the plain text version of SuSE worked flawlessly
"plain text version"??
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
From: "simon" <[EMAIL PROTECTED]>
Subject: Can't use 1152x864 in X since upgrade from RH5.2 to RH6.0
Date: Sat, 14 Aug 1999 13:44:54 +0100
Hi,
earlier in the week I upgraded my system from RH5.2 to RH6.0.
I had my 5.2 system setup to boot into KDE for other users, and the standard
X for root (fvwm2 ?).
I figured it would be nice to try out gnome with RH6.0, but this has caused
some problems. Although i do like the look of gnome, and it seems to be
happy to let me use kde whenever I want, I can no longer run my desktop at
1152x864.
I have tried running Xconf and adding 1152x864 as a supported reolution, but
that seems to screw up some part of gnome, as it starts complaining about
gdm having been murdered or something weird.
I have also tried directly editing the /etc/X11/XF86Config but that seems to
upset gnome too... in fact if all I do is add the extra resolution in the
list of supported modes, then the system takes a long time to login, and
when I get in I find it has deleted the settings I added.
How can I change my resolution ?!
Thanks,
Simon
p.s. I run X at 1152x864, as I dual-boot my system with Win98, and it lets
my monitor differenciate the two... that way I don't have to play with
picture position settings all the time.
system info:
Abit BX6 r2.0 motherboard USBSupp.exe, setupex.exe
Celeron 300 @450
128M SDRAM (10ns)
Diamond Viper 330 AGP (Nvidia 2.77 build drivers) Nvidia reference drivers
NxR 12MB Voodoo2 3Dfx reference drivers
Creative Labs AWE64 Gold (Latest Drivers) Latest 'Labs drivers
Internal U.S. Robotics Winmodem 33.6 (56K upgrade) V.90 upgrade
CTX1792UA monitor
------------------------------
From: Bruce Stephens <[EMAIL PROTECTED]>
Subject: Re: a beginners question: How do I list directories separated from files?
Date: 14 Aug 1999 13:41:03 +0100
[EMAIL PROTECTED] writes:
> How do I accomplish the following functions, may it be with ls or any
> other command?
>
> 1.) List the entries of a directory - just like ls does - but only
> those entries which are directories?
With zsh, <URL:http://www.zsh.org/>:
ls -d *(/)
> 2.) List the entries of a directory - just like ls does - but sorted,
> so that all directories are listed first and then all files.
With zsh and GNU ls (which is what Linux typically has):
ls -d -f *(/) *(^/)
(You need the -f, because otherwise ls will resort the entries. By
default, zsh globs expand in alphabetic order, as you'd expect.)
Midnight commander (mc, or gmc) can order files by type, too, so that
directories come before other files.
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: Phat Linux??
Reply-To: [EMAIL PROTECTED]
Date: Sat, 14 Aug 1999 12:49:30 GMT
On Fri, 13 Aug 1999 06:00:49 GMT, Christopher wrote:
>to install Linux distribution. Our distribution has a Windows Based Install.
>You no longer need to repartition your hard drive to make room for Linux
>because Phat Linux will run off of your Windows 95/98 C-Drive!
Oh great.. More to the misconception that Linux is just another Windoze
app.
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
** 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
******************************