From nobody Fri Jan 05 06:30:13 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T5tqk4p8Yz56GK9 for ; Fri, 5 Jan 2024 06:30:26 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com [IPv6:2607:f8b0:4864:20::c36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T5tqj6BL2z4qBM for ; Fri, 5 Jan 2024 06:30:25 +0000 (UTC) (envelope-from olivares14031@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=lfSKZrra; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2607:f8b0:4864:20::c36 as permitted sender) smtp.mailfrom=olivares14031@gmail.com Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5962624b9aaso552648eaf.3 for ; Thu, 04 Jan 2024 22:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704436224; x=1705041024; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vcRk5uvm9tuWOPqe/nzQoLjv9rWdBJ1G4WuZLgDJuuE=; b=lfSKZrraq+lvrmxwNOt+xxminOv6oBuiS/8wIGBoDODN3uBJRsRGGSm0AtYV117JnO S1waGC6gRDNcY6vimCf1675ygbS9S0DenOQ9d9VXvwCoY/DewjxwMCG5CUeM028rYgGx NjAMlL46YE4Bqzqli4+o0uN9Cuwfr/nLpRuTPUCEQWlq7Ogz9PK9x8n5ilQsSZrh3tSH ELwSnLU8zXbtCuxuUPyLuDH4PScb11fQsn0RvnrukKLzdYdZoy5J1ONzXi83peimdeHm Ws5h5cQwfaE6uWMUj2FcbJj5Gz7SoaSD5NpZWesqFgwM6pNom9CvQ5vxVvhH4RO/0Q/Z YpuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704436224; x=1705041024; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vcRk5uvm9tuWOPqe/nzQoLjv9rWdBJ1G4WuZLgDJuuE=; b=Mf3GjagN1mEmpsIUxo/n9iMe2jx0FC7ehhvD411JWb4h1tU9+GxL9IuAM7Z14demMb G/MFcwtyMUm9PDqegmRFWMjz5AMy/yNACzAeHQTLQs5CAmyrzHfyM2Q9qMXxpt7QYw81 cI7TRlAHzzjkWmBLJ5Y7JW82qhY+HHmHDxK9XZd4pUE6sKOyyRR24sYhgG9hLG8EWiap H1S2lbErny2uRETMz4B1ERc8ZyBVLLSWc4ABgorLSRcT/z4YfiCaBGzdy7vBaki0tYyz t+v5Lv0LOL7YNK8dA1I+WKgxQm67wvHOHkN7FeRncEidJbwVkdlL2ehhZBNuDCR476OF KJtQ== X-Gm-Message-State: AOJu0YwoxwKmyr8Kw9ua7+u0Dobr0BGn54EBPcfcG0ajOGdw+3EOhKG+ DHwtDNrSX+p/Rg4YK0DcNINP/iGSoJS68dYX1UtQ6xialpc= X-Google-Smtp-Source: AGHT+IEp9eNxiU9xriyug6dI7Rn73rB3RUofZZJbZQp9nkAxHyub7T/7JAGRvZYng/laGUHLcmSBB1P0IV9J0hfE3eU= X-Received: by 2002:a05:6359:6c17:b0:172:df87:456d with SMTP id tc23-20020a0563596c1700b00172df87456dmr1253256rwb.38.1704436224518; Thu, 04 Jan 2024 22:30:24 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Antonio Olivares Date: Fri, 5 Jan 2024 00:30:13 -0600 Message-ID: Subject: Re: change root shell from /bin/csh to /bin/sh To: "Alexander Moisseev <" Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.98)[-0.976]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[lists]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c36:from] X-Rspamd-Queue-Id: 4T5tqj6BL2z4qBM On Fri, Jan 5, 2024 at 12:26=E2=80=AFAM Antonio Olivares wrote: > > On Fri, Jan 5, 2024 at 12:21=E2=80=AFAM Alexander Moisseev < > wrote: > > > > On 05.01.2024 9:02, Antonio Olivares wrote: > > > > > > root@rosewill:~ # pw root -s /bin/sh > > > pw: unknown keyword `root' > > > > > > > # pw usermod root -s /bin/sh > > > > Got an error before but now succeded. > > root@rosewill:~ # /usr/sbin/pwd_mkdb -p /etc/master.passwd > root@rosewill:~ # pw usermod root -s /bin/sh > root@rosewill:~ # echo $SHELL > /bin/csh > root@rosewill:~ # > > Will log out and back in to see if it changed. > > > Best Regards, > > > Antonio Dear Sir & all, Problem has been corrected. Ran the command successfully and the shell has been changed. Looking at last comment here helped https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248574 Best Regards, Antonio