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.
Ian Lepore
2018-Nov-08 15:39 UTC
sudo not available after configuring ipmi serial over lan
On Thu, 2018-11-08 at 06:10 +0700, Eugene Grosbein wrote:> 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??????????secure > Use 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.The easy way to accomplish the same thing is to change std.115200 to 3wire.115200 (and then do 'init q'). -- Ian