public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Leho Kraav <leho@kraav.com>
To: linux.gentoo.dev@googlegroups.com
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] user management mitigation
Date: Sun, 4 Dec 2011 06:44:49 -0800 (PST)	[thread overview]
Message-ID: <4732345.520.1323009889903.JavaMail.geo-discussion-forums@yqbg11> (raw)
In-Reply-To: <i46IO-6A-17@gated-at.bofh.it>

So after a reading through a bunch of stuff [1][2][3][4][5], what I'm going to do for the goal above is:

 * move to sys-apps/shadow trunk [6]
 * fork my own user.eclass from v1.17, modify it to use --root $ROOT when calling shadow stuff
 * stick my user.eclass into myoverlay/eclass/
 * # echo "lkraav" > myoverlay/profiles/repo_name
 * # echo "[DEFAULT]\neclass-overrides = lkraav" > /etc/portage/repos.conf
 * # echo "PORTAGE_RSYNC_EXTRA_OPTS=\"--exclude=/metadata/cache\"" >> /etc/make.conf
 * # rm -rf /usr/portage/metadata/cache
 * # echo "emerge --regen" >> /etc/cron.weekly/09-my-portage-update-script
 * subscribe to atom feed of portage user.eclass changes, merge stuff until sys-apps/shadow-4.1.4.5 surfaces and maybe main tree user.eclass gets patched to use --root
 * try to achieve clamlike happiness with this setup

Anything particularly important I'm missing? Is this the rightish way to do it?

 [1]: https://forums.gentoo.org/viewtopic-p-5877500.html
 [2]: https://groups.google.com/forum/#!topic/linux.gentoo.dev/FYJ4g5IryIw/discussion
 [3]: https://alioth.debian.org/tracker/index.php?func=detail&aid=312407&group_id=30580&atid=411480
 [4]: https://bugs.gentoo.org/show_bug.cgi?id=53269'
 [5]: http://www.linux-archive.org/gentoo-embedded/295178-emerge-root-users-not-created.html
 [6]: https://bugs.gentoo.org/show_bug.cgi?id=393073



       reply	other threads:[~2011-12-04 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <i46IO-6A-19@gated-at.bofh.it>
     [not found] ` <i46IO-6A-17@gated-at.bofh.it>
2011-12-04 14:44   ` Leho Kraav [this message]
2011-12-04 17:12     ` [gentoo-dev] user management mitigation Mike Gilbert
2011-12-04 17:56     ` Zac Medico
     [not found] <i4lya-8ax-21@gated-at.bofh.it>
     [not found] ` <i4lya-8ax-23@gated-at.bofh.it>
     [not found]   ` <i4lya-8ax-19@gated-at.bofh.it>
2011-12-04 22:08     ` Leho Kraav
     [not found] <hO7IS-2JR-15@gated-at.bofh.it>
2011-12-03 22:52 ` Leho Kraav
2011-10-20 20:47 Mike Frysinger
2011-10-21  1:37 ` Alexandre Rostovtsev
2011-10-21  9:08 ` Brian Harring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4732345.520.1323009889903.JavaMail.geo-discussion-forums@yqbg11 \
    --to=leho@kraav.com \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=linux.gentoo.dev@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox