Shadow passwords under X...

1997-06-10 Thread Curt Howland

Hi. 

I've been wrestling with X, just like everyone else it would
seem. However, I've gotten it *almost* working. The trouble
now seems to be related to shadow passwords.

I have shadow passwords turned on, under Debian 1.3. However,
the X login started automatically at boot does not recognize
any of the valid userID/password combinations. 

My assumption is that X does not know about shadow passwords,
and from my investigations it seems I may be correct.

1) Is there a setting to make it work?

2) If !1, then how do I turn off the automatic X boot-up
   so I can startx after logging on?

Curt-
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Shadow passwords under X...

1997-06-10 Thread Dale Scheetz
On Tue, 10 Jun 1997, Curt Howland wrote:

 the X login started automatically at boot does not recognize
 any of the valid userID/password combinations. 
 
 My assumption is that X does not know about shadow passwords,
 and from my investigations it seems I may be correct.
 
 1) Is there a setting to make it work?
 
This is a problem with the order of installation. The work around is as
follows:

shadowconfig off
shadowconfig on

This will allow shadowconfig to notice that there is a shadow version of
xdm (that wasn't installed at the previous time shadow was enabled) and
install it in place of the shadow ignorant xdm.

This is being fixed in the next release (1.3.1) but the work-around will
get you the same product. (the new package will only deliver xdm-shadow as
it works fine in a non-shadow system)

Luck,

Dwarf
-- 
_-_-_-_-_-_-  _-_-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (904) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Shadow passwords under X...

1997-06-10 Thread J.P.D. Kooij

On Tue, 10 Jun 1997, Curt Howland wrote:

 I have shadow passwords turned on, under Debian 1.3. However,
 the X login started automatically at boot does not recognize
 any of the valid userID/password combinations. 

You're probably referring to the xdm login.
 
 My assumption is that X does not know about shadow passwords,
 and from my investigations it seems I may be correct.

This is indeed correct. The problem is, that there is a separate 
xdm-shadow to handle shadow passwords.

The bug is with xbase, which does not properly install xdm-shadow when 
you've enabled shadow passwords. If you first install xbase and then turn 
on shadow support, this problem does not arise.

 1) Is there a setting to make it work?

The solutions are:
- change to the virtual console with Ctrl-Alt-F1, log in as root and type 
shadowconfig off
  but then you lose shadow support
- change to the virtual console with Ctrl-Alt-F1, log in as root and type
/etc/init.d/xdm stop # because you can't update it when it runs
shadowconfig on  # makes xdm xdm-shadow
/etc/init.d/xdm start# if this were windows, you'd now reboot :-)
- wait for the release of 1.3.1, which will have a fixed xbase.  

 2) If !1, then how do I turn off the automatic X boot-up
so I can startx after logging on?

man xdm. No, seriously, look in /etc/X11/config, you'll find the lines
  start-xdm
  xdm-start-server
These lines were placed there by the xbase configure script when you 
answered yes to the question to run xdm. Anyway, comment those lines 
out with a # and xdm is gone. If you later decide that you want xdm back, 
you can always just uncomment them. 

When you have x running, be sure to install tkman. Makes reading manpages 
a lot more comfortable. 

Good luck,


Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Shadow passwords under X...

1997-06-10 Thread Shaya Potter
On Tue, 10 Jun 1997, Curt Howland wrote:

 
 Hi. 
 
 I've been wrestling with X, just like everyone else it would
 seem. However, I've gotten it *almost* working. The trouble
 now seems to be related to shadow passwords.
 
 I have shadow passwords turned on, under Debian 1.3. However,
 the X login started automatically at boot does not recognize
 any of the valid userID/password combinations. 
 
 My assumption is that X does not know about shadow passwords,
 and from my investigations it seems I may be correct.
 
 1) Is there a setting to make it work?
 
 2) If !1, then how do I turn off the automatic X boot-up
so I can startx after logging on?
 

I believe all you have to do is ctrl-alt-f1 to the first vc, log in as
root and run
shadowconfig off;shadowconfig on

and you should be able to log if from xdm.

HTH,

Shaya


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Shadow passwords under X...

1997-06-10 Thread Curt Howland


Many thanks, I made the change and will let the list know
if it works or not. (I'm not local to the machine at this
time)

Curt-

In reply to 10 Jun message from Brad Patterson [EMAIL PROTECTED]:

Hello,
 I believe this problem occurs because the default xdm does not handle shadow
passwords.  But there should be a file called xdm-shadow in /usr/X11/bin which
will do what you want.  To run it during startup, try editing the xdm file in
/etc/init.d.  Change the line that reads start-stop-daemon --start --verbose
--exec /usr/bin/X11/xdm to start-stop-daemon --start --verbose --exec 
/usr/bin/X11/xdm-shadow  Best of luck.

-Brad


Message from Curt Howland ([EMAIL PROTECTED]):
 
 Hi. 
 
 I've been wrestling with X, just like everyone else it would
 seem. However, I've gotten it *almost* working. The trouble
 now seems to be related to shadow passwords.
 
 I have shadow passwords turned on, under Debian 1.3. However,
 the X login started automatically at boot does not recognize
 any of the valid userID/password combinations. 
 
 My assumption is that X does not know about shadow passwords,
 and from my investigations it seems I may be correct.
 
 1) Is there a setting to make it work?
 
 2) If !1, then how do I turn off the automatic X boot-up
so I can startx after logging on?
 
 Curt-
 [EMAIL PROTECTED]

---
Curt Howland  [EMAIL PROTECTED]  http://www.Priss.com
The Probability Broach by L. Neil Smith
ISBN:0-812-53875-7 Available from Laissez Faire Books
   http://www.lfb.org/   1.800.326.0996


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .