From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net BBBEBBD623 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1640906070; bh=wIrX0TwKFWt8o5RipuC+V6crivtE55jc4ePN5i6lxjI=; h=Subject:From:To:Date:In-Reply-To:References:From; b=PMUV43tIw7jeq/RcTe/2Zr1xPYKJfjsLq8alXtnppsGpziC1eTvkYPFdqw8EAhkuq RV/JGEPAmRtCB6dAvmarTjmx6k1G4y0tQtW4nnNvlzyRUNIImNeZFE55zTVIhm+cPr CJGejJ/id7WBHVl92jWYCaUH4gUmTkhR+Whq6XhfIUKljEmHVReXWSXLEqVZMd48KA XdNSGEG3k8IRL2KLnb6YZBbJPD1v7GlTLTxWLuTs5PwhgDg+pk2uizbwbR2yiol8Fw DWCxP91TNZCI1RRzxmvu2+SWEauHiI+7s3/zyk8/toSffshTT9SODmNcFpCDj0j7VP 1pQ1iqL49GXpQ== X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net Message-ID: <7244f64eab637a7a5bed53d5932c47bc42be3ce6.camel@vivaldi.net> DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 13951BD093 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net; s=default; t=1640906066; bh=wIrX0TwKFWt8o5RipuC+V6crivtE55jc4ePN5i6lxjI=; h=Subject:From:To:Date:In-Reply-To:References:From; b=OqsF/0Wiob9vELdkzp69X+XtZHJp8nrkdx/pTXW3EMwlxLhZcCvJPBcBo5P92pt0V vEhnQV0fXgM8r4r3VsslvYDYj5IpDhKsYMM9H6wGUt2Fb49VFSkzR+ZjzPe9OMaUGY oVlIIaLKsZS8/w0vwqhWmZuNYxpdFhffX4oTyHWqa8Tg5c5bAjVkPiqXlWIFy15sjx Sswp2988H78trvCNwj6odLg7LbvhoXOtIzrjVx5281MNhShtS3WnXDrsCMrNN+QjJu PLY2BgR8KlHYNF+5AMF2hH7X2crbGFWFoEjXsnirYhh+OnuI35bOVr29j34FJq588B 46KPxsbfs7iOw== From: Lyndon To: community-en@lists.altlinux.org Date: Thu, 30 Dec 2021 15:14:22 -0800 In-Reply-To: <20211230231129.GJ13716@imap.altlinux.org> References: <0de88b6a628fd4b0aef8b10d62263216427b5024.camel@vivaldi.net> <20211230231129.GJ13716@imap.altlinux.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2 Content-Transfer-Encoding: 7bit Subject: Re: [Comm-en] sudo/su/etc setup | Re: Installation Issues X-BeenThere: community-en@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "ALT Linux users \(in English only\)" List-Id: "ALT Linux users \(in English only\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2021 23:14:34 -0000 Archived-At: List-Archive: Thanks for your prompt reply and help Michael. Much appreciated. regards, Lyndon On Fri, 2021-12-31 at 02:11 +0300, Michael Shigorin wrote: > On Thu, Dec 30, 2021 at 02:08:39PM -0800, Lyndon wrote: > > One time I did get ALT installed ok but I have this one main > > issue which always comes up after install. I cannot use the > > terminal as I keep getting the message, " This user is not in > > the sudoers list. This incident will be reported. > > sudo(8) gets setup out-of-box in http://getalt.org/en/simply > flavour but it's generally considered up to the local root > to do that or not (unlike what e.g. Ubuntu does); the commonly > recommended way is to use su(8) -- note that ALT still holds to > how it was written down back then and our su(8) insists that > only the "su -" form resets the environment variables including > PATH and HOME to correspond to the target user's settings, > "su" keeps those. > > Some of us still prefer to set su(8)'s permissions so that it's > not a SUID binary anymore through: > > # control su restricted > > and using sshd to switch to root via their ssh keypair with its > passphrase, optionally with ssh-agent and ssh-askpass (e.g., > run ssh-keygen -t ed25519 and add the resulting pubkey line > to /root/.ssh/authorized_keys and then ssh root@localhost). > > > So far I have not been able to fix this issue and for now, > > at least, I have had to install another operating system, > > Arcolinux, in the meantime. > > > > I would like to be able to reinstall sometime ALT Linux but > > need to be able to use the terminal. Any ideas on how to fix > > this ? > > Just use the terminal but set up sudo if you need; > through visudo(8), maybe in a form like this: > > # EDITOR=mcedit visudo > > See also: > * http://altlinux.org/su- (in Russian though) > * http://en.altlinux.org/control > * man sudo.conf > * man visudo > > > Thanks so much. Otherwise, a great distro !! > > Happy New Year to you all. > > Wish you a Happy New Year and merry Christmas, mate :-) >