Re: [Cooker] su broken

2002-09-05 Thread Vincent Danen


On Thursday, September 5, 2002, at 08:24 AM, David Walser wrote:

 happens with any X app obviously, problem is obvious:

 [djw9202@backus djw9202]$ su
 Password:
 [root@backus djw9202]# ee
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified


 Gtk-WARNING **: cannot open display: :0.0
 [root@backus djw9202]#

su isn't broken.  You have access controls on your X server.  Before 
you su do xhost +

--
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx - source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}




PGP.sig
Description: PGP signature


Re: [Cooker] su broken

2002-09-05 Thread Frederic Lepied

David Walser [EMAIL PROTECTED] writes:

 happens with any X app obviously, problem is obvious:
 
 [djw9202@backus djw9202]$ su
 Password:
 [root@backus djw9202]# ee
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 
 Gtk-WARNING **: cannot open display: :0.0
 [root@backus djw9202]#
 
 __
 Do You Yahoo!?
 Yahoo! Finance - Get real-time stock quotes
 http://finance.yahoo.com
 

-- 
Fred - May the source be with you




Re: [Cooker] su broken

2002-09-05 Thread Frederic Lepied

David Walser [EMAIL PROTECTED] writes:

 happens with any X app obviously, problem is obvious:
 
 [djw9202@backus djw9202]$ su
 Password:
 [root@backus djw9202]# ee
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 
 Gtk-WARNING **: cannot open display: :0.0
 [root@backus djw9202]#

Can you send me the log with the following change in /etc/pam.d/su:

sessionoptional /lib/security/pam_xauth.so

to

sessionoptional /lib/security/pam_xauth.so debug
-- 
Fred - May the source be with you




Re: [Cooker] su broken

2002-09-05 Thread David Walser

--- Frederic Lepied [EMAIL PROTECTED] wrote:
 David Walser [EMAIL PROTECTED] writes:
 
  happens with any X app obviously, problem is
 obvious:
  
  [djw9202@backus djw9202]$ su
  Password:
  [root@backus djw9202]# ee
  Xlib: connection to :0.0 refused by server
  Xlib: No protocol specified
  
  
  Gtk-WARNING **: cannot open display: :0.0
  [root@backus djw9202]#
 
 Can you send me the log with the following change in
 /etc/pam.d/su:
 
 sessionoptional   /lib/security/pam_xauth.so
 
 to
 
 sessionoptional   /lib/security/pam_xauth.so debug

I've made the change.  Where is the log?

Thanks.

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




Re: [Cooker] su broken

2002-09-05 Thread Sebastian Dransfeld

On 5 Sep 2002, Frederic Lepied wrote:

 David Walser [EMAIL PROTECTED] writes:

  happens with any X app obviously, problem is obvious:
 
  [djw9202@backus djw9202]$ su
  Password:
  [root@backus djw9202]# ee
  Xlib: connection to :0.0 refused by server
  Xlib: No protocol specified
 
 
  Gtk-WARNING **: cannot open display: :0.0
  [root@backus djw9202]#

 Can you send me the log with the following change in /etc/pam.d/su:

 sessionoptional   /lib/security/pam_xauth.so

 to

 sessionoptional   /lib/security/pam_xauth.so debug

su ins't linked to -lpam Reported this error a while ago.

Sebastian





Re: [Cooker] su broken

2002-09-05 Thread Frederic Lepied

Sebastian Dransfeld [EMAIL PROTECTED] writes:


[...]

 
 su ins't linked to -lpam Reported this error a while ago.

Exact. Fixed in sh-utils-2.0.15-2mdk.
-- 
Fred - May the source be with you




[Cooker] Lataest Cooker - SU Konsole must be XKilled

2002-06-20 Thread newslett


Trying to close the window does not work, the process has to be killed 
manually.





[Cooker] su and XAUTHORITY

2001-08-17 Thread Michael Reinsch

Hi!

* Mon Aug 06 2001 Chmouel Boudjnah [EMAIL PROTECTED] 2.0.11-4mdk

- pass XAUTHORITY through su (rh).
- re-fix su exit code (rh).

this seems to work when doing su - but not when doing 
su - user != root. Is this intentional?

-- 
  Michael Reinsch [EMAIL PROTECTED]   http://mr.uue.org





Re: [Cooker] su and XAUTHORITY

2001-08-17 Thread Christian Bricart

On Fri, Aug 17, 2001 at 11:18:47AM +0200, Michael Reinsch wrote:
 Hi!
 
 * Mon Aug 06 2001 Chmouel Boudjnah [EMAIL PROTECTED] 2.0.11-4mdk
 
 - pass XAUTHORITY through su (rh).
 - re-fix su exit code (rh).
 
 this seems to work when doing su - but not when doing 
 su - user != root. Is this intentional?

what about using: ssh -X user@localhost ? :-)


Christian

-- 
Things that make you go Hmmm:
  If a train station is where the train stops, what is a workstation?
   




[Cooker] su

2001-05-30 Thread Sebastian Dransfeld


Sometimes su - hangs while waiting for a stty erase ?.

Where does this come from?

seb






Re: [Cooker] su pam problems fix

2000-09-25 Thread Frederic Lepied

Bryan Paxton [EMAIL PROTECTED] writes:

 The problem is with the lasest sh-utils the su module in /etc/pam.d is 
 looking for /etc/pam.d/system-auth, which isn't there(not part of the lasest 
 pam rpm). Just add a few lines to pam.spec to remedy 
 this(pam-%{version}/system-auth.pamd).
 
 Blaaa : )

done in 11mdk. Thanks
-- 
Fred - May the source be with you





[Cooker] su

2000-09-25 Thread Jean Meloche

Help...

su is broken:

[jean@rocks jean]$ su - 
su: incorrect password
[jean@rocks jean]$ 

It does not wait for a password and exists...

Keep a root shell around until the patch...

-- 
Jean Meloche
[EMAIL PROTECTED]
e-gold # 133947




Re: [Cooker] su

2000-09-25 Thread Chmouel Boudjnah

Jean Meloche [EMAIL PROTECTED] writes:

 Help...
 
 su is broken:
 
   [jean@rocks jean]$ su - 
   su: incorrect password
   [jean@rocks jean]$ 
 
 It does not wait for a password and exists...
 
 Keep a root shell around until the patch...

did you upgrade the pam ?

-- 
MandrakeSoft Inc http://www.chmouel.org
Paris, France --Chmouel




Re: [Cooker] su

2000-09-25 Thread Jean Meloche

On Mon, 25 Sep 2000, you wrote:
 Jean Meloche [EMAIL PROTECTED] writes:
  Help...
 
  su is broken:
 
  [jean@rocks jean]$ su -
  su: incorrect password
  [jean@rocks jean]$
 
  It does not wait for a password and exists...
 
  Keep a root shell around until the patch...

 did you upgrade the pam ?

pam-0.72-9mdk

-- 
Jean Meloche
[EMAIL PROTECTED]
e-gold # 133947




Re: [Cooker] su

2000-09-25 Thread Jean Meloche

On Mon, 25 Sep 2000, you wrote:
 Jean Meloche [EMAIL PROTECTED] writes:
  Help...
 
  su is broken:
 
  [jean@rocks jean]$ su -
  su: incorrect password
  [jean@rocks jean]$
 
  It does not wait for a password and exists...
 
  Keep a root shell around until the patch...

 did you upgrade the pam ?

ok thanks... wrong mirror I guess...

-- 
Jean Meloche
[EMAIL PROTECTED]
e-gold # 133947




Re: [Cooker] su

2000-09-25 Thread Chmouel Boudjnah

Jean Meloche [EMAIL PROTECTED] writes:

 On Mon, 25 Sep 2000, you wrote:
  Jean Meloche [EMAIL PROTECTED] writes:
   Help...
  
   su is broken:
  
 [jean@rocks jean]$ su -
 su: incorrect password
 [jean@rocks jean]$
  
   It does not wait for a password and exists...
  
   Keep a root shell around until the patch...
 
  did you upgrade the pam ?
 
 pam-0.72-9mdk

upgrade to this one :

(chmou@no)[char/agp]-% ch /RPMS/pam-0.72-11mdk.i586.rpm
 
* Mon Sep 25 2000 Frederic Lepied [EMAIL PROTECTED] 0.72-11mdk

- include system-auth (chmou sucks).



-- 
MandrakeSoft Inc http://www.chmouel.org
Paris, France --Chmouel




[Cooker] su: could not open session

2000-09-24 Thread Bryan Paxton

After an upgrade last night(NOTE: I really need to make note of the
packages that I upgrade during a mass upgrade), I get this error as _root_
when trying to su. As a normal user I get incorrect password and it
doesn't even give me a chance to enter a password, just spits out the
error. 

The only thing I could think this is caused from is a pam problem, but I
can't validate this. 
Any clue ?

--
Bryan Paxton






[Cooker] su pam problems fix

2000-09-24 Thread Bryan Paxton

The problem is with the lasest sh-utils the su module in /etc/pam.d is 
looking for /etc/pam.d/system-auth, which isn't there(not part of the lasest 
pam rpm). Just add a few lines to pam.spec to remedy 
this(pam-%{version}/system-auth.pamd).

Blaaa : )
-- 
Bryan Paxton
Public key can be found at http://speedbros.org/bryan.paxton.asc