From owner-freebsd-stable@freebsd.org Thu Nov 8 15:39:48 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 6C00E112DCC6 for ; Thu, 8 Nov 2018 15:39:48 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C52083BFC for ; Thu, 8 Nov 2018 15:39:47 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1541691585; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=HVRgrIkyV3rqiC2JMFl6ZHNcJnC7r8xDhWQQMrWItHvBGL5ZyZrSZ+odmPTGE/Uw1XU2yMx0ExyvG n2D9/OWH8v4Qdxf+YBxSll/159ixQdgFFzUEOT82QbLqUDtJvbUB/DpYRIKpiqaWKb6t7yCaqqyZrf Equ2zrq1EwbHKqhfKa/W94xVFsBBv5tnouAzYZDkOf5JWUdx4BNX0n15VWvHA1PC7esXn8HaSngBqn 4B+qWdLqFwhG4Xwu2Q/qNvgC1f6F7O3bgFuGaSEbavS5sSAoieqO81NToCWM6cp+Ngy5y1/QEx4jh/ awf+aqN26ciHzLaFN4lDaMpjEyXAElA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=QrwnYyqJmBHmBbPU5iIeyszCYIBf/E3JErirELI0fWw=; b=WCOCMwXdvc9bna4oty5yA/lln/uW0K6884UaeX6BROpO6pIZnJpOQeI2fSP9Tc2O6QM3ExzoJP3u5 gf0RweWjC6b1V0XW++lccWCBJ7CrL82k/TDK0TgdMmcvNOuHAW7uAYDbXWbXhve+LVPbKy7zEt0dUB +ExpNwwo9beePCAd+Gtmcsz66ajWg0d1rp5Kii2MA7aO0iAMC4BOpV967ePU0y8qYqF2w9lCBFtK/r M7dIbX3mPHSZ5tUTvMonybjB0aiU3NTYXsHSWhWgVfyIl8CECYC1sk8ajExe+Bmzo+MTaPi5s+ol9S qE/wTAghWT62wORd1CV+6lhN6e/lhcw== ARC-Authentication-Results: i=1; outbound1.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=QrwnYyqJmBHmBbPU5iIeyszCYIBf/E3JErirELI0fWw=; b=LR/dtvndV/ZAo4/iCoTRQtPiVwxnKb0SEHIa81yiRITz+caSrD+5VHHEdqOrppO0IPCu4KqeuddAI nVb9rTSxNiutSJ3zgzrHytuWsJ8ouiaZ+b90If9ot/qud7o51JmcTTUZxLeJYy3li6ZfNhQkQxfbBM AaZJoyToBy+oxMlu3Eyx75kUpF5PX02yCwwey+BhPRUzmD4WUyZ2KLUSWSAl7rrNus6RAxpC33MuEE rvPVKuh7oGhi/UdTHaIF1kJDX3tuM3e6KBARjfPBai4FacuGWNsNzqOAXjy8xVJnW/Ugrn7KaBGnns c2O5bDVJrdRBNw7dy9EQ/my3+/3YAEw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 7e61f630-e36c-11e8-9048-075f73944867 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 7e61f630-e36c-11e8-9048-075f73944867; Thu, 08 Nov 2018 15:39:41 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id wA8FdYNd085784; Thu, 8 Nov 2018 08:39:34 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1541691574.52306.94.camel@freebsd.org> Subject: Re: sudo not available after configuring ipmi serial over lan From: Ian Lepore To: Eugene Grosbein , Jordan Caraballo , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Date: Thu, 08 Nov 2018 08:39:34 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9C52083BFC X-Spamd-Result: default: False [-103.96 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; DKIM_TRACE(0.00)[outbound.mailhop.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.15)[asn: 16509(-0.67), country: US(-0.09)]; ARC_ALLOW(-1.00)[i=1]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[60.211.177.67.zen.spamhaus.org : 127.0.0.10]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[outbound.mailhop.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[202.109.58.52.list.dnswl.org : 127.0.20.0] 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 15:39:48 -0000 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