[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange result when typing wrong password



Here is a patch that fixes the problem.  Niklas, could you try it and
see that it works correctly?

2002-05-05  Alfred M. Szmidt  <ams@kemisten.nu>

	* Makefile (login-.bash_login): New target.
	* login-.bash_login.in: New file.
	* login-.bash_login: Removed.

Index: config/Makefile
===================================================================
RCS file: /cvsroot/hurd/hurd/config/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- config/Makefile	30 May 1999 01:47:35 -0000	1.27
+++ config/Makefile	5 Jun 2002 21:13:56 -0000
@@ -44,6 +44,9 @@ $(installed_logins): FORCE
 
 include ../Makeconf
 
+login-.bash_login: login-.bash_login.in
+	sed -e 's/SYSCONFDIR/$(sysconfdir)\/login/' < $< > $@
+
 install: $(sysconfdir) $(sysconfdir)/login \
 	 $(installed_conf) $(installed_logins)
 
@@ -55,3 +58,4 @@ $(installed_logins): $(sysconfdir)/login
 
 $(installed_conf): $(sysconfdir)/%: %
 	$(INSTALL_DATA) $< $(sysconfdir)/$*

Index: config/login-.bash_login.in
===================================================================
RCS file: config/login-.bash_login.in
diff -N config/login-.bash_login.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ config/login-.bash_login.in	5 Jun 2002 21:13:56 -0000
@@ -0,0 +1,2 @@
+. SYSCONFDIR/.bashrc
+. SYSCONFDIR/.profile

-- 
Alfred M. Szmidt


-- 
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: