• Editor

    From db@21:1/5 to All on Fri Apr 7 12:03:38 2023
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?
    --
    Dieter Britz

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to All on Fri Apr 7 16:59:12 2023
    On 07/04/2023 11:03, db wrote:
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    Editing what?

    I like notepadqq, texstudio, vscode, vi.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Pancho on Fri Apr 7 18:45:14 2023
    On 07/04/2023 16:59, Pancho wrote:
    On 07/04/2023 11:03, db wrote:
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    Editing what?

    I like notepadqq, texstudio, vscode, vi.

    Superscripts are probably a keyboard mapping issue

    For coding, in a GUI, Geany. Joes Own Editor is nice in a console

    --
    A lie can travel halfway around the world while the truth is putting on
    its shoes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John McCue@21:1/5 to dieterhansbritz@gmail.com on Fri Apr 7 19:04:55 2023
    db <dieterhansbritz@gmail.com> wrote:
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now.

    Group comp.emacs may be able to help you here. My guess is
    it is a font issue. Maybe the font was not installed or
    replaced on Kubuntu.

    What other good and convenient editors are there under
    Linux?

    More then you can imagine :) I would search in Duckduckgo or
    google.

    Good Luck

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pH@21:1/5 to dieterhansbritz@gmail.com on Fri Apr 7 22:25:18 2023
    On 2023-04-07, db <dieterhansbritz@gmail.com> wrote:
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    I learned WordStar when I was first getting started with good old CP/M so that's what my fingers still like.

    I use the 'jstar' invocation of the "joe" editor. It can emulate several editors.

    joe [global-options] [ [local-options] filename ]...
    jstar [global-options] [ [local-options] filename ]...
    jmacs [global-options] [ [local-options] filename ]...
    rjoe [global-options] [ [local-options] filename ]...
    jpico [global-options] [ [local-options] filename ]...



    Looks like an emacs version is in there...maybe it'll behave as you hope.
    I've not used "rjoe" but have used pico before and a very short dabble in jmacs.

    So that's one to consider.

    Tchuss! (sp?)

    pH in Aptos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 26B.X919@21:1/5 to The Natural Philosopher on Fri Apr 7 19:38:11 2023
    On 4/7/23 1:45 PM, The Natural Philosopher wrote:
    On 07/04/2023 16:59, Pancho wrote:
    On 07/04/2023 11:03, db wrote:
    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    Editing what?

    I like notepadqq, texstudio, vscode, vi.

    Superscripts are probably a keyboard mapping issue

    For coding, in a GUI, Geany. Joes Own Editor is nice in a console

    I agree with your choices. I'm mostly editing Python
    scripts of late and, once you convince it that ".py3"
    means "Python", Geany is very good and is a good
    mini development environment. Now just for plain text
    files, Featherpad/Mousepad/Leafpad are simple & easy.
    Joe's is quite decent for console text, but almost out
    of instinct I usually nano them.

    I often remove/disable 'vi' and relatives so they
    WON'T accidently pop up. WAY too "line-oriented"
    in a block cut-n-paste universe - the -ix version
    of 'edlin' :-)

    And no, I edit 'sudoers' with nano ... works fine,
    just get it RIGHT .....

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to 26BX919@zoq21u.net on Fri Apr 7 20:00:49 2023
    On Fri, 07 Apr 2023 19:38:11 -0400, 26B.X919 <26BX919@zoq21u.net> wrote:
    And no, I edit 'sudoers' with nano ... works fine,
    just get it RIGHT .....

    Don't edit it directly. If you want to use nano, use
    EDITOR="/usr/bin/nano" visudo

    You can also use the environment variable SUDO_EDITOR or VISUAL instead of EDITOR.

    See the man page for visudo for details.

    Regards, Dave Hodgins

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kohlbach@21:1/5 to All on Fri Apr 7 20:33:14 2023
    On Fri, 7 Apr 2023 12:03:38 +0200, db wrote:

    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    Before changing the editor, can you see superscript characters? Find one elsewhere and paste them into a text in the editor.
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to Andreas Kohlbach on Fri Apr 7 21:12:23 2023
    On Fri, 07 Apr 2023 20:33:14 -0400, Andreas Kohlbach <ank@spamfence.net> wrote:

    On Fri, 7 Apr 2023 12:03:38 +0200, db wrote:

    I'm having problems with the new version of emacs after I
    upraded to Kubuntu 22.04. I can't seem to get superscripts
    now. What other good and convenient editors are there under
    Linux?

    Before changing the editor, can you see superscript characters? Find one elsewhere and paste them into a text in the editor.

    Found and fixed https://wiki.mageia.org/en/Local_Communities_Team

    Regards, Dave Hodgins

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to David W. Hodgins on Fri Apr 7 23:38:19 2023
    On Fri, 07 Apr 2023 21:12:23 -0400, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
    Found and fixed https://wiki.mageia.org/en/Local_Communities_Team

    Sorry, copy/pasted the link in reply to the wrong message.

    Regards, Dave Hodgins

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 26B.X929@21:1/5 to David W. Hodgins on Sun Apr 9 20:18:03 2023
    On 4/7/23 8:00 PM, David W. Hodgins wrote:
    On Fri, 07 Apr 2023 19:38:11 -0400, 26B.X919 <26BX919@zoq21u.net> wrote:
       And no, I edit 'sudoers' with nano ... works fine,
       just get it RIGHT .....

    Don't edit it directly. If you want to use nano, use
    EDITOR="/usr/bin/nano" visudo

    I've edited it directly for like 15 years.
    If you get something wrong sudo will stop
    working right so you know you screwed up.
    Re-edit in root terminal.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to 26BX929@zoq22u.net on Sun Apr 9 21:00:07 2023
    On Sun, 09 Apr 2023 20:18:03 -0400, 26B.X929 <26BX929@zoq22u.net> wrote:

    On 4/7/23 8:00 PM, David W. Hodgins wrote:
    On Fri, 07 Apr 2023 19:38:11 -0400, 26B.X919 <26BX919@zoq21u.net> wrote:
    And no, I edit 'sudoers' with nano ... works fine,
    just get it RIGHT .....

    Don't edit it directly. If you want to use nano, use
    EDITOR="/usr/bin/nano" visudo

    I've edited it directly for like 15 years.
    If you get something wrong sudo will stop
    working right so you know you screwed up.
    Re-edit in root terminal.

    It's bad advice to give. Some distributions do not allow login as root (even from
    a text login), or have the su command available. Using sudo is the only way to do
    things as root. If the bios/uefi has been set to only boot from the hard drive, the only option would be to remove the hard drive and use another install to edit
    it. That too may be made impossible with hardware based encryption.

    Everyone can make a typo and not notice it soon enough. The visudo command exists
    for a reason. Advising people to bypass it when you don't know their setup or skill level is not appropriate.

    Regards, Dave Hodgins

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Allodoxaphobia@21:1/5 to David W. Hodgins on Mon Apr 10 15:37:01 2023
    On Sun, 09 Apr 2023 21:00:07 -0400, David W. Hodgins wrote:

    Everyone can make a typo and not notice it soon enough. The visudo
    command exists for a reason. Advising people to bypass it when you
    don't know their setup or skill level is not appropriate.

    +1

    Like I've never fat-fingered any text while typing.... :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 26B.X929@21:1/5 to Allodoxaphobia on Wed Apr 12 22:07:30 2023
    On 4/10/23 11:37 AM, Allodoxaphobia wrote:
    On Sun, 09 Apr 2023 21:00:07 -0400, David W. Hodgins wrote:

    Everyone can make a typo and not notice it soon enough. The visudo
    command exists for a reason. Advising people to bypass it when you
    don't know their setup or skill level is not appropriate.

    +1

    Like I've never fat-fingered any text while typing.... :-)

    I do also ... but his dire warnings have never come
    true for me ever. I hate line editors - and REMOVE
    'vi' so it can NEVER pop up.

    When the IBM-PCs came out I was so appalled by 'edlin'
    that I wrote something akin to nano (in assembler, for
    the practice, leveraging those 'secret' BIOS routines
    found only in the Tech Reference Manual). No more edlin.

    Anyway, open two root terminals and use one to edit sudoers,
    then try a sudo command. If it doesn't work you can revert
    or fix it in the other terminal. That's the safe way even
    IF you're using visudo.

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 26B.X929@21:1/5 to David W. Hodgins on Wed Apr 12 21:48:31 2023
    On 4/9/23 9:00 PM, David W. Hodgins wrote:
    On Sun, 09 Apr 2023 20:18:03 -0400, 26B.X929 <26BX929@zoq22u.net> wrote:

    On 4/7/23 8:00 PM, David W. Hodgins wrote:
    On Fri, 07 Apr 2023 19:38:11 -0400, 26B.X919 <26BX919@zoq21u.net> wrote: >>>>    And no, I edit 'sudoers' with nano ... works fine,
       just get it RIGHT .....

    Don't edit it directly. If you want to use nano, use
    EDITOR="/usr/bin/nano" visudo

       I've edited it directly for like 15 years.
       If you get something wrong sudo will stop
       working right so you know you screwed up.
       Re-edit in root terminal.

    It's bad advice to give. Some distributions do not allow login as root
    (even from
    a text login), or have the su command available. Using sudo is the only
    way to do
    things as root. If the bios/uefi has been set to only boot from the hard drive,
    the only option would be to remove the hard drive and use another
    install to edit
    it. That too may be made impossible with hardware based encryption.

    Most of that is very very rarely a problem.

    Oh, take your 'rootless' distro right after you install
    it and "sudo -i" ... then set a password. After that you
    can 'su' in any terminal. Also, pretty much every distro
    has an "advanced features" option in Grub, which includes
    a way to get in as root in 'debugging/rescue' mode.

    Now a VERY anal sysadmin might work to disable all that,
    akin to cutting his own throat IMHO. There's usually one
    other fix ... open TWO terminal windows, one as root, and
    you edit sudoers with nano or whatever in the other.

    Besides, what do you plan to DO with sudoers ? Mostly it's
    a line or two ... to include yourself in there.

    Anyway, 15+ years, never any of the probs you describe.
    Theory and practice aren't always the same thing.

    And I still zap 'vi'. HATE it. No more line editors
    ever again ... it's not a DOS 1.1 world anymore.


    Everyone can make a typo and not notice it soon enough. The visudo
    command exists
    for a reason. Advising people to bypass it when you don't know their
    setup or
    skill level is not appropriate.

    Regards, Dave Hodgins

    Kindest regards ... but .........

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to 26BX929@zoq22u.net on Thu Apr 13 04:58:40 2023
    On 2023-04-13, 26B.X929 <26BX929@zoq22u.net> wrote:

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    I've always wondered why you use your user-id password with
    sudo. It sounds rather insecure. I seem to recall using
    an older version of Unix where you had to give sudo the root
    password. That makes more sense; you're doing things that
    require root permission...

    --
    /~\ Charlie Gibbs | You can't save the earth
    \ / <cgibbs@kltpzyxm.invalid> | unless you're willing to
    X I'm really at ac.dekanfrus | make other people sacrifice.
    / \ if you read it the right way. | -- Dogbert the green consultant

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Charlie Gibbs on Thu Apr 13 09:01:27 2023
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:
    26B.X929 <26BX929@zoq22u.net> wrote:

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    I've always wondered why you use your user-id password with
    sudo. It sounds rather insecure. I seem to recall using
    an older version of Unix where you had to give sudo the root
    password. That makes more sense; you're doing things that
    require root permission...

    It means you can revoke superuser privilege from a user without changing
    and redistributing the root password.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Thu Apr 13 13:03:09 2023
    On 13/04/2023 09:01, Richard Kettlewell wrote:
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:
    26B.X929 <26BX929@zoq22u.net> wrote:

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    I've always wondered why you use your user-id password with
    sudo. It sounds rather insecure. I seem to recall using
    an older version of Unix where you had to give sudo the root
    password. That makes more sense; you're doing things that
    require root permission...

    It means you can revoke superuser privilege from a user without changing
    and redistributing the root password.


    Yes. Its all horses for courses. Most of us here do not operate huge
    multiuser linux systems with multiple users that may need to be placed
    in groups that need limited access to certain root privileges.
    We want restricted access for normal usage to avoid fat fingers, and
    the ability to easily circumvent that for the rare occasions we want to
    edit system files and change the machine configuration.

    Personally I add a root password to all my machines and often use su -
    to gain a permanent root terminal for doing extensive editing of configs
    etc.

    But for occasional access - mounting file systems, installing into root privilege directiories etc -' sudo mount -a' or 'sudo make install' is perfectly fine.

    --
    "Anyone who believes that the laws of physics are mere social
    conventions is invited to try transgressing those conventions from the
    windows of my apartment. (I live on the twenty-first floor.) "

    Alan Sokal

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Thu Apr 13 13:44:51 2023
    On 2023-04-13 04:07, 26B.X929 wrote:
    On 4/10/23 11:37 AM, Allodoxaphobia wrote:
    On Sun, 09 Apr 2023 21:00:07 -0400, David W. Hodgins wrote:

    Everyone can make a typo and not notice it soon enough. The visudo
    command exists for a reason. Advising people to bypass it when you
    don't know their setup or skill level is not appropriate.

    +1

    Like I've never fat-fingered any text while typing....  :-)

      I do also ... but his dire warnings have never come
      true for me ever. I hate line editors - and REMOVE
      'vi' so it can NEVER pop up.

    That's not a problem for visudo. Despite the name, it works with any
    editor you like.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Espen@21:1/5 to Charlie Gibbs on Thu Apr 13 12:05:00 2023
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:

    On 2023-04-13, 26B.X929 <26BX929@zoq22u.net> wrote:

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    I've always wondered why you use your user-id password with
    sudo. It sounds rather insecure. I seem to recall using
    an older version of Unix where you had to give sudo the root
    password. That makes more sense; you're doing things that
    require root permission...

    A sudoer got his permissions from root.

    In a multi-user environment, it allows other admins to tell who made
    changes.

    --
    Dan Espen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to Dan Espen on Thu Apr 13 13:51:25 2023
    On Thu, 13 Apr 2023 12:05:00 -0400, Dan Espen <dan1espen@gmail.com> wrote:

    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:

    On 2023-04-13, 26B.X929 <26BX929@zoq22u.net> wrote:

    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root. So much for security. When building up a
    server I'll use sudo a fair bit, but once everything's set
    I remove the sudo privs. Meanwhile root has a DIFFERENT
    password .....

    I've always wondered why you use your user-id password with
    sudo. It sounds rather insecure. I seem to recall using
    an older version of Unix where you had to give sudo the root
    password. That makes more sense; you're doing things that
    require root permission...

    A sudoer got his permissions from root.

    In a multi-user environment, it allows other admins to tell who made
    changes.

    The big difference between sudo and su is that sudo allows granting limited permissions to some users.

    For example, using the leafnode package sudo can be used to allow some
    regular users to run /usr/sbin/fetchnews as the user news to update
    the local usenet cache. As those users enter their own password to confirm
    they are the ones controlling the terminal to run sudo, they don't need the root password that would give them full superuser privileges.

    Regards, Dave Hodgins

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lew Pitcher@21:1/5 to All on Thu Apr 13 18:37:49 2023
    On Wed, 12 Apr 2023 22:07:30 -0400, 26B.X929 wrote:
    [snip]
    BTW ... have you ever wondered about the POINT of sudo ???
    If somebody finds your regular-user password then they can
    also be root.

    Yes, on a poorly administered system, that would be true. However,
    if you configure sudo properly (through the /etc/sudoers file), you
    can /severly/ restrict the things that a sudo user can do. You
    can, for instance, restrict a sudo user to a /specific command/
    or a specific group of commands. You can limit their resources,
    ensure that they run as a known (but perhaps less privileged)
    user, in a known (but perhaps less privileged) group, allow
    or deny them based on the host that they are logged in to, etc.

    For whatever reason they have selected, many distributions ignore
    these limits, and explicitly give one (or more) users complete
    root access through the sudo command. This is not good system
    administration.

    [snip]
    --
    Lew Pitcher
    "In Skills We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to David W. Hodgins on Thu Apr 13 21:15:44 2023
    On 2023-04-13 19:51, David W. Hodgins wrote:
    On Thu, 13 Apr 2023 12:05:00 -0400, Dan Espen <dan1espen@gmail.com> wrote:
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:
    On 2023-04-13, 26B.X929 <26BX929@zoq22u.net> wrote:

       BTW ... have you ever wondered about the POINT of sudo ???
       If somebody finds your regular-user password then they can
       also be root. So much for security. When building up a
       server I'll use sudo a fair bit, but once everything's set
       I remove the sudo privs. Meanwhile root has a DIFFERENT
       password .....

    I've always wondered why you use your user-id password with
    sudo.  It sounds rather insecure.  I seem to recall using
    an older version of Unix where you had to give sudo the root
    password.  That makes more sense; you're doing things that
    require root permission...

    A sudoer got his permissions from root.

    In a multi-user environment, it allows other admins to tell who made
    changes.

    The big difference between sudo and su is that sudo allows granting limited permissions to some users.

    There are several different big differences between sudo and su,
    depending how it is configured :-)

    For example, using the leafnode package sudo can be used to allow some regular users to run /usr/sbin/fetchnews as the user news to update
    the local usenet cache. As those users enter their own password to confirm they are the ones controlling the terminal to run sudo, they don't need the root password that would give them full superuser privileges.

    For example it can allow anybody in the "wheel" group to run any command
    as root. Unlimited permissions.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 26B.X929@21:1/5 to The Natural Philosopher on Thu Apr 13 23:28:12 2023
    On 4/13/23 8:03 AM, The Natural Philosopher wrote:
    On 13/04/2023 09:01, Richard Kettlewell wrote:
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes:
    26B.X929 <26BX929@zoq22u.net> wrote:

        BTW ... have you ever wondered about the POINT of sudo ???
        If somebody finds your regular-user password then they can
        also be root. So much for security. When building up a
        server I'll use sudo a fair bit, but once everything's set
        I remove the sudo privs. Meanwhile root has a DIFFERENT
        password .....

    I've always wondered why you use your user-id password with
    sudo.  It sounds rather insecure.  I seem to recall using
    an older version of Unix where you had to give sudo the root
    password.  That makes more sense; you're doing things that
    require root permission...

    It means you can revoke superuser privilege from a user without changing
    and redistributing the root password.


    Yes. Its all horses for courses. Most of us here do not operate huge multiuser linux systems with multiple users that may need to be placed
    in groups that need limited access to certain root privileges.
    We want restricted access for normal  usage to avoid fat fingers, and
    the ability to easily circumvent that for the rare occasions we want to
    edit system files and change the machine configuration.

    Personally I add a root password to all my machines and often use su -
    to gain a permanent root terminal for doing extensive editing of configs
    etc.

    But for occasional access - mounting file systems, installing into root privilege directiories etc -' sudo mount -a'  or 'sudo make install' is perfectly fine.

    That is generally how I use it - but the RegularJoeCanBeRoot
    aspect IS worrisome. I do have some multi-user boxes and can't
    let them, or ALL of them, get root access. We have auditors
    that check into that kind of stuff occasionally.

    I did find a sort-of good use for it ... I often write backup
    programs and some of them take like 24+ hours to do their thing.
    I start the backup pgm with sudo ... so if anybody physically accesses
    the box and kills the backup they will be left with a regular-user
    terminal instead of a root terminal and have to know the PW. I don't
    *expect* such skull-duggery and external SSH/VNC access and such is
    always very limited, but it seems a little "safer".

    Anyway, for what I do most of the day I have a real root terminal,
    or two or three, open.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kenny McCormack@21:1/5 to David W. Hodgins on Fri May 5 18:24:13 2023
    In article <op.125uehxca3w0dxdave@hodgins.homeip.net>,
    David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
    ...
    Everyone can make a typo and not notice it soon enough. The visudo command >exists for a reason. Advising people to bypass it when you don't know
    their setup or skill level is not appropriate.

    Who said anything about recommending it (or "Advising" people) ?

    He just said that's what he does.

    Really, you need to work on your reading comprehension.


    --
    The randomly chosen signature file that would have appeared here is more than 4 lines long. As such, it violates one or more Usenet RFCs. In order to remain in compliance with said RFCs, the actual sig can be found at the following URL:
    http://user.xmission.com/~gazelle/Sigs/GodDelusion

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)