[gentoo-user] confused about suid

2006-01-28 Thread Robert Persson
I am trying to create a script so users can execute a certain command as root without entering a password. I thought suid was the way to do this, but I am not having any success. The command I want to execute as root is echo -n mem /sys/power/status. I created a bash script

Re: [gentoo-user] /usr/bin/test doesn't seem to do anything

2006-01-28 Thread Beau E. Cox
On Friday 27 January 2006 09:43 pm, Robert Persson wrote: On Thursday 26 January 2006 16:22 Richard Fish was like: test doesn't output anything...it indicates success/failure with the exit code.   ... As others have said though, watch out for the 'test' command built-in to many shells,

Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.

2006-01-28 Thread Uwe Thiem
On 28 January 2006 06:14, Abhay Kedia wrote: Is TZ set in your environment? If so, unset it and let /etc/localtime do the job. How can I know what is the TZ in my environment? Just curious. env | grep TZ Uwe -- Unix is sexy: who | grep -i blonde | date cd ~; unzip; touch; strip; finger

Re: [gentoo-user] Browser not launching.

2006-01-28 Thread Nagatoro
Nagatoro wrote: Hi, I have a very annoying problem. I can't open web links by clicking them. If I set the default (Control-Center-KDE Components-Component Chooser and File Associations) and it works from pure KDE applications but from others (eg thunderbird and xchat) it doesn't work. This

Re: [gentoo-user] confused about suid

2006-01-28 Thread Uwe Thiem
On 28 January 2006 09:55, Robert Persson wrote: I am trying to create a script so users can execute a certain command as root without entering a password. I thought suid was the way to do this, but I am not having any success. The command I want to execute as root is echo -n mem

Re: [gentoo-user] confused about suid

2006-01-28 Thread Harald Arnesen
Robert Persson [EMAIL PROTECTED] writes: I am trying to create a script so users can execute a certain command as root without entering a password. I thought suid was the way to do this, but I am not having any success. The command I want to execute as root is echo -n mem /sys/power/status.

Re: [gentoo-user] dead USB card?

2006-01-28 Thread Petr Kocmid
It looks like you have a USB 1.0 hub connected to USB 1.1 controller, if it's true, your scanner probably does not like it because of insuficient power and/or speed. -- Petr -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Can't browse WinXP shares from gentoo

2006-01-28 Thread Robin
Can you login to the share using smbclient ? smbclient //pc_name/share To mount the share I just use mount -t smbfs -o username=user,password=pass //robin/share /mnt/smb And my PC is Windows XP SP2. One think that maybe causing a problem is the Windows Firewall It will give you strange

Re: [gentoo-user] dead USB card?

2006-01-28 Thread Jorge Almeida
On Sat, 28 Jan 2006, Petr Kocmid wrote: It looks like you have a USB 1.0 hub connected to USB 1.1 controller, if it's true, your scanner probably does not like it because of insuficient power and/or speed. I didn't connect any hub, the controller is in a PCI card and the scanner is connected

Re: [gentoo-user] Connection blocking

2006-01-28 Thread Robin
Are you sure the Socket Server is actually listening on the port? The app actually not running is the only real problem I can think of. On 1/22/06, Mikhail Yarmish [EMAIL PROTECTED] wrote: Some time ago, when I was making socket server with python I could connect to it via another computer from

[gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Fredrik Lundgren
Dear list, I haven't used my Gentoo for more than half a year or so (it was well updated then) so the other night I made an update emerge --update system and all appeared to go well (lots of updates) but when I rebooted i got * checking root filesystem ... Failed to open the device

[gentoo-user] clamav klamav

2006-01-28 Thread Matthew R. Lee
I've just emerged clamav klamav. Everything seems to have gone fine. I did /etc/init.d/clamd restart. I went through the klamav setup, again fine. But when I try to update the database it claims it can't connect to the network. The network is up and running so its not the problem. I've

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Richard Fish
On 1/28/06, Fredrik Lundgren [EMAIL PROTECTED] wrote: and all appeared to go well (lots of updates) but when I rebooted i got * checking root filesystem ... Failed to open the device '/dev/hda2': No such file or directory * Filesystem couldn't be fixed: (Give root password for

Re: [gentoo-user] dead USB card?

2006-01-28 Thread Richard Fish
On 1/27/06, Jorge Almeida [EMAIL PROTECTED] wrote: I have a USB PCI card which stopped working, meaning my scanner stopped being detected. The problem remains also under KNOPPIX. Can I assume the card is dead? (But it is recognized, sort of...) Partial output of lspci -vvv (as root):

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Fredrik Lundgren
Thanks for the advice, To the best of my knoledge Kernel 2.6.15.1 was downloaded and installed. I haven't made any change with respect to devfs or udev. How should i make the migration? And I haven't used etc-update. What should I start with? Again thanks from Fredrik - Original Message

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Ernie Schroder
On Saturday 28 January 2006 09:15, a tiny voice compelled Fredrik Lundgren to write: Thanks for the advice, To the best of my knoledge Kernel 2.6.15.1 was downloaded and installed. I haven't made any change with respect to devfs or udev. How should i make the migration? And I haven't used

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Fredrik Lundgren
Sorry for my misstake, --- uname -a Linux(none) 2.6.10-gentoo-r6 #8 Thu Feb 17 13:15:44 CET 2005 i686 Intel(R) Pentium(R) M processor 1.70 Ghz Centurion Intel GNU/Linux etc-update mkdir: cannot create directory '/var/tmp/1162': Read only file system --- That must be my old Kernel which worked

[gentoo-user] uname -a question

2006-01-28 Thread Ernie Schroder
Where does uname find kernel version? For my last 2 new kernels, uname -a returns some off the wall kernel version. It seems to be picking up extra info from God know where. $ uname -a Linux MRK 2.6.15-gentoo-r12.6.14-r-4_new #1 Fri Jan 27 12:38:49 EST 2006 i686 AMD Athlon(tm) XP 2400+

Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.

2006-01-28 Thread Benno Schulenberg
Abhay Kedia wrote: On Saturday 28 January 2006 02:55, Benno Schulenberg wrote: the /etc/adjtime file. Throw it away, as it might be the adjusting feature that thinks your clock is drifting a full hour per hour (that is: ticks away two hours in one). That was it!!! That was the file

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Richard Fish
On 1/28/06, Fredrik Lundgren [EMAIL PROTECTED] wrote: Sorry for my misstake, --- uname -a Linux(none) 2.6.10-gentoo-r6 #8 Thu Feb 17 13:15:44 CET 2005 i686 Intel(R) Pentium(R) M processor 1.70 Ghz Centurion Intel GNU/Linux etc-update mkdir: cannot create directory '/var/tmp/1162': Read

Re: [gentoo-user] uname -a question

2006-01-28 Thread Richard Fish
On 1/28/06, Ernie Schroder [EMAIL PROTECTED] wrote: Where does uname find kernel version? For my last 2 new kernels, uname -a returns some off the wall kernel version. It seems to be picking up extra info from God know where. It comes from the version embedded in the kernel, returned via the

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Uwe Thiem
On 28 January 2006 16:15, Fredrik Lundgren wrote: Thanks for the advice, To the best of my knoledge Kernel 2.6.15.1 was downloaded and installed. I haven't made any change with respect to devfs or udev. How should i make the migration? And I haven't used etc-update. What should I start with?

Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.

2006-01-28 Thread Abhay Kedia
On Saturday 28 January 2006 20:38, Benno Schulenberg wrote: See man hwclock, the section on The Adjust Function. Thanks for the explanation and the tip. It certainly makes sense now :-) Also, should I enable RTC in my kernel? I disabled it recently when I was trying to get to the root of this

Re: [gentoo-user] uname -a question

2006-01-28 Thread Ernie Schroder
On Saturday 28 January 2006 10:31, a tiny voice compelled Richard Fish to write: On 1/28/06, Ernie Schroder [EMAIL PROTECTED] wrote: Where does uname find kernel version? For my last 2 new kernels, uname -a returns some off the wall kernel version. It seems to be picking up extra info from

Re: [gentoo-user] ... fails to open device '/dev/hda2' after update

2006-01-28 Thread Fredrik Lundgren
Thanks again, --- mount / -o remount, noatime,rw --- gave no protests --- etc-update --- Worked this time and I updated all and moved to my home directory and were able to change a file there looked at /etc/conf.d/rc but made no chages rebooted and ended up at the same place as before *

Re: [gentoo-user] clamav klamav

2006-01-28 Thread Robin
There is a decent Gentoo Wiki article on configuring Clamav. Take a look, that what I used for a guideline. Unfortunately the wiki is down now so I can't give you a link. Just do a search when it comes back online. Robin On 1/28/06, Matthew R. Lee [EMAIL PROTECTED] wrote: I've just emerged

[gentoo-user] sys-libs/glibc-2.3.6-r2 build error and locales

2006-01-28 Thread Martins Steinbergs
Hi, My problem is with flphoto and fluxbox, which doesnt have text in menus, so I decided it would be nice to add us_gb locales my make.conf has: mar martins # cat /etc/make.conf | grep LINGUAS LINGUAS=lv en and locales.build now has: en_US en_US/ISO-8859-1 en_US.UTF-8/UTF-8 en_GB

[gentoo-user] Re: vim USE flag: vim-with-x

2006-01-28 Thread Moshe Kaminsky
* Walter Dnes [EMAIL PROTECTED] [27/01/06 10:18]: On Sun, Jan 22, 2006 at 06:13:24AM +, Ciaran McCreesh wrote + and * , but only if you USE=vim-with-x. Did that, and it doesn't seem to help. Here's my status... [m3000][root][~] emerge --pretend --verbose vim These are the

Re: [gentoo-user] Sound problem

2006-01-28 Thread Rafael Barrera Oro
Problem solved! i compiled all the required drivers as modules and then ran alsaconf, now my sound is finally working. Thanks to you all Rafa -- gentoo-user@gentoo.org mailing list

[gentoo-user] emerge strace fails

2006-01-28 Thread Ernie Schroder
emerge strace fails with the following errors: (updating a couple of packages since I first got these errors was successful) resource.c:478: error: `Q_SETUSE' undeclared here (not in a function) resource.c:478: error: initializer element is not constant resource.c:478: error: (near initialization

[gentoo-user] Re: revdep-rebuild never seems to work

2006-01-28 Thread Sven Köhler
What I don't understand is why doesn't it just do this: emerge app-admin/gnome-system-tools app-editors/gedit app-text/evince gnome-base/control-center gnome-base/gdm because there are slotted packages - and revdep-rebuild would have to take the newest version within the same slot. That is a

Re: [gentoo-user] clamav klamav [solved]

2006-01-28 Thread Matthew R. Lee
Very simple, just needed to add my user to the clamav group. Problem sorted :-) Matt On Saturday 28 January 2006 13:58, Robin wrote: There is a decent Gentoo Wiki article on configuring Clamav. Take a look, that what I used for a guideline. Unfortunately the wiki is down now so I can't

[gentoo-user] 3.5 hours!

2006-01-28 Thread Ernie Schroder
I haven't seen any new posts in 3 and a half hours. That must be a new record. -- Regards, Ernie -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] 3.5 hours!

2006-01-28 Thread Beau E. Cox
On Saturday 28 January 2006 12:52 pm, Ernie Schroder wrote: I haven't seen any new posts in 3 and a half hours. That must be a new record. -- Regards, Ernie post, post, post, ... :) -- Aloha = Beau; -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] 3.5 hours!

2006-01-28 Thread fire-eyes
Ernie Schroder wrote: I haven't seen any new posts in 3 and a half hours. That must be a new record. Oh yeah? I guess this is a good time to post my problem then and break that (other than this message). -- gentoo-user@gentoo.org mailing list

[gentoo-user] DHCP Timeouts

2006-01-28 Thread fire-eyes
I am having problems with dhcp on my wireless interface. Which is confusing, it worked fine before. It just times out. If I assign everything manually, there are no issues. Some ask if it's because association with the AP is taking too long, but I know it is not that, because I am manually

[gentoo-user] SOLVED: DHCP Timeouts

2006-01-28 Thread fire-eyes
fire-eyes wrote: I am having problems with dhcp on my wireless interface. Which is confusing, it worked fine before. It just times out. If I assign everything manually, there are no issues. Some ask if it's because association with the AP is taking too long, but I know it is not that,

Re: [gentoo-user] Installing KDE...Again.... (Now at howto install kde)

2006-01-28 Thread Ian
Hey again!Im having issues.I saw on the gentoo forums that kdelibs-3.5.1 isn't on the servers yet, but I cant seem to get it to go down to 3.5.0. In order for me to get 3.5 anything I needed to unmask all of the packages im building in package.keywords. So I get:#USE=-arts alsa emerge -p kicker

[gentoo-user] getting the right answer from `hostname --long'

2006-01-28 Thread reader
Just trashed the mobo on my gentoo machine and reinstalled on a different machine entirely. (sendmail-8.13.4) I'm setting up sendmail... something I've done many times but each time it has been a right pain in the butt. No exception this time... I'm not running a mailserver, just a stand alone