From owner-freebsd-stable@freebsd.org Thu Nov 8 17:48: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 AA5A11132141; Thu, 8 Nov 2018 17:48:05 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C483B89DED; Thu, 8 Nov 2018 17:48:04 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id v5so9839166lfe.7; Thu, 08 Nov 2018 09:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2G79bZ3+6RJVGx5LugeBFACIOOY6gAesv1+bfJZmvhg=; b=Kwj36BlqMf1Owh4VFVdm+wFdkqUkpEH9YeSqSfZ43Ooe+6AJjLhmmh8HvorQd8g9Vm To8IS3ToisNlXDKP1eJYqRuIcDKx0qdnQCwJjDlLB8Sa3n6RAsDwgpoJ0gWT/GlU32af FASmxyKWgDYo9SjcXtyDelawfwGUOeIimjfOb16tnKtTNWQHSKC6jRj1Em1S7hh4ptMN 5SpqK6WzuMeZzxLvd4hMSKF+HLHg9SOdFLs8ROrB4e3VysoNYiXlE1eGvoFRUSdd7aCT SacPgTom4gfPXd81R0hJwA7L20CN1OBgFIgOuGATL9Fn6ZHmF3zFi0wgilJIRmtx9Wt4 mK6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2G79bZ3+6RJVGx5LugeBFACIOOY6gAesv1+bfJZmvhg=; b=oyIWF+wQnLCffGNnFAQqrHL4FArGYt9rMdVyqUAhfNMU21d+wzVpfM9bmWf4eJ3V/Z t98qm54ZOy59bCb8o95jTDdRlCZarxXQje9qQ74mi6ELpAsigkBcGW9tLq8k5WBIB9KD Lc8qm564DdmB7HhYJL2+ilqe5gD+tfd59eOTIHtocvXbTNTg8wjYept+aJHi2o2VNcuO ZcL24OEHvXTLOZ8qdIyZaJE9c0H8MezCoNzJozNgXAC1G/SU5jCKZyRRWyhcO/nCkXCl q/U/eKswtmVwqh/Fy5kLMuXEnAbJwKKn6EUnsbcM4rVpViCk+N67MnsXllDN8hBX1IuC zphg== X-Gm-Message-State: AGRZ1gK/NIEsS029AYx3L3C3rrjf7y9UTvUMCNsBmlva3i50VQJjtJkO Lyok2QjsGxVvOIm21rzKt+PCjFC5ZZXqE+5Z2jqKQFK+bEI= X-Google-Smtp-Source: AJdET5dhO9x+IeijHmsaBVnuEr+I8q8G3Q7NocYhWUbNRWrcPUr3D3bnHotMqXA6Nw0alRLnMG36Ye/OliTYtz64jNg= X-Received: by 2002:a19:6514:: with SMTP id z20mr3162887lfb.31.1541699282327; Thu, 08 Nov 2018 09:48:02 -0800 (PST) MIME-Version: 1.0 References: <1541691574.52306.94.camel@freebsd.org> In-Reply-To: <1541691574.52306.94.camel@freebsd.org> From: Jordan Caraballo Date: Thu, 8 Nov 2018 12:47:50 -0500 Message-ID: Subject: Re: sudo not available after configuring ipmi serial over lan To: ian@freebsd.org Cc: eugen@grosbein.net, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org X-Rspamd-Queue-Id: C483B89DED X-Spamd-Result: default: False [-4.68 / 200.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.93)[-0.929,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; IP_SCORE(-0.74)[ipnet: 2a00:1450::/32(-2.00), asn: 15169(-1.62), country: US(-0.09)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 17:48:06 -0000 Hi Ian, Changing the line following line from std.115200 to 3wire.115200 worked. Can you explain the why? I am not entirely sure of the difference between 3wire and std there. ttyu0 "/usr/libexec/getty 3wire.115200" vt100 on secure Thanks, - Jordan El jue., 8 nov. 2018 a las 10:39, Ian Lepore () escribi=C3= =B3: > 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 > --=20 Jordan