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


Groups > linux.debian.user > #239625

Re: how to forbid debhelper to modify /home ?

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: how to forbid debhelper to modify /home ?
Date 2021-09-03 15:20 +0200
Message-ID <CThgR-5P8-7@gated-at.bofh.it> (permalink)
References <CTdPY-3sr-1@gated-at.bofh.it> <CTg1r-4Ps-1@gated-at.bofh.it> <CTgb8-58J-17@gated-at.bofh.it> <CTgut-5g0-3@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


Roberto C. Sánchez <roberto@debian.org> wrote:
> On Fri, Sep 03, 2021 at 08:03:23AM -0400, Greg Wooledge wrote:

>> Out of curiosity, I checked my system to see if there were any system
>> users with home directories under /home.  The only one I found is "ntp".
>> 
>> Then I looked at the ntp.postinst script, and it has this:
>> 
>> adduser --system --quiet --ingroup ntp --no-create-home --home /nonexistent ntp
>> 
>> So presumably my ntp user with /home/ntp as its home directory is from
>> an older Debian release, and if it had been created under bullseye, it
>> would look different.
 
> How old is your system?  I just checked a machine that I initially as a
> Woody (3.0) system in 2001 and there is no ntp user directory under
> /home.

I have a system that was installed as either Slink (2.1) or Potato (2.2)
and then kept on Unstable ever since.

I *do* have 

sshd:x:104:65534::/home/sshd:/usr/sbin/nologin
ntp:x:106:117::/home/ntp:/bin/false
cupsys:x:130:106::/home/cupsys:/bin/false

I don't have the directories, though. (Might have gotten lost over the
years, though.)

So there was a time in the past when system users home dirs were created in /home.

Grüße,
S°

-- 
Sigmentation fault. Core dumped.

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


Thread

how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 11:40 +0200
  Re: how to forbid debhelper to modify /home ? Erwan David <erwan@rail.eu.org> - 2021-09-03 11:50 +0200
    Re: how to forbid debhelper to modify /home ? rhkramer@gmail.com - 2021-09-03 14:10 +0200
    Re: how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 15:40 +0200
  Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:00 +0200
    Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:10 +0200
      Re: how to forbid debhelper to modify /home ? "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-03 14:20 +0200
      Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:30 +0200
        Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:40 +0200
          Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 14:40 +0200
            Re: how to forbid debhelper to modify /home ? Greg Wooledge <greg@wooledge.org> - 2021-09-03 14:50 +0200
        Re: how to forbid debhelper to modify /home ? Sven Hartge <sven@svenhartge.de> - 2021-09-03 15:20 +0200
        Re: how to forbid debhelper to modify /home ? Jonathan Dowland <jon+debian-user@dow.land> - 2021-09-06 12:30 +0200
    Re: how to forbid debhelper to modify /home ? Harald Dunkel <harald.dunkel@aixigo.com> - 2021-09-03 16:00 +0200
      Re: how to forbid debhelper to modify /home ? Roberto C. Sánchez <roberto@debian.org> - 2021-09-03 16:20 +0200

csiph-web