Jordan Caraballo
2018-Nov-07 22:56 UTC
sudo not available after configuring ipmi serial over lan
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 typing at the serial console is fine; the only command not working is sudo. 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="YES" # ipmi configurations boot_multicons="YES" boot_serial="YES" # serial configurations for COM1 console="comconsole,vidconsole" comconsole_speed="115200" comconsole_port="0x3F8" hint.uart.0.flags="0x00" hint.uart.2.flags="0x10" -- Jordan
Eugene Grosbein
2018-Nov-07 23:10 UTC
sudo not available after configuring ipmi serial over lan
08.11.2018 5:56, Jordan Caraballo 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 typing > at the serial console is fine; the only command not working is sudo. > > 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 secureUse network access to perform the following: 1) Change "on" to "off" for ttyu0 then run "init q" to apply changes. 2) Replace "ttyu0" with "cuau0" within same line then run "init q" again. Then retry using console and sudo.
Ronald Klop
2018-Nov-08 12:27 UTC
sudo not available after configuring ipmi serial over lan
On Wed, 07 Nov 2018 23:56:26 +0100, Jordan Caraballo <jordancaraballo87 at 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 typing > 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="YES" > # ipmi configurations > boot_multicons="YES" > boot_serial="YES" > # serial configurations for COM1 > console="comconsole,vidconsole" > comconsole_speed="115200" > comconsole_port="0x3F8" > hint.uart.0.flags="0x00" > hint.uart.2.flags="0x10" >
Robert Schulze
2018-Nov-08 12:58 UTC
sudo not available after configuring ipmi serial over lan
Hi, Am 07.11.18 um 23:56 schrieb Jordan Caraballo:> 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 typing > at the serial console is fine; the only command not working is sudo. >try looking into a manpage of your choice, does this work? We had similar problems here with IPMI/SOL, these could be fixed by using a 3wire getty instead of std: ttyu0 "/usr/libexec/getty 3wire.115200" vt100 on secure with kind regards, Robert Schulze