RE: su command failing on RHEL5

2009-06-12 Thread Sanjay Kumar
3 PM To: Sanjay Kumar Cc: bug-coreutils@gnu.org Subject: Re: su command failing on RHEL5 Sanjay Kumar wrote: > [r...@omvm6 ~]# su poo -c "cat /dev/tty" > cat: /dev/tty: No such device or address > ... > strace is showing below: > open("/dev/tty", O_RDONLY)

Re: su command failing on RHEL5

2009-06-12 Thread Ondřej Vašík
Hello, Sanjay Kumar wrote: > [r...@omvm6 ~]# su poo -c "cat /dev/tty" > cat: /dev/tty: No such device or address > open("/dev/tty", O_RDONLY) = -1 ENXIO (No such device or > address) 1) su command is not failing 2) cat is working as expected su

Re: su command failing on RHEL5

2009-06-12 Thread Andreas Schwab
Bob Proulx writes: > Sanjay Kumar wrote: >> [r...@omvm6 ~]# su poo -c "cat /dev/tty" >> cat: /dev/tty: No such device or address >> ... >> strace is showing below: >> open("/dev/tty", O_RDONLY) = -1 ENXIO (No such device or

Re: su command failing on RHEL5

2009-06-12 Thread Bob Proulx
Sanjay Kumar wrote: > [r...@omvm6 ~]# su poo -c "cat /dev/tty" > cat: /dev/tty: No such device or address > ... > strace is showing below: > open("/dev/tty", O_RDONLY) = -1 ENXIO (No such device or address) The su command appears to be working pr

su command failing on RHEL5

2009-06-12 Thread Sanjay Kumar
Hi, su command is failing with below error on RHEL5. We are using coreutils-5.97-14.el5 [r...@omvm6 ~]# su --version su (GNU coreutils) 5.97 [r...@omvm6 ~]# su poo -c "cat /dev/tty" cat: /dev/tty: No such device or address strace is showing below: .

Re: su command...

2009-03-26 Thread Alfred M. Szmidt
> Please, how can I execute the following idea: $ su gimp & > but really in bacground? I can not figure out what you want to do, but you might try=20 this : if [[ $(grep gimp /etc/passwd | cut -d':' -f1) == "gimp" ]]; then su - gimp; else su -; export DISPLAY=:0.0; gimp &; logout;

Re: su command...

2009-03-25 Thread Mike Frysinger
On Wednesday 25 March 2009 16:57:26 Olivier Delhomme wrote: > Le Wed, 25 Mar 2009 18:51:41 +0100, Adilson Bonanovisky disait : > > Please, how can I execute the following idea: $ su gimp & > > but really in bacground? > > I can not figure out what you want to do, but you might try > this : > > if [

Re: su command...

2009-03-25 Thread Olivier Delhomme
Le Wed, 25 Mar 2009 18:51:41 +0100, Adilson Bonanovisky disait : > Hi Kids! Hello, > Please, how can I execute the following idea: $ su gimp & > but really in bacground? I can not figure out what you want to do, but you might try this : if [[ $(grep gimp /etc/passwd | cut -d':' -f1) == "gimp"

su command...

2009-03-25 Thread Adilson Bonanovisky
Hi Kids! Please, how can I execute the following idea: $ su gimp & but really in bacground? Thanks ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: su command requiry

2007-09-07 Thread Micah Cowan
熊途 wrote: > hello: > when I used "su" command to get into Linux by root in terminal > windows, I can not input password. Another user name too.How can I resolve > my problem.thank you! It may be that you're confused by the fact that the "su"

Re: su command requiry

2007-09-07 Thread Mark Rose
; where foo is the username you want to change to. Check "man su" for more information. --Mark On Friday 07 September 2007 9:26:50 pm 熊途 wrote: > hello: > when I used "su" command to get into Linux by root in terminal > windows, I can not input pass

su command requiry

2007-09-07 Thread 熊途
hello: when I used "su" command to get into Linux by root in terminal windows, I can not input password. Another user name too.How can I resolve my problem.thank you! -- 熊途 ___ Bug-coreutils mailing list Bug-coreutils@gn

Re: su command is slow

2004-11-04 Thread Paul Eggert
"QUAZI ISLAM" <[EMAIL PROTECTED]> writes: > I'm trying switch new user in Solaris 8 by using su - ortorg and it > takes about a minute to change it. > But if I do su - qislam it change immediately. Most likely this is something to do with problems accessing ortorg's home directory, or executing

su command is slow

2004-11-04 Thread QUAZI ISLAM
Hi: I'm trying switch new user in Solaris 8 by using su - ortorg and it takes about a minute to change it. But if I do su - qislam it change immediately. Please let me know what could be the problems. -Quazi ___ Bug-coreutils mailing list [EMAIL PROT