Re: xdm prevents me from shutting the system down clean

2015-11-08 Thread Ottavio Caruso
On 7 November 2015 at 22:21, Nick Hudson  wrote:
> On 11/04/15 14:53, Ottavio Caruso wrote:
>>
>> On 4 November 2015 at 10:55, Paul Goyette  wrote:
>>>
>>> I used to get this, too.  But the problem seems to have disappeared,
>>> at least on recent (last 30 days or so) -current kernels (within the
>>> last 30 days or so).
>>>
>>> I don't know of any specific commit that would have fixed this, but
>>> if someone can narrow it down it would be nice to get it pulled up
>>> to netbsd-7 branch before we ship 7.1  :)
>>>
>>>
>> What's the timeline for 7.1?
>
> You might like to try
>
> http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201511070620Z/amd64/binary/kernel/netbsd-GENERIC.gz
>
> which has the fixes I *think* might fix things.
>
> Nick

And indeed it fixed the issue I had. Thanks.


-- 
Ottavio


How to allow root telnet to a NetBSD 6.1.5 box

2015-11-08 Thread jmitchel

Hello,

I have an appliance that I'm upgrading from 1.6.2 (I know, I know) to 
6.1.5. The appliance currently only has the root account. I want users 
to be able to set up the box without having to use a serial cable, so 
I'm configuring it with a default IP and want them to be able to telnet 
in to set it up. The problem is, when I try to telnet as root, I get 
"root login refused on this terminal." I've tried multiple entries to 
/etc/ttys, but I can't seem to get any to work. I've tried


pts/0
./pts/0
/dev/pts/0

but none of them allow root telnet. I'm assuming it's possible that I'm 
looking in the wrong place entirely, so please feel free to point me in 
the right direction. If it's not possible to telnet as root would 
changing the username from root to something else fix the problem? I'd 
consider that a solution of last resort because I assume it would 
require lots of changes to other config files that reference "root".


In case it matters, the appliance is running i386 on an apu1c board 
booting off of an imbedded memory disk. The storage device is an mSSD.


Anyway, sorry for rambling. Thanks in advance for any help. Please copy 
me on any messages as I am not yet subscribed to the mailing list.


Thanks,

Jason M.


Re: How to allow root telnet to a NetBSD 6.1.5 box

2015-11-08 Thread Thor Lancelot Simon
On Sun, Nov 08, 2015 at 02:17:40PM -0500, jmitchel wrote:
> Hello,
> 
> I have an appliance that I'm upgrading from 1.6.2 (I know, I know) to 6.1.5.
> The appliance currently only has the root account. I want users to be able
> to set up the box without having to use a serial cable, so I'm configuring
> it with a default IP and want them to be able to telnet in to set it up.

That's irresponsible.  I for one won't help you do it.  Use SSH.

Thor