From nobody Fri Jan 05 06:26:41 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 4T5tlh1VrXz56Fhp for ; Fri, 5 Jan 2024 06:26:56 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 4T5tlf2DQlz4nNM for ; Fri, 5 Jan 2024 06:26:54 +0000 (UTC) (envelope-from olivares14031@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=hYIwAIEL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2607:f8b0:4864:20::32d as permitted sender) smtp.mailfrom=olivares14031@gmail.com Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6dc076e9e59so693696a34.2 for ; Thu, 04 Jan 2024 22:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704436013; x=1705040813; 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=fn2mMkBtK7S1tWPvoNfNsF67cPIOXdzfNR2Qe8anrvY=; b=hYIwAIELyWfRjwcJ844B/6Ms+tTp67WTf813n/n3YqBOPYp5JwUgp9y4LsMAZcpA/b Xh3mHId02sCeIPys+urY7h3VhSL4Gf+RSE2cGHXNFkDCpbPL+RRdJJnfaDOMgZ2gD+oC 2bEHCEZbt5QFMMUauhbjB23W6AQABaAKAoO2Dl6VDFabn1a6ZGDT3F+iohIpMlNBvFjv yHR9INgMZHBPnOLRACoE3XeOgBrgZk7y1Wk468aFw/LZsGT9WdA5RfVkBJxEOgGOYlIo QmKeFaUL4Gm1jp3b4jSe0aM30oiyCe3SkgcQf4YxCNi2cUyxfDrzC+qoLZZy5sp+mZVC 1Qhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704436013; x=1705040813; 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=fn2mMkBtK7S1tWPvoNfNsF67cPIOXdzfNR2Qe8anrvY=; b=HUhaPM7ITgLMJdsN9f6b9wgJDa1WQJuqKxasbI5gpOQv27jfJHwMWtgHCyBmEbe8/L Jy76s7B+HVS7N07Eb5GDumEk3BShTzl+nVKVeYgtDXGglo1eKCnIt0lCUGMvODSjctsH fkQml7QKN6HkouBiPTO+IzKiGrWLieAPNgJdjCEkCuJpNKquMCEpDJnHvd1IStIBgKss UoYDnnnzkk1bfdzaKn7XIs1ndX0u78Vw327OH82cvZy1mcJnVCQEFaHTFdBQKzlsdyIm c3nfzMWgKXgE54SFGyawzU59hIw3O1fBFGWULIqU4GHn9fD6rEo/4wKHoJsMvLolZ576 a+7w== X-Gm-Message-State: AOJu0Yxa8yxtV7IGVdTHDd572+PQ6H7B2kSFjfC9/iwBhsEOC6vDJJug P1S+OPyA1PMs85faVNwOGH1kHWP2Yfz5RsXvL/eeUoze1K4= X-Google-Smtp-Source: AGHT+IElZ6QcLkHXZSsxg8P+l1x0QZsk8ac41bWhty0zJTGQn5lYPFoSUFPQ4TjRsEVNtI/FyfgNgBqzzVSU9Lcw/SQ= X-Received: by 2002:a05:6358:9042:b0:172:ea55:1ae2 with SMTP id f2-20020a056358904200b00172ea551ae2mr1633497rwf.37.1704436012796; Thu, 04 Jan 2024 22:26:52 -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:26:41 -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.93 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.93)[-0.927]; 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::32d:from] X-Rspamd-Queue-Id: 4T5tlf2DQlz4nNM 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