Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 Naive ld -r file1.o file2.o -o output.o produce ld: Relocatable linking with relocations from format elf32-i386 (file1.o) to format elf64-x86-64 (output.o) is not supported But even when I add --oformat

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Shachar Shemesh
On 04/04/11 10:15, Valery Reznic wrote: Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 Naive ld -r file1.o file2.o -o output.o produce ld: Relocatable linking with relocations from format elf32-i386 (file1.o) to format elf64-x86-64 (output.o) is not

Creating a User with Access to a Single Command

2011-04-04 Thread Amichai Rotman
Hi all, I want to create a user that will be able to only run ssh. I thought of sudo, but I am not sure how to configure it right so he will not be able to run anything else... Can you help me with the settings in the /etc/sudoers? Thanks! Amichai.

Re: Creating a User with Access to a Single Command

2011-04-04 Thread Ariel Biener
That's not what you want. Please read about restricted shell. A working example: /etc/passwd: ariel:x:uid:gid::/home/ariel:/bin/rbash ls -l /bin/rbash lrwxrwxrwx 1 root root 4 Apr 10 2006 /bin/rbash - bash drwx-t 4 ariel mygroup 4096 Apr 1 22:50 /home/ariel ls -al ~ariel -r-xr-xr-x

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
--- On Mon, 4/4/11, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: Re: Relocatable linking on x86-64 for i386 To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il Date: Monday, April 4, 2011, 11:13 AM On 04/04/11 10:15, Valery

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread shimi
On Mon, Apr 4, 2011 at 10:15 AM, Valery Reznic valery_rez...@yahoo.comwrote: Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 Naive ld -r file1.o file2.o -o output.o produce ld: Relocatable linking with relocations from format elf32-i386 (file1.o)

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Gleb Natapov
On Mon, Apr 04, 2011 at 02:06:18AM -0700, Valery Reznic wrote: --- On Mon, 4/4/11, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: Re: Relocatable linking on x86-64 for i386 To: Valery Reznic valery_rez...@yahoo.com Cc:

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
ld --output-format elf32-i386 -r file1.o file2.o -o output.o ld: Relocatable linking with relocations from format elf32-i386 (file1.o) to format elf32-i386 (output.o) is not supported ld -m  elf_i386 -r file1.o file2.o -o output.o Thanks, it works!! Great!!! Valery

MediaWiki sorting the Hebrew Alphabet

2011-04-04 Thread Ira Abramov
On several sites I manage I have this problem - Category pages display articles and subcategories sorted absolutely wrong. As far as I can tell this is only a Hebrew issue. Anyone got a clue? Someone told me it may be a question of DB collation or something, but I don't want to touch anything

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Ehud Karni
On Mon, 4 Apr 2011 13:15:39 Gleb Natapov wrote: On 04/04/11 10:15, Valery Reznic wrote: Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 ld -m elf_i386 -r file1.o file2.o -o output.o If you use gcc for compiling you can do gcc -m32 arguments

Re: MediaWiki sorting the Hebrew Alphabet

2011-04-04 Thread Herouth Maoz
Quoting Ira Abramov lists-linux...@ira.abramov.org: Quoting Herouth Maoz, from the post of Mon, 04 Apr: Which database are you using? As far as I know, both PostgreSQL and MySQL are dependent on the usual libraries for their sorting algorithms, and therefore on the variable LC_COLLATE.

Re: MediaWiki sorting the Hebrew Alphabet

2011-04-04 Thread Herouth Maoz
Quoting Ira Abramov lists-linux...@ira.abramov.org: On several sites I manage I have this problem - Category pages display articles and subcategories sorted absolutely wrong. As far as I can tell this is only a Hebrew issue. Anyone got a clue? Someone told me it may be a question of DB

VLC can read it but I cannot?

2011-04-04 Thread Gabor Szabo
I have a CD with a short video film on it. I can see the video using VLC but when I try to copy the VIDEO_TS I get an error: ls -al /media/cdrom/ ls: cannot access /media/cdrom/.: Permission denied ls: cannot access /media/cdrom/..: Permission denied ls: cannot access /media/cdrom/VIDEO_TS:

Re: VLC can read it but I cannot?

2011-04-04 Thread shimi
On Tue, Apr 5, 2011 at 12:56 AM, Gabor Szabo szab...@gmail.com wrote: I have a CD with a short video film on it. I can see the video using VLC but when I try to copy the VIDEO_TS I get an error: ls -al /media/cdrom/ ls: cannot access /media/cdrom/.: Permission denied ls: cannot access

Re: VLC can read it but I cannot?

2011-04-04 Thread ik
How did you mount the CD ? When you write $ mount What are the information you have on it ? Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il On Tue, Apr 5, 2011 at 00:56, Gabor Szabo szab...@gmail.com wrote: I have a CD with a short video