Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #198628

Re: New su behavior in util-linux 2.32

From Pétùr <peturvilj@gmail.com>
Newsgroups linux.debian.user
Subject Re: New su behavior in util-linux 2.32
Date 2018-08-11 18:00 +0200
Message-ID <wlEt4-6Ov-3@gated-at.bofh.it> (permalink)
References <wlyH0-3qG-9@gated-at.bofh.it> <wlAz8-4wE-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 11/08/2018 à 13:42, Nicolas George a écrit :
> Pétùr (2018-08-11):
>> The new 'su' is useless for me because it cannot launch root program.
> Maybe learn how to use $PATH?

If I modify $PATH for the new "su", I basically re-implement the old
behavior of "su". This is exactly what adding 'ALWAYS_SET_PATH yes' in
/etc/login.defs does (and I did that).

My question was not to modify new "su" but why old "su" is bad practice.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

New su behavior in util-linux 2.32 Pétùr <peturvilj@gmail.com> - 2018-08-11 11:50 +0200
  Re: New su behavior in util-linux 2.32 Stefan Krusche <linux@stefan-krusche.de> - 2018-08-11 12:00 +0200
    Re: New su behavior in util-linux 2.32 Curt <curty@free.fr> - 2018-08-11 16:10 +0200
      Re: New su behavior in util-linux 2.32 Samuel Henrique <samueloph@debian.org> - 2018-08-11 17:50 +0200
      Re: New su behavior in util-linux 2.32 Pétùr <peturvilj@gmail.com> - 2018-08-11 18:00 +0200
        Re: New su behavior in util-linux 2.32 Curt <curty@free.fr> - 2018-08-11 19:10 +0200
  Re: New su behavior in util-linux 2.32 Nicolas George <george@nsup.org> - 2018-08-11 13:50 +0200
    Re: New su behavior in util-linux 2.32 Pétùr <peturvilj@gmail.com> - 2018-08-11 18:00 +0200
  Re: New su behavior in util-linux 2.32 Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-13 14:50 +0200
    Re: New su behavior in util-linux 2.32 Darac Marjal <mailinglist@darac.org.uk> - 2018-08-13 15:10 +0200
      Re: New su behavior in util-linux 2.32 Sven Joachim <svenjoac@gmx.de> - 2018-08-13 15:40 +0200
  Re: New su behavior in util-linux 2.32 Vincent Lefevre <vincent@vinc17.net> - 2018-08-14 11:00 +0200

csiph-web