Gentoo Archives: gentoo-dev

From: Leho Kraav <leho@×××××.com>
To: linux.gentoo.dev@××××××××××××.com
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] user management mitigation
Date: Sun, 04 Dec 2011 14:45:49
Message-Id: 4732345.520.1323009889903.JavaMail.geo-discussion-forums@yqbg11
1 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:
2
3 * move to sys-apps/shadow trunk [6]
4 * fork my own user.eclass from v1.17, modify it to use --root $ROOT when calling shadow stuff
5 * stick my user.eclass into myoverlay/eclass/
6 * # echo "lkraav" > myoverlay/profiles/repo_name
7 * # echo "[DEFAULT]\neclass-overrides = lkraav" > /etc/portage/repos.conf
8 * # echo "PORTAGE_RSYNC_EXTRA_OPTS=\"--exclude=/metadata/cache\"" >> /etc/make.conf
9 * # rm -rf /usr/portage/metadata/cache
10 * # echo "emerge --regen" >> /etc/cron.weekly/09-my-portage-update-script
11 * 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
12 * try to achieve clamlike happiness with this setup
13
14 Anything particularly important I'm missing? Is this the rightish way to do it?
15
16 [1]: https://forums.gentoo.org/viewtopic-p-5877500.html
17 [2]: https://groups.google.com/forum/#!topic/linux.gentoo.dev/FYJ4g5IryIw/discussion
18 [3]: https://alioth.debian.org/tracker/index.php?func=detail&aid=312407&group_id=30580&atid=411480
19 [4]: https://bugs.gentoo.org/show_bug.cgi?id=53269'
20 [5]: http://www.linux-archive.org/gentoo-embedded/295178-emerge-root-users-not-created.html
21 [6]: https://bugs.gentoo.org/show_bug.cgi?id=393073

Replies

Subject Author
Re: [gentoo-dev] user management mitigation Mike Gilbert <floppym@g.o>
Re: [gentoo-dev] user management mitigation Zac Medico <zmedico@g.o>