ALT Linux users (in English only)
 help / color / mirror / Atom feed
* [Comm-en] Installation Issues
@ 2021-12-30 22:08 Lyndon
  2021-12-30 23:11 ` [Comm-en] sudo/su/etc setup | " Michael Shigorin
  0 siblings, 1 reply; 6+ messages in thread
From: Lyndon @ 2021-12-30 22:08 UTC (permalink / raw)
  To: community-en

HI there. I recently tried out ALT Linux in a liveusb setting and was
quite impressed. Trying to install it has not been easy though sadly.

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.

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 ? 

Thanks so much. Otherwise, a great distro !!

Happy New Year to you all.

Lyndon


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Comm-en] sudo/su/etc setup | Re: Installation Issues
  2021-12-30 22:08 [Comm-en] Installation Issues Lyndon
@ 2021-12-30 23:11 ` Michael Shigorin
  2021-12-30 23:14   ` Lyndon
  2021-12-31 21:51   ` Lyndon
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Shigorin @ 2021-12-30 23:11 UTC (permalink / raw)
  To: community-en

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 :-)

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm-en] sudo/su/etc setup | Re: Installation Issues
  2021-12-30 23:11 ` [Comm-en] sudo/su/etc setup | " Michael Shigorin
@ 2021-12-30 23:14   ` Lyndon
  2021-12-31 13:06     ` Michael Shigorin
  2021-12-31 21:51   ` Lyndon
  1 sibling, 1 reply; 6+ messages in thread
From: Lyndon @ 2021-12-30 23:14 UTC (permalink / raw)
  To: community-en

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 :-)
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm-en] sudo/su/etc setup | Re: Installation Issues
  2021-12-30 23:14   ` Lyndon
@ 2021-12-31 13:06     ` Michael Shigorin
  2021-12-31 21:36       ` Lyndon
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2021-12-31 13:06 UTC (permalink / raw)
  To: community-en

On Thu, Dec 30, 2021 at 03:14:22PM -0800, Lyndon wrote:
> Thanks for your prompt reply and help Michael. Much appreciated.

PS: folks suggest that "Defaults !env_reset" might be needed
to get the "broken behaviour observed elsewhere" (my rough
translation).

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm-en] sudo/su/etc setup | Re: Installation Issues
  2021-12-31 13:06     ` Michael Shigorin
@ 2021-12-31 21:36       ` Lyndon
  0 siblings, 0 replies; 6+ messages in thread
From: Lyndon @ 2021-12-31 21:36 UTC (permalink / raw)
  To: community-en

Thanks for extra Michael. 

I reinstalled ALT Work Station exactly as before but now I am having
other isuues lol. When I connect my external drive to the pc, I am
unable to read the drives contents as it says I do not have the
necessary permissions to read the drives contents. 

I installed nemo file manager and can access the drive via root access
in nemo but when I copy the files over, they only show up in nemo root
privileges and not it regular caja home file manager. Weird as I had no
troubles of this kind before.

I am looking on internet for a possible fix. Will see what comes up.

regards, Lyndon



On Fri, 2021-12-31 at 16:06 +0300, Michael Shigorin wrote:
> On Thu, Dec 30, 2021 at 03:14:22PM -0800, Lyndon wrote:
> > Thanks for your prompt reply and help Michael. Much appreciated.
> 
> PS: folks suggest that "Defaults !env_reset" might be needed
> to get the "broken behaviour observed elsewhere" (my rough
> translation).
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm-en] sudo/su/etc setup | Re: Installation Issues
  2021-12-30 23:11 ` [Comm-en] sudo/su/etc setup | " Michael Shigorin
  2021-12-30 23:14   ` Lyndon
@ 2021-12-31 21:51   ` Lyndon
  1 sibling, 0 replies; 6+ messages in thread
From: Lyndon @ 2021-12-31 21:51 UTC (permalink / raw)
  To: community-en


Hi Michael. Further to last email.

I solved the file access problem by changing the permissions of the
external drive while in root access and can now copy and paste files in
caja as needed !! :)

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 :-)
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-31 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 22:08 [Comm-en] Installation Issues Lyndon
2021-12-30 23:11 ` [Comm-en] sudo/su/etc setup | " Michael Shigorin
2021-12-30 23:14   ` Lyndon
2021-12-31 13:06     ` Michael Shigorin
2021-12-31 21:36       ` Lyndon
2021-12-31 21:51   ` Lyndon

ALT Linux users (in English only)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community-en/0 community-en/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community-en community-en/ http://lore.altlinux.org/community-en \
		community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com
	public-inbox-index community-en

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community-en


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git