seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2018/08/21, 02:00:53


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Problems with login and util-linux  (Read 1759 times)

0 Members and 1 Guest are viewing this topic.

Offline drb

  • User
  • Posts: 103
Re: Problems with login and util-linux
« Reply #15 on: 2018/08/03, 10:23:04 »
I had boot errors like that but the latest kernel 4.17.11-towo.2-siduction-amd64 x86_64 solved that problem. I think it was just the one kernel that caused it.

Offline Baggi

  • User
  • Posts: 19
Re: Problems with login and util-linux
« Reply #16 on: 2018/08/03, 11:38:45 »
ACPI Errors are gone. All works fine for me.

Offline hendrikL

  • User
  • Posts: 266
Re: Problems with login and util-linux, the reason why ...
« Reply #17 on: 2018/08/04, 10:03:16 »
hi,

Quote from: /usr/share/doc/util-linux$ zcat NEWS.Debian.gz
util-linux (2.32-0.4) unstable; urgency=medium

  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.
  [...]

So there is no bug or similar!

greetz hendrikL

Offline GoinEasy9

  • User
  • Posts: 443
Re: Problems with login and util-linux
« Reply #18 on: 2018/08/04, 17:09:22 »
Quote
  - su '' (empty user string) used to give root, but now returns an error.
 

I'm not seeing an error using "su" (empty user string), it seems to work, for me, just as it did before the update.
Linux Counter number 348347
System:    Host: M2N-SLI Kernel: 4.16.0-towo.1-siduction-amd64 x86_64 bits:
Desktop: KDE Plasma 5.12.4 Distro: siduction 18.1.0 Patience
Machine:   Device: desktop Mobo: ASUSTeK model: M2N-SLI

Offline df8oe

  • User
  • Posts: 49
  • Linux von Innen
    • DF8OE
Re: Problems with login and util-linux
« Reply #19 on: 2018/08/05, 10:17:44 »
"su" without arguments works - but it misses to set the PATHs to
/sbin
/usr/sbin
/usr/local/sbin


Everything else is as before.


Greetings
DF8OE

Offline tommy2

  • User
  • Posts: 51
Re: Problems with login and util-linux
« Reply #20 on: 2018/08/05, 14:14:04 »
Must have missed this, but I thought using su without the "-" would use the current path? The "-" is required for the default root directory path, like I said must have missed something.  :-[

Offline CCarpenter

  • User
  • Posts: 189
    • http://www.greenvalleyranchschwand.de
Re: Problems with login and util-linux
« Reply #21 on: 2018/08/06, 23:19:13 »
"su" without arguments works - but it misses to set the PATHs to
/sbin
/usr/sbin
/usr/local/sbin


Everything else is as before.


Greetings
DF8OE
Confirmed, same here.

Offline Lanzi

  • User
  • Posts: 1.580
Re: Problems with login and util-linux
« Reply #22 on: 2018/08/07, 14:35:45 »
I think I have the same, but maybe worse...
If I open a konsole, login as root with su, I cannot install wit apt, dpkg or make a DU:
Code: [Select]
Changelogs werden gelesen... Fertig
Extrahiere Vorlagen aus Paketen: 100%
Vorkonfiguration der Pakete ...
dpkg: Warnung: »ldconfig« wurde im PATH nicht gefunden oder ist nicht ausführbar
dpkg: Warnung: »start-stop-daemon« wurde im PATH nicht gefunden oder ist nicht ausführbar
dpkg: Fehler: 2 erwartete Programme nicht im PATH gefunden oder nicht ausführbar
Beachten Sie: PATH von root sollte normalerweise /usr/local/sbin, /usr/sbin und /sbin enthalten
E: Sub-process /usr/bin/dpkg returned an error code (2)
How can I install the new versions?

Offline hendrikL

  • User
  • Posts: 266
Re: Problems with login and util-linux
« Reply #23 on: 2018/08/07, 15:00:21 »
su -

Edit:fixed typo,  added space between su and -!
 
« Last Edit: 2018/08/08, 07:04:44 by hendrikL »

Offline Lanzi

  • User
  • Posts: 1.580
Re: Problems with login and util-linux
« Reply #24 on: 2018/08/07, 16:55:03 »
it works with su -
läuft, danke
« Last Edit: 2018/08/07, 17:03:16 by Lanzi »

Offline tommy2

  • User
  • Posts: 51
Re: Problems with login and util-linux
« Reply #25 on: 2018/08/08, 14:04:18 »
Once again su "to who" normally su is used to become another user that's why a name of which user but you are still in your current path. That's why the " - " is used to tell the shell to use the root path, guess I didn't miss something earlier.  ;)