Hi,
Comments below...
On Wed, 22 Jan 2003, guy keren wrote:
> can you show the output of the commands 'ls -l /dev/tty' and 'tty' (before
> running 'su -') - and then run 'ls -l' for the tty this last command
> showed you?
[root@galadriel ~]# ls -l /dev/tty
crw-rw-rw-1 root root 5,
On Wed, 22 Jan 2003, Amit Margalit wrote:
> Well, I am home now, in front of the text-mode console, and I tried to run
> strace su - amit inside of 'script', but this means that my tty is
> /dev/pts/ and I don't get the error...
> So I ran it without, and below is the captured output.
> Any help
Hi,
Well, I am home now, in front of the text-mode console, and I tried to run
strace su - amit inside of 'script', but this means that my tty is
/dev/pts/ and I don't get the error...
So I ran it without, and below is the captured output.
Any help would be welcome.
Thanks,
Amit
strace lo
Hi,
Yes. My attempt that asked for the password was when I reversed things.
Thanks for the explanation on strace, Shachar.
Amit
On 22 Jan 2003, Oleg Goldshmidt wrote:
> Shachar Shemesh <[EMAIL PROTECTED]> writes:
>
> > I believe you will find that amit is not running as root.
>
> That'
Hi,
On 22 Jan 2003, Oleg Goldshmidt wrote:
> Not the same process or not the same PID? I am absolutely sure it is
> not 4724 all the time.
Right. I don't know what the image begin run is. I tried strace but it
seems that it doesn't happen on non-console windows (more specifically, it
happens to
Shachar Shemesh <[EMAIL PROTECTED]> writes:
> I believe you will find that amit is not running as root.
That's the point. His OP looked like he *was* running as root and
tried to su as a regular user.
--
Oleg Goldshmidt | [EMAIL PROTECTED]
==
Oleg Goldshmidt wrote:
I tried to run strace (I wonder how I forgot about it in the first place),
but it seems it never allows me to su root with strace. I keep getting
'Incorrect Password'.
I am missing something here. You are not trying to "su root", you are
trying to "su - amit". I can s
Amit Margalit <[EMAIL PROTECTED]> writes:
> Hi,
>
> First, it's not always the same process. So 4724 can (and does) change
> between su attempts.
Not the same process or not the same PID? I am absolutely sure it is
not 4724 all the time.
> I noticed that this is happening to me only on text-mod
Hi,
First, it's not always the same process. So 4724 can (and does) change
between su attempts.
I noticed that this is happening to me only on text-mode logins. If I
telnet to my machine from another machine and then su, it won't happen.
The fd/15 part is always the same.
I tried to run strace
From: Amit Margalit [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 8:41 AM
To: [EMAIL PROTECTED]
Subject: Getting weird errors on /proc
Hi,
I get a weird error when I su into my regular user:
[root@galadriel ~]# su - amit
/proc/4724/fd/15: Permission denied.
[amit@galadriel ~]$
An
Amit Margalit <[EMAIL PROTECTED]> writes:
> [root@galadriel ~]# su - amit
> /proc/4724/fd/15: Permission denied.
> [amit@galadriel ~]$
>
> Any ideas? I don't even know what else to mention...
In addition to permissions:
What's the process 4724?
What is fd 15? A socket?
Run strace to see what i
Amit Margalit <[EMAIL PROTECTED]> writes:
> [root@galadriel ~]# su - amit
> /proc/4724/fd/15: Permission denied.
> [amit@galadriel ~]$
>
> Any ideas? I don't even know what else to mention...
Permissions on the file and the directory? And on /bin/t?csh?
--
Oleg Goldshmidt | [EMAIL PROTECTED]
Hi,
I get a weird error when I su into my regular user:
[root@galadriel ~]# su - amit
/proc/4724/fd/15: Permission denied.
[amit@galadriel ~]$
Any ideas? I don't even know what else to mention...
RedHat 7.1, user amit has tcsh as the shell. I get this kind of error from
some scripts I run as ro
13 matches
Mail list logo