Re: mounting ntfs

2006-07-22 Thread Lothar Braun
On Saturday 22 July 2006 15:45, george tsiolis wrote:
 hi there!
 i have installed the latest Debian testing software and everything is ok
 (for now) but i still have some problems as far as mounting a ntfs
 partition which contains data. what should i do about it? thanx a lot :)

Problems? Can you be a little more specific?

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Have I been rooted?

2006-07-18 Thread Lothar Braun
On Tuesday 18 July 2006 23:38, Default User wrote:
 I just installed chkrootkit.  The first run reported as part of the
 normal output:

 eth0: PACKET SNIFFER(/sbin/dhclient[1005])

 Does this mean there is a sniffer on my system?

Most likely no: That's a common false positive from chrootkit. Dhclient is 
meant to listen on the interface _before_ it has it's IP-Address assigned. 
This means that dhclient has to look at every incoming  packet.

And that's the same thing that is done by packet sniffers. Therefore the 
warning from chrootkit. But it is completely normal for dhclient.

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to diagnose kernel panic?

2006-07-10 Thread Lothar Braun
Hi Mark,

On Sun, 2006-07-09 at 15:56 -0400, Mark Copper wrote:
 I have a server that is brought down by a kernel panic every two weeks
 on average.

Did it do that right from the first installation or did it run for some
time without problems?

   Nothing untoward gets in the logs and the on-screen panic
 message starts with something like
Kernel panic - not syncing: Fatal exception in interrupt

Call trace:
[c026bc42] scsi_request_fn+0xf610x294
 I wasn't able to get any more at the data center...

Well the first thing i'd suppose would be some problem with the hard
ware (most of the kernel panics i saw where related to broken hardware).

And it looks like it's something problematic with the hard drive
containing the root filesystem.

The steps i would do:

1.) Use google with the name of your hard drive and scsi_request_fn
and kernel panic

2.) Get the hard drive checking tools of your manufacturer and test that
drive

3.) If you have two machines with the same drive, swap drives between
them (and check where the problem occurs then)

4.) Get a newer kernel

After doing this and none of the things above helped:

5.) Write a mail to the kernel guys, tell them about the problem and
what you did to find the problem. 


Hth,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OOo check and radio buttons

2006-07-02 Thread Lothar Braun
On Sun, 2006-07-02 at 17:31 +0200, Benjamí Villoslada wrote:
 The radio and check buttons appears 2 (radio) and 3 (check) times in 
 OpenOffice.org:  http://bitassa.com/stuff/ooocheckandradio.png
 
 Seems that is after the last dist-upgrade to OOo 2.0.3-1
 
 I don't see this bug with reportbug.  Any workaround?  Have more cases and 
 then we can send one bug?

Same thing happens here, too.

- Lothar



Re: OOo check and radio buttons

2006-07-02 Thread Lothar Braun
Hi,

On Sun, 2006-07-02 at 20:14 +0400, Vitaliy Ischenko wrote:
 Try to change gtk-engine or kde theme
 or try to switch between openoffice.org-gnome and openoffice.org-kde
 and see what happens =)

That solved the problem. I installed openoffice.org-gnome and now
everything looks fine :)

But isn't this a bug anyways? I would expect OpenOffice to run without
gnome-specific extra packets.
Can someone explain to me why i need them?

Regards,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to perform search in gnome terminal?

2006-07-01 Thread Lothar Braun
On Sat, 2006-07-01 at 17:17 +0200, Rodolfo Medina wrote:
 Hi.
 
 I have Debian Sarge 3.1 r2, with Gnome.
 It seems that the gnome terminal does not support
 word search? It looks strange to me, 'cause it's
 an important function: I couldn't find any item 
 that would do that.
 Any hint?

What do you mean with word search?

- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Grub question?

2006-06-28 Thread Lothar Braun
On Wed, 2006-06-28 at 12:11 -0400, Ishwar Rattan wrote:
 I am thinking of installing debian on partition /dev/sda6
 (on a SATA hard disk). Grub menu entry for root partition:
 
 will/should it be (hd0,5) or (sd0,5)?

It is (hd0,5). Grub uses hd for all hard drives.

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problems with Kdeprint and Cups

2006-06-26 Thread Lothar Braun

Mirto Silvio Busico wrote:

Hi all,
I have a debian Etch installed from scratch and I'm experiencing
problems when printing.

I'm using:
KDM window manager
cupsys 1.2.1-2
kdeprint 4.3.5.3-2

Kdeprint refuse to use cups as printing system saying that he cannot
retrieve the printer's list.

Some applications (firefox, openoffice) don't print and see only a
generic printer instead of the  printer's list.

Any hint?


What about the programs that come along with cups (like lpq, lp or lpr). 
Do they work as expected or do they have the same problems?


-- Lothar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: E-mail Failing in weird ways

2006-06-26 Thread Lothar Braun

Mike McCarty wrote:

My girlfriend uses Debian (Sarge) and has a mysterious problem
with e-mail. She has been using Thunderbird for some time,
but with Windows NT. She installed Sarge, and now she cannot
send e-mail, but she can pull, for months now. Well, she decided
to try Evolution, and it has the reverse problem. It can pull,
but not push.

She is using SMTP and POP.

Is anyone able/willing to propose means to figure this out?


Did she get any error messages?

Lothar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Restrict ssh logins

2006-06-26 Thread Lothar Braun
On Mon, 2006-06-26 at 16:50 -0400, Eric d'Alibut wrote:
 On 6/25/06, Lothar Braun [EMAIL PROTECTED] wrote:
 
  You should define a global authorized_keys file then. Use
  AuthorizedKeysFile in your /etc/ssh/sshd_conf to set the path to your
  file.
 
 I note in the sshd_config man page that the AuthorizedKeysFile may
 make use of tokens ('%h') for things such as usernames, home dirs,
 etc. I can't seem to find an example of what, in practice, the syntax
 for such tokens is in that file. Does anyone have an example?
 
 tia as per usual,

Let's go:

Assume we have two users:

bob with home directory /home/bob/
alice with home directory /nfs-share/all-homes/alice/

-

If you put

AuthorizedKeysFile %h/.ssh/authorized_keys

in your sshd_config, sshd will look at /home/bob/.ssh/authorized_keys
and /nfs-share/all-homes/alice/.ssh.authorized_keys.

-

AuthorizedKeysFile %u/.ssh/authorized_keys

will make sshd look at /home/bob/.ssh/authorized_keys
and /home/alice/.ssh/authorized_keys (and it won't find the
authorized_keys file from alice, because /home/alice doesn't exist)

-

AuthorizedKeysFile /root/%%/authorized_keys

will make sshd look for a file named /root/%/authorized_keys. This means
that it will look for a directory named %.


Hth,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Restrict ssh logins

2006-06-26 Thread Lothar Braun
On Mon, 2006-06-26 at 18:40 -0400, Eric d'Alibut wrote:
  AuthorizedKeysFile %u/.ssh/authorized_keys
 
  will make sshd look at /home/bob/.ssh/authorized_keys
  and /home/alice/.ssh/authorized_keys (and it won't find the
  authorized_keys file from alice, because /home/alice doesn't exist)
 
 Do we want for the last case:
 
 AuthorizedKeysFile /home/%u/.ssh/authorized_keys ?

Oh. Yes. You're right. 

AuthorizedKeysFile %u/.ssh/authorized_keys

would result in bob/.ssh/authorized_keys and alice/.ssh/authorized_keys.

But i don't think you want any of these. You mentioned early that you
(the friendly system administrator) should be the only one, who can add
authorized keys.
That means that you have to create a system-wide authorized_keys file,
that is only writable by yourself (like
AuthorizedKeysFile /etc/ssh/authorized_keys)

Best regards,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: What does it mean 'LANG=C'

2006-06-25 Thread Lothar Braun
On Sun, 2006-06-25 at 10:48 -0500, Ron Johnson wrote:
 When US keyboards have the Euro symbol on it, then it will have
 happened.
 
 P.S. - How do you enter a Euro symbol from a US kbd into Tbird?
 
 P.P.S. - How do you do the same from the console?

You can use xmodmap for that. I'm using Alt Gr + e to produce the
Euro symbol.
I created a file named ~/.xmodmap and i'm loading it whenever X starts
up using xmodmap. The file looks like that:

keycode 113 = Mode_switch
# ... stuff to create the german umlauts
keycode 26 = e E EuroSign


Hth,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: What does it mean 'LANG=C'

2006-06-25 Thread Lothar Braun
On Sun, 2006-06-25 at 15:01 -0500, Ron Johnson wrote:
 Thanks.  What's Alt *Gr*?

Oh. That's the right alt-key on German keyboards.

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Restrict ssh logins

2006-06-25 Thread Lothar Braun


On Sun, 2006-06-25 at 17:47 -0400, Eric d'Alibut wrote:
 I want to turn off ordinary unix password logins. and I want restrict
 ssh logins to only users with an ssh pub key in their authorized_key
 files 

Turn PasswordAuthentication to no and PubkeyAuthentication to yes in
your /etc/ssh/sshd_conf.


 (to be placed there by me, your friendly sysadmin).

You should define a global authorized_keys file then. Use
AuthorizedKeysFile in your /etc/ssh/sshd_conf to set the path to your
file.

There is another way to control which users can log in and which can't.
You can block/allow users with DenyUsers and AllowUsers (also in
your /etc/ssh/sshd_conf)


 Any pointers as to how to do this, or as to where to find pertinent
 docs, would be greatly appreciated.

man 5 sshd_conf

-- Lothar



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help with gz files

2006-06-23 Thread Lothar Braun
On Fri, 2006-06-23 at 02:10 -0400, Chuck Payne wrote:
 hi all,
 
 I need to pull out one file out of gzip file. Can someone explain to me 
 how.

Use gunzip to do that:

$ gunzip filename.gz

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't build from source

2006-06-23 Thread Lothar Braun
Hi Lawrence, 

On Fri, 2006-06-23 at 15:49 +0800, Lawrence Li wrote:
 When trying to compile from source, I follow these steps:
 
 # tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
 # cd package
 # ./configure
 # make
 # make install
 
 But somehow I always ended up stuck at ./configure or make. The
 error msg for the former is usually No such file or directory, while
 for make, it's usually this:
 
 make: *** No targets specified and no makefile found.  Stop.

Most packets come with a INSTALL and/or README file. One of these files
usually describes how to compile and install the program/library.

 Another program (namely Privoxy) prompted with the following msg when
 I entered make:
 
 To build this program, you must run
 *** autoheader  autoconf  ./configure and then run GNU make.
 *** Shall I do this for you now? (y/n) y
 
 So I chose y, only to get a new error msg:
 
 /bin/sh: line 1: autoheader: command not found

Autoheader comes with package autoconf. You should install this packet.

-- Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Beginner help

2006-06-15 Thread Lothar Braun
Hi Mike,

On Thursday 15 June 2006 16:59, Mike Hill wrote:
 I have a few questions.
 1.I need to add a user, but when I do, they cannot access the sound card. I
 think it is permissions, but where do I start?

Add this user to the group audio.

 2. I created a user, but SUDO seems to only work from ROOT and not from my
 user.

You might want to read this one: 
http://forums.debian.net/viewtopic.php?t=5127; and man 5 sudoers :)

 3. How can I close down Gnome and start up KDE?

You can install kdm (the kde login manager). KDM offers you the possibility to 
choose, which window manager to start.

Regards,
Lothar

-- 
Homepage: http://www.lobraun.de
Blog: http://const-cast.blogspot.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: No Images in Mozilla

2006-06-13 Thread Lothar Braun
On Tuesday 13 June 2006 15:44, Thomas H. George wrote:
 Just little broken icons where the pictures ought to be.

Check Edit-Preferences - Privacy and Security - Images and turn  the Image 
acceptance policy to Accept images that come from the originating server 
only or Accept all images.

HTH,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: No Images in Mozilla - WOW!

2006-06-13 Thread Lothar Braun
Hi,

On Tuesday 13 June 2006 19:22, Thomas H. George wrote:
   I am stunned and amazed.  Is this a new option or have I just
   had it set the other way without knowing?

   If its new, what else am I missing?  Was there an announcement I
   missed?

This isn't a new feature (according to [1]). And it defaults to Accept all 
images. So you must have changed it explicitly.

Cheers
Lothar

[1] http://kb.mozillazine.org/index.php?title=Network.image.imageBehavior


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Apache + php: url arguments empty

2006-06-11 Thread Lothar Braun
Hi,

On Sunday 11 June 2006 22:40, Johan de Jong wrote:
 The document root contains an index.php:

 ?php
 printf(mytag has value: %s\n, $mytag);
 ?

 My problem is that when I load the page using:

 http://localhost/?mytag=a

 the value of mytag is empty. I stumbled on this problem when migrating
 an existing and working webpage.

You have to turn register_globals to ON in your php.ini

But you might want to have a look at http://de2.php.net/register_globals 
before you reenable this feature (and learn why it was disabled :D) 

Regards,
Lothar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wrong permissions for /tmp ?

2006-06-08 Thread Lothar Braun
On Friday 09 June 2006 00:12, Paolo Pantaleo wrote:
 Hi,

 I was cheating around and I am afraid I changed permissions to /tmp, they
 are:

 drwxrwxrwt 10 root root 528 2006-06-09 00:16 /tmp/

These are the default permissons for /tmp. So they should be ok :)

Lothar

-- 

http://const-cast.blogspot.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]