From owner-freebsd-stable@freebsd.org Thu Nov 8 12:27:05 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69A071128480; Thu, 8 Nov 2018 12:27:05 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 89DE27BA26; Thu, 8 Nov 2018 12:27:04 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1gKjOp-0000ep-DJ; Thu, 08 Nov 2018 13:27:03 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, "Jordan Caraballo" Subject: Re: sudo not available after configuring ipmi serial over lan References: Date: Thu, 08 Nov 2018 13:27:06 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 1f72ff50073f138f9668c095d6f579a1 X-Rspamd-Queue-Id: 89DE27BA26 X-Spamd-Result: default: False [-2.48 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.977,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; NEURAL_HAM_LONG(-0.95)[-0.946,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx2.greenhost.nl]; NEURAL_HAM_SHORT(-0.76)[-0.755,0]; IP_SCORE(0.01)[country: NL(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 12:27:05 -0000 On Wed, 07 Nov 2018 23:56:26 +0100, 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. 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" >