Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9D188780DB1 for <~alpine/users@lists.alpinelinux.org>; Fri, 26 Aug 2022 19:52:12 +0000 (UTC) Received: by mail-ed1-f41.google.com with SMTP id t5so3327218edc.11 for <~alpine/users@lists.alpinelinux.org>; Fri, 26 Aug 2022 12:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=h6g-de.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=58cmqOkIyO7B8502AcpHIyOfgFbonJGh0BnBEoxWZfM=; b=CIWJZYas2hLN80Vd1L4L5OKug0usluum6Sq8fcKQ4/NH31v92P1+uEhAgPSBcxO9U4 XjQ10or1gDLCobXyKcNqu8beL8ZJpiMfurmGHaW07wLsDDp2IoyVYHENGnBUMlYIJqH3 7TvpL2BDEjGr58EsNxwmcSPDKEBdhx+1QhPcTxepyag7O5+i3Ampxnx44sNQU1dzS2Gk cisVuvRsGYj9NzN1eCzZHOmsb31XzjcHdQGsEzhc3Qfm8hcc+LpBn0QGQ/YFFNFG2YVL 0wJSogwdgQbX3WCKXyw2kH/tTsVz4+T4xiw+7VJm8M3U1QGfQ+5FMZmFmJsD+YqqyqMU IFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=58cmqOkIyO7B8502AcpHIyOfgFbonJGh0BnBEoxWZfM=; b=a2H7WBFe21C84tQBsuqMFlNstpmTDcX7LoAy+IPJxyHcwriCAFG84Pc406SZ9jyonE YLrgPiouI7A7sN6vYBH8As5yX1aY3hkagWdrHA4/BK27YKUVVYyFPZ+XE99pRMJJS5i4 YS+p6yKYTBl2BikvqIhRYyhU7WhqE1c6hs1wcd65YYXHJa5IR4wsztZkqBT9ItC+qaGp asqpSOT2a2VkEe0FiYXtwEftF3ufZmy+j/TEfbY1ii/vGVr83kXiZ/xUNgGXpowWALCe aliDB0ZyDcu5rHV0ra6vJ+GJfdwBhlALLIvny/nknaBPZXsCNfunlze6i/8pOjlorgzy uvNA== X-Gm-Message-State: ACgBeo3br6NtAJZoI64KaEcq7GK/GhYBpPjbL8di/CUzld0IqEx+TSF7 xKN8BTL1dIN5j2FPVsOuKI49EA== X-Google-Smtp-Source: AA6agR6/mSof7h9mWQjDTCycfNFowobylfWUNuD+ZPS4CN0iHLKEXRdAQXLDycdfp0x7Kv6QHi+UQA== X-Received: by 2002:a05:6402:1ccb:b0:446:4346:8597 with SMTP id ds11-20020a0564021ccb00b0044643468597mr7889055edb.177.1661543531605; Fri, 26 Aug 2022 12:52:11 -0700 (PDT) Received: from ?IPV6:2a02:8106:26:b100:2dbd:e0ae:12c7:c4c5? ([2a02:8106:26:b100:2dbd:e0ae:12c7:c4c5]) by smtp.gmail.com with ESMTPSA id z14-20020a1709060ace00b0073d6d6e698bsm1224249ejf.187.2022.08.26.12.52.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Aug 2022 12:52:09 -0700 (PDT) Message-ID: <2cec7e3e-035e-dc6b-b406-7575b51ba46b@h6g.de> Date: Fri, 26 Aug 2022 21:52:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: shell Content-Language: en-US To: Fini Fpv , ~alpine/users@lists.alpinelinux.org References: From: Paul Zillmann In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit You can always boot into the single user mode / rescue mode. There should be an option in the bootloader. If not append "single" and maybe `init=/bin/ash` to your kernel arguments temporarily. Once booted in there you type in `lchsh root` and choose `/bin/ash` for your default shell. After a reboot everything should be in working order again. - Paul Am 25.08.22 um 17:03 schrieb Fini Fpv: > I used the libuser package and I accidentally entered an incorrect > shell so now when I try to login to root I get an error and I > can't do anything. Is there a fix or do I need to completely reinstall > the os?