| /[gentoo-x86]/eclass/user.eclass |
Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Links to MAIN: | (view) (download) (annotate) |
esethome: silently exit if home dir already up to date, improve messaging
esethome: eerror and not die when home dir cannot be updated, due to for instance user being in use
fixed esethome, directory must exist befure user record can be updated
added 'esethome' to user.eclass
avoid multiple inclusions when possible to speed caching up
eat mangled whitespace pointed out by David James
avoid IFS abuse by using `IFS=, read -a` to have bash create an array for us as pointed out by David James
tweak failure message as pointed out by David James
rewrite a bit of code to quote all user/group/shell/home strings
re-use "eshell" when searching for a shell to avoid missing "local shell" decl pointed out by Brian Harring
do not touch sandbox settings since we only run in pkg_* funcs (where sandbox is disabled)
restrict enew{user,group} to pkg_{setup,preinst,postinst}
Change possible mis-used ${action} to ${db}
clean up enew{user,group} and drop the [extra] argument as no one is using it
restore egetshell as some packages in the tree have been parsing getent directly for this
egethome: check arguments to verify correct usage
restore egethome as some packages in the tree have been parsing getent directly for this
clean up egetent style to make it clear how it works
drop unused funcs
send nscd output to /dev/null so we don't dump ugly warnings when running as non-root
unify/update EBUILD_PHASE checks, and simplify egethome/egetshell/is-login-disabled funcs a bit
split out user management helpers into a dedicated eclass
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |