Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592702 - Devmanual: Outdated description of enewuser()
Summary: Devmanual: Outdated description of enewuser()
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Devmanual Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2016-09-01 23:59 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2016-09-03 07:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2016-09-01 23:59:48 UTC
https://devmanual.gentoo.org/ebuild-writing/users-and-groups/ says:

"To add a user, use the enewuser function:
enewuser <user> [uid] [shell] [homedir] [groups] [params]
...
Finally, any data left over for the params argument is passed directly to useradd."


'params' arguments are not supported since:
  CVS revision 1.9 of user.eclass
  2011-11-03 15:29:39 UTC
  "clean up enew{user,group} and drop the [extra] argument as no one is using it"
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/user.eclass?view=log
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/user.eclass?r1=1.8&r2=1.9&diff_format=u