Re: SMBMOUNT

2000-03-25 Thread solomon

On 24-Mar-2000 Schlomo Schapiro wrote:
 Well, that is no wonder since smbfs (which smbmount belongs to) and
samba
are two different things. One is a server and the other is a network
file system
I do understand that, but my point was that a newbie like me who is
looking for a way to setup a network would find it alot easier to do if
the SAMBA documentation at least **hinted** about where to find the rest
of the information. After all, SAMBA is a great server, but since I
think most people who install home networks are probably interested in
being able to share files **in both directions**, we need a client to
complete the setup and the documentation should help you get there.
   

//-
Shlomo Solomon
E-Mail: [EMAIL PROTECTED]
http://come.to/shlomo.solomon
Date: 25-Mar-2000   Time: 23:20:58

Message sent by XFMail on a LINUX Mandrake 7.0 machine
//-

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: So What Now (was RE: FW 2] ethernet card)

2000-03-25 Thread solomon

On 24-Mar-2000 Schlomo Schapiro wrote:
 Use HylaFax for faxing. (Look on Mandrake rpm contribs or
 
 It's setup can be a bit strange, but I can help you there.
Thanks, I'll try it myself first, but nice to have your offer as a
**back-up**. 

BTW - while learning about SAMBA, I found a faq about using SAMBA as a
fax server, so I'll probably look into that too and decide what to set
up.

 P.S. Probably your problem with the NIC was that you didn't set up
 routing.
I don't think so since, as I wrote before, Mandrake didn't recognize
the hardware but after installing a different card evrything worked out.

//-
Shlomo Solomon
E-Mail: [EMAIL PROTECTED]
http://come.to/shlomo.solomon
Date: 25-Mar-2000   Time: 23:19:45

Message sent by XFMail on a LINUX Mandrake 7.0 machine
//-

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Unexplained server crashes

2000-03-25 Thread guy keren


On Thu, 23 Mar 2000, Aviram Jenik wrote:

 A friend of mine

yeah, it's always "a friend" ;)   (just kidding).

 has been having strange server crashes (about once a week
 in the last few weeks). His server was extremely stable until lately, and it
 doesn't do anything special except POP3 (qpopper), SMTP (qmail), and web
 (apache).

no linux system every does "a special thing". they simply run and work.
on the other hand - machines crashs sometimes, and that's while not doing
"special" things - they just have a regular problem.

 My immediate suspect was qpopper, which he runs through inetd and tcp
 wrappers (according to him, the last thing on the log before each crash is a
 POP3 request).

why would qpopper cause the machine to crash? this is hardly ever the
case. why did you suspect qpopper anyway? cause it had the last entry in
the log? that's quite irellevant. the fact that it managed to write the
log entry is actually evidence that it's probably something else.

 I wasn't sure whether to tell him that the problem is
 qpopper, inetd, or maybe a freak hardware problem.

according to the details of your problem, and past experience (my own, and
other people on the list and off it), this is most likely a hardware
problem. check out the following:

1. the CPU fan stopped working. this will cause the CPU to heat up and
   eventually hang.

2. the CPU FAN working too slow, due to too weak power supply, for the
   hardware in use. this is possible if some new ahrdware was added
   eventually, that consumes more power. check this out anyway.

3. memory getting bad. it may cause the maching to hang when it tries to
   access the faulty memory. not always will it acuse a kernel panic
   (btw, you didn't exactly say if you see a kernel panic, or a coplete
   hang. not that you always can see that - if the server is in X mode, a
   kernel panic (written to the first vritual console) won't be visible.

4. motherboard problems can cause sch a thing as well.

 My only recommendation to him was to change inetd to xinetd, but I wanted to
 hear other opinions since I'm almost clueless on this.

one question - is there any evidence in the log files for too much load on
the amchine, before the crash? cause that (and kernel bugs) are the only
thing that might somehow cause a system hang (and even with large load,
there are ways to notice this, e.g. even on large loads, the machine still
answers 'ping' messages sent from other machines - is that the case?).

guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Welcome to Linux lecture series Call for vulonteers

2000-03-25 Thread Orr Dunkelman

I'll probably keep reminding you this for quite some time, but on this
tuesday, we start the "Welcome to Linux" lecture series at 18:30,
Technion's CS dept. bldg. Taub room number 6.

The first lecture will be about "Intro. and basic functions", by Benny
Gonar which will include the following topics:
- What is Linux
- Login/Logout
- Intro. to X windows
- a little bit about kfm (basic file system structure)
- demo of free software to Linux (sample of selected few).

However, we still need a lecturer to the networking (modems, ppp and
ehternet) configuration lecture. In case you think you are the person for
the job, please take the lecture...

more info:
http://linuxclub.il.eu.org/newcomers/


Haifa Linux Club (Haifux)
http://linuxclub.il.eu.org

contact persons:
Keren Guy   - [EMAIL PROTECTED]
Dunkelman Orr   - [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: HOW can i get user ID

2000-03-25 Thread guy keren


On Thu, 23 Mar 2000, Bhupesh Kokate wrote:

 HI everybody,
 Can anybody tell me how can i get the usrid of the user when new user log
 in to the linux system.. and how can i set the messege for him for first
 time  only. The messenge should not come when he login second time.
 thanks..

one simple way of showing a one-time message, is setting the user's
'.cshrc' run a system-wide script, that maintains a small database of
users who've already seen the message. this script will show the mesasge
only if the user is not already in that database, and then update the
database. this is ofcourse a bit risky, since the database needs to be
world-writeable (as the script runs under the ID of this new user).

another method is put a script in the user's directory that's run via its
'.cshrc', and then immediatly erased. this script will print out the
welcome message.

one other option - there are packages on the net that do similar things.
check out on freshmeat.net 

as to finding the ID of the user - this depends on what you want to do
with it. if this is just to personalize the message, use the '$USER'
environment variable. if this is for other purposes, and you're afraid
that users might abuse this, then just explain what you need it for.

hope this helps,
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: HOW can i get user ID

2000-03-25 Thread Alex Shnitman

Hi, guy!

On Sun, Mar 26, 2000 at 02:26:14AM +0200, you wrote the following:

  HI everybody,
  Can anybody tell me how can i get the usrid of the user when new user log
  in to the linux system.. and how can i set the messege for him for first
  time  only. The messenge should not come when he login second time.
  thanks..
 
 one simple way of showing a one-time message, is setting the user's
 '.cshrc' run a system-wide script, that maintains a small database of
 users who've already seen the message. this script will show the mesasge
 only if the user is not already in that database, and then update the
 database. this is ofcourse a bit risky, since the database needs to be
 world-writeable (as the script runs under the ID of this new user).

In Debian there's a small package called sysnews which accomplishes
this, although slightly differently -- instead of maintaining a
database, it touches a file called $HOME/.news_time after showing the
messages, and doesn't display messages older than the date of that
file upon execution. Just put it in /etc/csh.cshrc and /etc/profile
and then put files with messages in /var/news whenever you need.

I suppose the program is available for other distributions too.


-- 
Alex Shnitman| http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED]   +---
http://alexsh.hectic.netUIN 188956PGP key on web page
   E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June, 1972

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: HOW can i get user ID

2000-03-25 Thread Schlomo Schapiro

I made once a bash script that displays a file only if it changes (keeping
md5 checksums in the user's homedir). I used it for msgs from the system
that I want the people to see just once when I change them.

Mail me privately if you need my script ...

Schlomo

On Fri, 24 Mar 2000, Shaul Karl wrote:

  HI everybody,
   Can anybody tell me how can i get the usrid of the user when new user log
  in to the linux system.. and how can i set the messege for him for first
  time  only. The messenge should not come when he login second time.
  thanks..
  
 
 For the id:
 [09:34:14 /tmp]$ id
 uid=1000(shaul) gid=1000(shaul) 
groups=1000(shaul),4(adm),20(dialout),21(fax),22(voice),24(cdrom),25(floppy),30(dip),50(staff),100(users),500(dos)
 [09:34:15 /tmp]$ 
 
 For the first time message you might have to prepare something that will replace the 
/etc/passwd entry with another although this is starting to get complicated and 
potentially a security risk.
 -- 
 Shaul Karl   [EMAIL PROTECTED]
   An elephant is a mouse with an operating system.
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word "unsubscribe" in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 
 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: HOW can i get user ID

2000-03-25 Thread Gaal Yahas

On Sun, Mar 26, 2000 at 02:26:14AM +0200, guy keren wrote:

  HI everybody,
  Can anybody tell me how can i get the usrid of the user when new user log
  in to the linux system.. and how can i set the messege for him for first
  time  only. The messenge should not come when he login second time.
  thanks..
 
 one simple way of showing a one-time message, is setting the user's
 '.cshrc' run a system-wide script, that maintains a small database of
 users who've already seen the message. this script will show the mesasge
 only if the user is not already in that database, and then update the
 database. this is ofcourse a bit risky, since the database needs to be
 world-writeable (as the script runs under the ID of this new user).

It also seems a bit slow, because every single interactive login does
this check.
 
 another method is put a script in the user's directory that's run via its
 '.cshrc', and then immediatly erased. this script will print out the
 welcome message.

Yes, something like this:

(your one-time message is in file "msg"; the following is from your
cshrc: )

echo blah

# do stuff

# Please do not touch this, it is magic xyzzy:
(cat msg  rm msg) || perl -0pi -e 's,\n(.*xyzzy),\n#$1,g' .cshrc


 one other option - there are packages on the net that do similar things.
 check out on freshmeat.net 

Package!? This is a one-liner :-)

(note that this solution has two obvious flaws. The first is that
any line in your .cshrc contining the magic string will end up commented
out. That's probably okay, as users should not be faced with too much
potent magic anyway. The other is that the *second* run of the .cshrc
will spew out an error message from cat, and might scare off some users.
This is okay, because if they call you to complain, you can happily go
on being slightly bofhish (this not written with anyone particular in
mind, so no offence, anyone) and tell them to reproduce it. If they
could reproduce it, they can also fix it. (But they won't need to, since
they'll realize it won't happen to them again. Ah, the sweet longevity of
bugs.))
 
 as to finding the ID of the user - this depends on what you want to do
 with it. if this is just to personalize the message, use the '$USER'
 environment variable. if this is for other purposes, and you're afraid
 that users might abuse this, then just explain what you need it for.

Say you want to find info about a user 'byron' on your system:

% id byron
uid=577(byron) gid=535(romantics) groups=132(poets),535(romantics)

If you want to find a login name by real name:

% (cat /etc/passwd ; ypcat passwd) | grep 'Lord Byron' | awk -F: '{print $3}'
577

-- 
believing is seeing
[EMAIL PROTECTED]
http://www.forum2.org/gaal/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]