Linux-Misc Digest #972, Volume #27               Tue, 29 May 01 03:13:03 EDT

Contents:
  Re: Why won't my RH 7.1 box reboot? ("David White")
  Re: Problems with transfering files from win to linux (Dave Uhring)
  Re: Simple Mail Transfer Protocol(SMTP) (Dave Uhring)
  Re: Turn off the warning message ("Peter T. Breuer")
  Print PostScript file with Samba ? ("Eric Chow")
  Re: Security Warning (Claus Atzenbeck)
  Re: Xfree vs Sis chipset -- gnome vs kde (Dave Brown)
  Re: manipulating /etc/passwd + /etc/group (Claus Atzenbeck)

----------------------------------------------------------------------------

From: "David White" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: Why won't my RH 7.1 box reboot?
Date: Tue, 29 May 2001 00:26:28 -0400

> Anyway, you have to recompile the kernel, and under Advanced Power
> Management, there is an option to "use real mode BIOS to shutdown" or
> something like that (first 4 words there for sure); enable it.

Thanks for the idea, Marco - unfortunately, that didn't solve the problem
for me.  Even after disabling APM altogether (and USB too), the PC still
hangs once it gets to "Restarting System."

I'm willing to accept that there might be any number of processes or kernel
features that could cause this problem - can you (or anyone) give me an idea
of how I might start narrowing down what the problem is?  (Like, for
example, is there a way to have the shutdown process write everything it's
doing out to a debug file, so I can look at the file later to see what the
last thing it said was before it crashed?)

> Try it with 2.4.4, but try the newly released 2.4.5

Hmm - well, I might give that a shot too.

> Cross posted ... can't wait for the porn mail to come in. :-)

That's why this account is my spam-only/USENET-posting account. ;-)






------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Problems with transfering files from win to linux
Date: Mon, 28 May 2001 23:43:32 -0500

gajo wrote:

> I have downloaded a 6 Mb large file. The file is a Linux RPM, but I don't
> have internet access on my linux machine, so I had to download it to
> windows. The only way to transfer this file is through floppy disks, and
> how can I do this? Should I split the file into 3 smaller ones, but how
> will I put them together when they're on my linux machine?
> 
> Csaba
> 
> 
> 

Why don't you use the ftp client on the Windows box?  It's a good BSD ftp 
client, not Microsoft.


------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Simple Mail Transfer Protocol(SMTP)
Date: Mon, 28 May 2001 23:48:05 -0500

hong seung wan wrote:

> Hi.
> 
> I have installed "redhat 7.1(2.4.2)"  and try to optimize my PC...
> On the my way, I can't open smtp port....despite of opening the other
> ports(http,telnet,ftp...)
> 
> Shall I handle "/etc/xinetd.d/" for opening smtp port???
> 
> please give me a method.....
> 
> Thank you ...
> 

smtp on RedHat-7.1 is sendmail.  sendmail is not started from xinetd, it is 
started from /etc/rc.d/init.d/sendmail by a symlink in /etc/rc.d/rc3.d or 
/etc/rc.d/rc5.d depending whether your default init level is 3 or 5.


------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Turn off the warning message
Date: Tue, 29 May 2001 06:31:06 +0200

gajo <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message 
>news:[EMAIL PROTECTED]...
>> gajo <[EMAIL PROTECTED]> wrote:
>> > Each time I start Gnome as root I get a warning message. How can I turn it off?
>>
>> By not starting gnome as root, which is what the message warns you
>> against doing! What's your excuse for wanting to override it, out
>> of mild interest? (hint, man sudo, man su, yawn ...)

> I'm still learning linux so I'm almost always loging in as root, and this message is 
>annoying cause

Well don't! You can't learn linux by running as root! Use sudo. You'll
find it solves your problem. 

> I have to press OK all the time. And because I heard you can change everything in 
>linux then I was

?? Eh?

> wondering how can I change this. And no, there is no checkbox with what you can turn 
>the warning

Trying to run as root should be made as difficult as possible. On my
boxes I've added something to root's profile that  prints a message
and logs you out in 30s, if the runlevel is anything multi.

Peter

------------------------------

From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: Print PostScript file with Samba ?
Date: Tue, 29 May 2001 13:02:21 +0800

Hello,

I use smbclient to connect to a Windows Printer in Linux. I can print any
text file through Samba Client, but I I can print a PostScript file ?

The following is how I print Text File through SmabaClient :

% smbclient \\\\192.168.0.22\\HPLJ6L mypassword -U eric -P
smb: \> print test.txt
smb: \>

As the above commands, I can print a text file to a Windows Shared Printer
in Linux through Samba CLient.
But how I can print a PostScript(.ps) file in the Samba Prompr "smb: \>" ?

Would you please to teach me ?

Best regards,
Eric






------------------------------

From: Claus Atzenbeck <[EMAIL PROTECTED]>
Subject: Re: Security Warning
Date: Tue, 29 May 2001 08:07:15 +0200

Bill Unruh wrote on Montag, 28. Mai 2001 19:32:

> In <9esnp4$b7v$04$[EMAIL PROTECTED]> Claus Atzenbeck
> <[EMAIL PROTECTED]> writes:
> 
> ]I have Mandrake 8.0. It runs every night a security check. Today I got
> back ]the result which makes me a little scary. 3 Questions on that
> report:
> 
> ]*****************************************
> ]Security Warning: Change in World Writeable Files found :
> ]                - Added writables files : /var/lib/mysql/mysql.sock
> ]****************************************
> 
> This is a socket. Why are you running mysql?

I need it for a mailing list manager. It uses some tables. How can I block 
all MySQL queries comming from outside localhost easily?

> ]****************************************
> ]Security Warning: the md5 checksum for one of your SUID files has
> changed,
> ]        maybe an intruder modified one of these suid binary in order to
> put ]in a backdoor...
> ]****************************************
> 
> What suid file has changed?

/usr/bin/ssh changed.

> Is this line right after the previous one? Did you upgrade ssh recently?

Hm. There was a Mandrake security update one week ago. Probably I made it 
with paying no attention to it. (Next time I should read what I do...)

Yes, it came right after "md5 checksum ... changed ... /usr/bin/ssh"

> Do rpm -Vf  /usr/bin/ssh

Here are the results:

[claus@thor bin]$ ll /usr/bin/ssh
-rws--x--x    1 root     root       221308 Mai 18 18:04 /usr/bin/ssh*
[claus@thor bin]$ rpm -Vf /usr/bin/ssh
..?.....   /usr/bin/ssh

Thanks for your help!
Claus

------------------------------

From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Xfree vs Sis chipset -- gnome vs kde
Reply-To: [EMAIL PROTECTED]
Date: 29 May 2001 00:53:40 -0500

In article <[EMAIL PROTECTED]>, Florian Schmidt wrote:
>In article <[EMAIL PROTECTED]>, "Dave Brown"
><[EMAIL PROTECTED]> wrote:
>
>>
>> But some users wanted to use kde whereas others wanted gnome.  The kde
>> users were able to hang-up the machines by "marking" the root window
>> several times with the mouse (left-click and drag a selection box). 
>> After a few times, the machine would hang up, no keyboard, and only
>> power-off switch would reboot.  Those using gnome could not produce the
>> problem.  I presume this is a "bug" in the Xserver/window-manager.  But
>> I'm surprised that the kernel gets hung.  I thought this wasn't supposed
>> to happen on a unix system.
>>
>
>i don't know, if the kernel is hung. i rather thik, just the xserver
>locked up.. did u tr o telnet in from another box?
>
Unfortunately, I didn't.  I do know that the keyboard was locked up, 
as I couldn't switch to another VT with Ctl-Alt-Fn. 

I still thought it odd that KDE had the problem, but not Gnome... as it 
is often stated that KDE is "more stable" than Gnome.


-- 
Dave Brown  Austin, TX

------------------------------

From: Claus Atzenbeck <[EMAIL PROTECTED]>
Subject: Re: manipulating /etc/passwd + /etc/group
Date: Tue, 29 May 2001 08:15:39 +0200

Michael Heiming wrote on Dienstag, 29. Mai 2001 00:37:

>> I realized that I have gid 501 at /etc/group for 2 users.
>> This is probably done by accident.
> 
> That's what groups are for,do you mix UID and GID?

Sure. But usually every user hat its default group. I had 2 users using 1 
group. This is what I had:

In /etc/group steht:

        ane:x:501:
        claus:x:501:

Und in /etc/passwd:

        claus:x:501:501:user1:/home/claus:/bin/bash
        ane:x:502:501:user2:/home/ane:/bin/bash

I was changing group and passwd, restarting and had the old group and 
password file. This is why I thougt there is a special tool for 
manipulating these files.

Anyway, I did it again (after your message - also thanks to Bill). Now it 
is working well.

Thanks!
Claus

------------------------------


** 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 by posting to comp.os.linux.misc.

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
******************************

Reply via email to