Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the is_real_(user|group) functions take just a name | Colin Guthrie | 2014-11-17 | 1 | -13/+16 |
| | | | | | | | | | While this may cause a few unnecessary getpwnam/getgrnam calls this makes the API much simpler for using externally and means we cannot be called with bogus information for u/gid, homedir and shell and such like. mga#14346 | ||||
* | Add an is_real_group API | Colin Guthrie | 2014-11-17 | 1 | -1/+27 |
| | | | | | | | | | | | | | This is similar to the is_real_user() API added in the previous commit and will be useful in higher level code which might need to filter the display appropriately. Here we use the heuristic that if the GID is in the range 500-999 then we check to see whether the group is the primary group of a user with the same name (and the user is considered a 'real' user) or that the group has any member who is considered 'real'. mga#14346 | ||||
* | Fix list_users() to filter on new uid range. | Colin Guthrie | 2014-11-17 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | The first assigned uid has now changed to 1000 (from 500) to fall in line with most other distros. This number seems hardcoded in a few places to try to do a little bit of refactoring and add a new exported function, is_real_user(), to try and centralise this logic a little. This should ultimately fix the likes of drakboot's autologin user list. mga#14346 | ||||
* | whereis_binary: shows bogus caller | Thierry Vignaud | 2014-06-21 | 1 | -1/+2 |
| | |||||
* | document that typeFromMagic() accepts function refs | Thierry Vignaud | 2012-12-07 | 1 | -0/+9 |
| | |||||
* | kill comment obsolet since long... | Thierry Vignaud | 2011-12-19 | 1 | -2/+0 |
| | |||||
* | Synthesized commit during git-svn import combining previous Mandriva history ↵ | Mageia SVN-Git Migration | 2011-04-12 | 1 | -1/+3 |
| | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r870 | blino | 2011-04-12 00:22:14 +0100 (Tue, 12 Apr 2011) | 1 line import perl-MDK-Common ------------------------------------------------------------------------ | ||||
* | perl_checker cleanups | Thierry Vignaud | 2010-10-24 | 1 | -2/+2 |
| | |||||
* | fix whereis_binary to work on absolute symlinks inside chroot1.2.24 | Pascal Terjan | 2010-01-12 | 1 | -1/+21 |
| | |||||
* | get available size of requested partition not / in df | Pascal Terjan | 2009-12-14 | 1 | -1/+1 |
| | |||||
* | use a more portable df() | Thierry Vignaud | 2009-10-07 | 1 | -11/+3 |
| | |||||
* | fix df on mips, statfs structure is different from x86 (from Arnaud Patard) | Olivier Blin | 2009-10-07 | 1 | -1/+7 |
| | |||||
* | Correctly handling '#' when loading shell variables (#50670, #51457). | Eugeni Dodonov | 2009-06-09 | 1 | -3/+3 |
| | |||||
* | decode ' inside '' properly in getVarsFromSh | Pascal Terjan | 2009-04-14 | 1 | -1/+6 |
| | |||||
* | add spaces to please perl_checker | Pascal Terjan | 2009-03-11 | 1 | -3/+3 |
| | |||||
* | - quote correctly ' inside '' | Pascal Terjan | 2009-03-11 | 1 | -1/+1 |
| | |||||
* | protect various chars in setExportedVarsInSh and setExportedVarsInCsh | Pascal Terjan | 2009-03-10 | 1 | -12/+14 |
| | |||||
* | - protect ;<>&#[]~{}*? in setVarsInSh | Pascal Terjan | 2009-02-02 | 1 | -1/+1 |
| | |||||
* | protect parenthesis in setVarsInSh and drop dead code (#47298) | Pascal Terjan | 2009-01-26 | 1 | -2/+1 |
| | |||||
* | fix previous users list commit | Olivier Blin | 2008-04-03 | 1 | -2/+3 |
| | |||||
* | workaround glibc misconfiguration that make users listed twice (#34279) | Olivier Blin | 2008-04-03 | 1 | -2/+2 |
| | |||||
* | enhance fuzzy_pidofs() to handle kernel processes | Pascal Rigaux | 2007-05-30 | 1 | -1/+9 |
| | |||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 1 | -0/+478 |