Re: Nasty reference loop in login.conf

2012-07-17 Thread Lowell Gilbert
Jakub Lach jakub_l...@mailplus.pl writes:

 1. Hope I can still log in single user mode and correct 
 /etc/login.conf? I'm afraid of md5 - sha512 change.

It's not a problem. New passwords will be created with SHA512, but old
ones in MD5 (or, for that matter, DES or Bluefish or several other
formats listed in crypt(3)) will still work. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
If remember correctly, accessing single user mode here
requires root password, but will it use login.conf?

Killing init is not solution (I think I lack privileges as 
user anyway, remember I can't su account) because
I'm running KMS patches and will not see anything 
(lacking visible system console output).


--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727686.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Initially dropped to single user mode, but when 
I saw ED(1) I reconsidered and dusted off trusty 
LiveCD :)

Thanks.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Mike Jeays
On Tue, 17 Jul 2012 12:48:38 -0700 (PDT)
Jakub Lach jakub_l...@mailplus.pl wrote:

 Initially dropped to single user mode, but when 
 I saw ED(1) I reconsidered and dusted off trusty 
 LiveCD :)
 
 Thanks.
 
 --
 View this message in context: 
 http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

ed is OK if you have access to another machine with internet access - the wiki 
article tells how to use it, and it isn't hard when you know how.

With single-user mode only, not so easy...

A very crude README that gives the basics, that is accessible in single user 
mode, might be quite useful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Or vi in place.

Really, it always surprises me there's 
no vi available in single user mode.

vi 352k, ed 54k. 

And I bet some historical vi could be 
smaller still.

...but I have nothing against ed, I 
simply never memorized how to
use it properly.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727716.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Reko Turja
-Original Message- 
From: Jakub Lach


Or vi in place.


Really, it always surprises me there's
no vi available in single user mode.


If machine is mostly sane, why not just mount -a upon entering single 
user?


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
That's substantial if, no?

But in this case, yes, I should 
have mounted fs maybe.

But really didn't know what to
expect.

Thanks for help again.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727720.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread RW
On Tue, 17 Jul 2012 13:26:10 -0700 (PDT)
Jakub Lach wrote:

 Or vi in place.
 
 Really, it always surprises me there's 
 no vi available in single user mode.
 

There is /rescue/vi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Good catch, totally missed it.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727755.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org