From owner-freebsd-stable@freebsd.org Thu Nov 8 12:40:56 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 75EA61128C47; Thu, 8 Nov 2018 12:40:56 +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 A97CF7C2B7; Thu, 8 Nov 2018 12:40:55 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id n18so14052834lfh.6; Thu, 08 Nov 2018 04:40:55 -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=/OXvVrTJ+wubnlHAH8vbKUU5a/mSSaDymKlgJ9199Ik=; b=iunyH+rEmHCaf72a/w0lW2Y+2qVjdhYcKWxFlq63XuV0aGShdoPA1vy6QP4yojwAz4 AbGx+9BuMVjQUtEjmodMidbBbGdJRomlamdU+QEI1Tx3w6xBL754jOfAEGBF6mBNVHp1 Yalh9VzfQUiTpijWZuaH7CpOdYeIXc7DxYvG5N+DFOUSYzqr8TphAdOrS8hsH+jyF0TB ylZfDNzh5QbKqjnWwTgLwHDM8W4FtptIRjdYvr9ZTTO2VM6sQlWL4Qm0wBlkWUuecfhF vitennEk8LSbuHTkMLxbSBlJOA8bvt4OwdeNPC7D4Fg3ksHFUpIwv1mA79WHKisnAmUF T77w== 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=/OXvVrTJ+wubnlHAH8vbKUU5a/mSSaDymKlgJ9199Ik=; b=EOk8TPMQhahvrPQdMCo2Om3JhIjBKiYZPm1m9JxrneFNZYQ5f7PyzOIVS6tTcKQ551 ToSZFwgiHJSW2W6FV/7cOsePuzFku5TptNGOsadTculLzGKEEy60O30cht1qYH/h3wAQ 2HyVokzhpH1KBPr7gKiH460J0mE8fU2r77gNmiFL6TCbFixLpXgeNadsgTPZniUEThcW yzJd+xvRiRV+Ap/Bx8HAoh2zHwbOBXLKIzpB1LbZ1QulMX4rbpKLFoRdeQp1ko+7PKND Zu2etNT8G+gm2BczX0obCbfknxQLGv15LmtmPmAFQSxONqDL5+E2J6g8Fo2HLQHSSFfK DZpA== X-Gm-Message-State: AGRZ1gKhcv3wtGumMOoDZfXHG+WZh6vSk5xMHcqzXeuQv5zOAOTgzZBN wDiHCuiiF2Ap+WVDerp0wOS+DAxrOs8NaQmo2vI= X-Google-Smtp-Source: AJdET5fMO8SBvszHyxghZjSHYqJqVbpKN5LuRGVpzC2Uba9qREF2LHveuUV7OjKfMM4GoUsS7UqLwuffUrieXcMB48E= X-Received: by 2002:a19:6514:: with SMTP id z20mr2497449lfb.31.1541680854105; Thu, 08 Nov 2018 04:40:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jordan Caraballo Date: Thu, 8 Nov 2018 07:40:43 -0500 Message-ID: Subject: Re: sudo not available after configuring ipmi serial over lan To: Ronald Klop Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org X-Rspamd-Queue-Id: A97CF7C2B7 X-Spamd-Result: default: False [-4.58 / 200.00]; 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)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-0.73)[ipnet: 2a00:1450::/32(-2.02), asn: 15169(-1.55), country: US(-0.09)]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; 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]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.84)[-0.840,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]; 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 12:40:56 -0000 It hangs. No output at all. Latest testing showed that if I do: # sudo su - And hit Ctrl-C two times I get the password prompt, however, when I enter the password it ignores it ( no error message). /var/log/auth.log just records that the user executes the =E2=80=9Csu -=E2= =80=9C command. Just to be clear, when using normal console or kvm, this works fine. On Thu, Nov 8, 2018 at 7:27 AM Ronald Klop wrote: > 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 typi= ng > > 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=3D"YES" > > # ipmi configurations > > boot_multicons=3D"YES" > > boot_serial=3D"YES" > > # serial configurations for COM1 > > console=3D"comconsole,vidconsole" > > comconsole_speed=3D"115200" > > comconsole_port=3D"0x3F8" > > hint.uart.0.flags=3D"0x00" > > hint.uart.2.flags=3D"0x10" > > > --=20 Jordan