Yes, of course, you need to create a user and may add it in the wheel group but 
if you load Xorg after login as "simple" user (it is not recommended to run X11 
as root), when you are in Xorg, using the xcfe4 terminal and using the "su" 
command, it will corrupt the pad-login files.

After (many) search on the internet it appears that it is a bug and the best 
way to use "su" for "simple" user is via the shell of the system, not the 
terminal of a Xorg session.

But you know the caprice of IT, maybe on your Xorg system, after "su" you will 
not have problems.

Fre;D

________________________________
De : vasi vasi <funl...@gmail.com>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
<mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +0000:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F<n> hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option     "DontVTSwitch"        "true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
        Option      "DontVTSwitch"        "true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'       Option      "ServerLayout" "X.org Configured"'
for Xorg to accept it.

Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!

> Or do this after boot, before to run "startx" command.

You do not want to (re)boot a Unix for maintenance purposes only! Do you?

(Ooops, THAT was looong-winded thread!)

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------




_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to