Re: "Operation not permitted" error when using su

2013-07-04 Thread Stephen Powell
Sun, 30 Jun 2013 02:09:35 -0400 (EDT), Bob Proulx wrote: > > Stephen Powell wrote: >> ...logged in as root... >>su barney >>vi stuff >>Error: messages not turned on: /dev/pts/0: Operation not permitted > > The above is basically a normal result of the current environment. At > anothe

Re: "Operation not permitted" error when using su

2013-06-29 Thread Bob Proulx
Stephen Powell wrote: > ...logged in as root... >su barney >vi stuff >Error: messages not turned on: /dev/pts/0: Operation not permitted The above is basically a normal result of the current environment. At another level it is a bug in nvi. I suggest that you understand it and then i

Re: "Operation not permitted" error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 18:39:32 -0400 (EDT), Chris Bannister wrote: > > Is there a difference if you " su - barney" ? No, there is no difference. I still get the same error. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.or

Re: "Operation not permitted" error when using su

2013-06-29 Thread Chris Bannister
On Sat, Jun 29, 2013 at 04:00:41PM -0400, Stephen Powell wrote: > I have discovered a problem recently when using su to switch to a user > other than root on a Gnome Terminal session. Let's say I login to the > graphical desktop using a userid of "fred". When I launch a Gnome > Terminal session,

Re: "Operation not permitted" error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 16:26:56 -0400 (EDT), David Guntner wrote: > > No, it won't output a message when you set it y or n. Not sure I > understand why vi is doing something that needs a messages channel > turned on. And it's kind of hard to guess without seeing actual output. :-) > > You said you

Re: "Operation not permitted" error when using su

2013-06-29 Thread David Guntner
Stephen Powell grabbed a keyboard and wrote: > On Sat, 29 Jun 2013 16:07:54 -0400 (EDT), David Guntner wrote: >> >> Stephen Powell grabbed a keyboard and wrote: >>> >>>Error: messages not turned on: /dev/pts/0: Operation not permitted >>> >>> (vi is actually nvi on my system.) >>> This problem

Re: "Operation not permitted" error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 16:07:54 -0400 (EDT), David Guntner wrote: > > Stephen Powell grabbed a keyboard and wrote: >> >>Error: messages not turned on: /dev/pts/0: Operation not permitted >> >> (vi is actually nvi on my system.) >> This problem does not occur in a virtual terminal (vt1-vt6). It

Re: "Operation not permitted" error when using su

2013-06-29 Thread David Guntner
Stephen Powell grabbed a keyboard and wrote: >Error: messages not turned on: /dev/pts/0: Operation not permitted > > (vi is actually nvi on my system.) > This problem does not occur in a virtual terminal (vt1-vt6). It also > does not occur if I switch to root, instead of a non-root user. > >

"Operation not permitted" error when using su

2013-06-29 Thread Stephen Powell
I have discovered a problem recently when using su to switch to a user other than root on a Gnome Terminal session. Let's say I login to the graphical desktop using a userid of "fred". When I launch a Gnome Terminal session, I'm automatically logged in as "fred". Now, let's suppose I switch to u