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


Groups > linux.debian.user > #198372

Re: Please help with error message

From mick crane <mick.crane@gmail.com>
Newsgroups linux.debian.user
Subject Re: Please help with error message
Date 2018-08-07 13:50 +0200
Message-ID <wk8EV-5t-5@gated-at.bofh.it> (permalink)
References <wk4hX-5YI-3@gated-at.bofh.it> <wk54l-6fk-3@gated-at.bofh.it> <wk5e2-6yg-5@gated-at.bofh.it> <wk5nH-6BH-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2018-08-07 09:18, Stephan Seitz wrote:
> On Di, Aug 07, 2018 at 10:08:06 +0200, Rodolfo Medina wrote:
>> $ echo $PATH
>> /home/rodolfo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>> rodolfo@sda6-acer:~$ su
>> Password:
> 
> You are using testing/unstable, aren’t you?
> 
> The su binary was replaced with another one, and now Debian is
> breaking user space again. :-(
> Now su alone doesn’t change the path but keeps the user path. You have
> to use „su -”.
> 
>  The util-linux implementation of /bin/su is now used, replacing the
>  one previously supplied by src:shadow (shipped in login package), and
>  bringing Debian in line with other modern distributions. The two
>  implementations are very similar but have some minor differences (and
>  there might be more that was not yet noticed ofcourse), e.g.
> 
>  - new 'su' (with no args, i.e. when preserving the environment) also
>    preserves PATH and IFS, while old su would always reset PATH and IFS
>    even in 'preserve environment' mode.
>  - su '' (empty user string) used to give root, but now returns an 
> error.
>  - previously su only had one pam config, but now 'su -' is configured
>    separately in /etc/pam.d/su-l
> 
>  The first difference is probably the most user visible one. Doing
>  plain 'su' is a really bad idea for many reasons, so using 'su -' is
>  strongly recommended to always get a newly set up environment similar
>  to a normal login. If you want to restore behaviour more similar to
>  the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs.
> 
> Shade and sweet water!
> 
> 	Stephan

so where is user's path kept these days as it seems I might have set 
user PATH to root PATH ?
and I should probably put it back as it was.
mick
-- 
Key ID    4BFEBB31

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


Thread

Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 09:10 +0200
  Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 10:00 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:10 +0200
      Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 10:20 +0200
        Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:40 +0200
          Re: Please help with error message deloptes <deloptes@gmail.com> - 2018-08-07 13:20 +0200
            Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 19:00 +0200
              Re: Please help with error message deloptes <deloptes@gmail.com> - 2018-08-08 00:00 +0200
        Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 13:50 +0200
          Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 14:10 +0200
        Re: Please help with error message mick crane <mick.crane@gmail.com> - 2018-08-07 13:50 +0200
      Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 11:40 +0200
        Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 12:10 +0200
          Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 12:30 +0200
            Re: Please help with error message Stephan Seitz <stse+debian@fsing.rootsland.net> - 2018-08-07 12:50 +0200
              Re: Please help with error message Reco <recoverym4n@gmail.com> - 2018-08-07 15:20 +0200
            Re: Please help with error message Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-07 14:20 +0200
  Re: Please help with error message Erik Christiansen <dvalin@internode.on.net> - 2018-08-07 10:10 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:20 +0200
  Re: Please help with error message Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2018-08-07 10:10 +0200
    Re: Please help with error message Rodolfo Medina <rodolfo.medina@gmail.com> - 2018-08-07 10:20 +0200

csiph-web