Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2018 07:40:43 -0500
From:      Jordan Caraballo <jordancaraballo87@gmail.com>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: sudo not available after configuring ipmi serial over lan
Message-ID:  <CABoP_STjsaXcbwwM7gRv7dTWz_JSZ2sj5B-zbrMmfv-=EEgNoA@mail.gmail.com>
In-Reply-To: <op.zr5t7gbzkndu52@sjakie>
References:  <CABoP_SQSc2wnJqYXg6AUF1C3_SbyDiLYOa2_0u5oRLcOERZOMg@mail.gmail.com> <op.zr5t7gbzkndu52@sjakie>

next in thread | previous in thread | raw e-mail | index | archive | help
It hangs. No output at all. Latest testing showed that if I do:

# sudo su -

And hit Ctrl-C two times I get the password prompt, however, when I enter
the password it ignores it ( no error message).

/var/log/auth.log just records that the user executes the =E2=80=9Csu -=E2=
=80=9C command.
Just to be clear, when using normal console or kvm, this works fine.

On Thu, Nov 8, 2018 at 7:27 AM Ronald Klop <ronald-lists@klop.ws> wrote:

> On Wed, 07 Nov 2018 23:56:26 +0100, Jordan Caraballo
> <jordancaraballo87@gmail.com> wrote:
>
> > Hi guys,
> >
> > After configuring ipmi serial over lan console, I am not being able to
> > execute any command related to sudo; not even "sudo su -". I am using
> > ttyu0
> > and COM1 on a Dell R530. Everything regarding receiving output and typi=
ng
> > at the serial console is fine; the only command not working is sudo.
>
>
> What do you mean by 'not working'? Is there an error message? Does it
> hang? Do you get logged out?
>
> Regards,
> Ronald.
>
>
> >
> > Any ideas? Below are the configurations.
> >
> > /etc/ttys
> >
> > # Serial terminals
> > # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> > #ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> > ttyu0   "/usr/libexec/getty std.115200" vt100   on          secure
> > ttyu1   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> > ttyu2   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> > ttyu3   "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> > # Dumb console
> > dcons   "/usr/libexec/getty std.9600"   vt100   off secure
> >
> > /boot/loader.conf
> >
> > # ipmi enabled
> > ipmi_load=3D"YES"
> > # ipmi configurations
> > boot_multicons=3D"YES"
> > boot_serial=3D"YES"
> > # serial configurations for COM1
> > console=3D"comconsole,vidconsole"
> > comconsole_speed=3D"115200"
> > comconsole_port=3D"0x3F8"
> > hint.uart.0.flags=3D"0x00"
> > hint.uart.2.flags=3D"0x10"
> >
>
--=20
Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABoP_STjsaXcbwwM7gRv7dTWz_JSZ2sj5B-zbrMmfv-=EEgNoA>