Commit Graph

  • e64253f2b9 Merge pull request #1 from Arcterus/master master mpkh 2018-03-11 12:03:28 +04:00
  • ce26f3ac0f Use passwd and group from libc rather than custom definitions Alex Lyon 2018-03-06 02:05:31 -08:00
  • ed91d55dc1 Remove crate_name attribute Alex Lyon 2018-03-01 23:06:03 -08:00
  • a91a1f682e Change package name to avoid conflict in uutils Alex Lyon 2018-03-01 23:05:03 -08:00
  • e7d8b9c3d2 Version bump Benjamin Sago 2017-09-22 13:16:38 +01:00
  • 9cc8607887 Merge branch 'master' of github.com:ogham/rust-users Benjamin Sago 2017-09-22 12:56:47 +01:00
  • a39151cb6e Merge pull request #11 from 1wilkens/master Benjamin Sago 2017-09-22 12:56:41 +01:00
  • bd32f2134d “Fix” some warnings Benjamin Sago 2017-09-22 12:54:47 +01:00
  • d8db0ee8d2 Merge pull request #16 from sdemos/setegid-before-seteuid Benjamin Sago 2017-09-22 12:52:23 +01:00
  • 7c6ed6c340 set effective gid before setting effective uid in switch_user_group Stephen Demos 2017-09-21 13:54:02 -07:00
  • cc8ffdd304 Version bump Benjamin Sago 2017-08-04 03:11:32 +01:00
  • fd8992ed87 Remove mut from traits Benjamin Sago 2017-08-04 03:11:26 +01:00
  • 94de55c0f7 Merge pull request #13 from wezm/openbsd Benjamin Sago 2017-08-04 03:07:38 +01:00
  • ebdb20dcbb Add support for OpenBSD Wesley Moore 2017-07-18 08:03:48 +10:00
  • c8e3353b13 Removed warnings about patterns in functions without body Florian Wilkens 2016-12-29 17:47:21 +01:00
  • b51a138d10 Version and docs link bump Ben S 2016-09-25 16:14:12 +01:00
  • 439f3c4cce 0.5.1: Missing method for mock groups v0.5.1 Ben S 2016-02-10 15:19:23 +00:00
  • 901b1ccee7 Bump to version 0.5.0 v0.5.0 Ben S 2016-01-29 14:23:11 +00:00
  • ac85727588 Merge branch 'polachok-all-users' Ben S 2016-01-29 13:52:20 +00:00
  • 0d9a3911fd Add docs and fix warnings Ben S 2016-01-29 13:52:13 +00:00
  • 941068b99c Add a full UsersCache constructor Ben S 2016-01-29 13:30:48 +00:00
  • 5c52889e09 Merge branch 'all-users' of https://github.com/polachok/rust-users into polachok-all-users Ben S 2016-01-29 11:20:07 +00:00
  • 3e1a0b50d7 Add extra Debug info to alternate fmts Ben S 2016-01-29 10:38:16 +00:00
  • 32d340e128 Add Debug impls Ben S 2016-01-28 17:15:27 +00:00
  • 54d53c82b2 Merge branch 'graft' Ben S 2016-01-28 16:07:01 +00:00
  • d65d2180d9 Add change and expire accessors Ben S 2016-01-28 16:06:54 +00:00
  • d602c1a6d5 Update the readme's examples to match Ben S 2016-01-28 15:56:55 +00:00
  • e1f906d97c Add missing lints and documentation Ben S 2016-01-28 15:52:53 +00:00
  • cb2919660b Remove unused imports Ben S 2016-01-28 15:40:53 +00:00
  • b5c4d07f6b Replace group fields with accessors, too Ben S 2016-01-28 15:39:04 +00:00
  • b6ef295697 Make group members OS-dependent Ben S 2016-01-28 15:27:36 +00:00
  • fefddc4a76 Replace User fields with getters Ben S 2016-01-28 15:04:22 +00:00
  • 305b37e8c2 Ignore breaking test on Linux Ben S 2016-01-28 14:13:25 +00:00
  • 107e0aee7b Add example that makes sure it works everywhere Ben S 2016-01-28 14:07:31 +00:00
  • 56e5e17bf4 Add missing impl for BSD extras Ben S 2016-01-28 14:07:18 +00:00
  • 1c7d73c01c Move *all* the OS functionality inside modules Ben S 2016-01-28 13:07:15 +00:00
  • d5a02504db Have Users work with its OS-dependent fields Ben S 2016-01-28 08:52:13 +00:00
  • 361bf319eb Result -> IOResult Ben S 2016-01-27 19:44:41 +00:00
  • 5ac78b90f3 Expand doc comments in switch module Ben S 2016-01-27 19:44:12 +00:00
  • 8cfb4a0858 At least parse the switch_user_group test Ben S 2016-01-27 19:41:17 +00:00
  • ce47457bba Improve unreachable error messages Ben S 2016-01-27 19:27:50 +00:00
  • 78c4b410db Misc stylistic changes Ben S 2016-01-27 19:09:49 +00:00
  • e32ec998e9 Switch to using from_utf8_lossy and document this Ben S 2016-01-27 18:40:17 +00:00
  • 8e61c47f14 Comment OS methods Ben S 2016-01-27 16:32:31 +00:00
  • 476e31662b Begin to move OS routines to a new module Ben S 2016-01-26 20:24:36 +00:00
  • 28ddc0c667 Correct group ID type! Ben S 2016-01-26 20:23:16 +00:00
  • bc2ead2798 Merge branch 'sprout-2' Ben S 2016-01-26 19:19:52 +00:00
  • 77eefe0176 Rename OSUsers to UsersCache Ben S 2016-01-26 19:17:24 +00:00
  • 9dadca8993 Move user-switching functions to their own module Ben S 2016-01-26 19:10:48 +00:00
  • 80e0c7d6f2 Move large parts of lib into base Ben S 2016-01-26 19:05:10 +00:00
  • 5e4967a377 Move the traits into their own module Ben S 2016-01-26 18:57:39 +00:00
  • 543925889c Stop using 'object' terminology! Ben S 2016-01-26 18:39:00 +00:00
  • 2dc3ef0a16 Merge branch 'coalesce' Ben S 2016-01-26 17:48:34 +00:00
  • 28d4d68daf Add Default impl for OSUsers Benjamin Sago 2016-01-16 11:27:18 -10:00
  • 052cf245f4 Split Users trait into Users and Groups traits Benjamin Sago 2016-01-14 23:15:53 -10:00
  • aa94ee89db Return Arcs instead of clones, and take &self Benjamin Sago 2016-01-14 23:06:14 -10:00
  • 6a829c7b7d Extract bi-map groups into BiMap struct Benjamin Sago 2016-01-13 18:00:20 +13:00
  • 04f52c4de9 Remove unnecessary 'pub's in C structs Benjamin Sago 2016-01-10 21:15:50 +13:00
  • bb1299a288 Extract OS functions to os module Benjamin Sago 2016-01-10 21:14:05 +13:00
  • 83ddcc886c io::Error -> IOError, io::Result -> IOResult Benjamin Sago 2015-12-22 20:07:05 +11:00
  • 0e76551aa3 README improvements v0.4.4 Ben S 2015-11-27 01:54:53 +00:00
  • 0940e6ae16 get_all_users() API Alexander Polakov 2015-10-20 14:30:45 +03:00
  • 4f08e73cc6 Version bump v0.4.3 Ben S 2015-08-02 16:51:35 +01:00
  • 4c966938db Achieve independence from gated features! Ben S 2015-08-02 16:41:19 +01:00
  • de6a1601db Update broken comment link... Ben S 2015-08-02 15:35:25 +01:00
  • 37b463859a Update docs URL Ben S 2015-08-02 13:10:00 +01:00
  • 1b61aaa466 Merge pull request #8 from kstep/patch-1 Ben S 2015-07-23 00:19:43 +01:00
  • 5cab91cf73 fix docs for switch_user_group Konstantin Stepanov 2015-07-23 01:40:53 +03:00
  • 7c19c92fd7 switch effective uid only Konstantin Stepanov 2015-07-21 12:55:44 +03:00
  • 184bd434e1 fixes Konstantin Stepanov 2015-07-21 12:19:34 +03:00
  • d52a2bcd8c update mock Konstantin Stepanov 2015-07-21 11:48:49 +03:00
  • fd73810619 security warnings Konstantin Stepanov 2015-07-21 11:43:10 +03:00
  • 0cabf243bd add switch user/group functionality Konstantin Stepanov 2015-07-21 11:39:32 +03:00
  • 6e2e00f287 add functions to set user and group Konstantin Stepanov 2015-07-21 11:32:22 +03:00
  • f5d3838e75 add methods to get effective user and group info Konstantin Stepanov 2015-07-21 11:22:58 +03:00
  • 825062139b import other gid/uid functions Konstantin Stepanov 2015-07-21 11:07:56 +03:00
  • 614ae061c7 Have Travis only use the nightly Ben S 2015-06-21 12:54:39 +01:00
  • 0ccafadca5 Version bump v0.4.2 Ben S 2015-06-21 12:49:03 +01:00
  • 7cfbbfe1b7 Merge pull request #7 from MrFloya/master Ben S 2015-06-20 21:19:33 +01:00
  • 35903983ff Added missing feature flag and remove obsolete one Florian Wilkens 2015-06-20 16:22:59 +02:00
  • f98f764742 Merge pull request #6 from mneumann/master Ben S 2015-06-16 13:52:24 +01:00
  • 968fc14738 Fix build for DragonFly BSD Michael Neumann 2015-06-16 13:41:54 +02:00
  • beab642e5a Merge pull request #5 from MrFloya/fix_get_user_by_name Ben S 2015-05-13 15:10:56 +01:00
  • 3862ae8d06 Fixed _by_name functions to correctly use CStrings and added corresponding tests. Florian Wilkens 2015-05-13 15:40:38 +02:00
  • 34a4c66da3 Removed unused import warning on linux Florian Wilkens 2015-05-13 15:12:00 +02:00
  • 1c7cdad0ff Have different c_passwd structs for different OSes v0.4.1 Ben S 2015-05-05 20:06:55 +01:00
  • d4234b64c1 Merge pull request #4 from MrFloya/add_home_and_shell Ben S 2015-05-05 20:01:31 +01:00
  • 5d955e13a5 Added home_dir and shell to User struct Florian Wilkens 2015-05-04 00:53:24 +02:00
  • 914f5e3983 Fixed struct layout Florian Wilkens 2015-05-04 00:43:44 +02:00
  • 8a9d6f90c9 Start using uid_t and gid_t v0.4.0 Ben S 2015-05-03 12:42:37 +01:00
  • b2454eaf20 Add note on beta compatibility (or lack thereof) Ben S 2015-05-03 12:40:44 +01:00
  • 518a02d84f Get rid of un-needed feature flags Ben S 2015-05-03 12:10:42 +01:00
  • 249436c40a Remove Copy impl on internal types Benjamin Sago 2015-04-03 23:52:15 +02:00
  • e1f159688a Version bump Ben S 2015-03-25 23:22:49 +00:00
  • 982463b7e5 Merge pull request #2 from crumblingstatue/master Ben S 2015-03-25 21:50:37 +00:00
  • d734873540 Update to latest Rust Mika Attila 2015-03-25 21:35:35 +01:00
  • e2d4768da0 0.3.0: Version bump v0.3.0 0.3.0 Ben S 2015-03-11 17:21:55 +00:00
  • f1003399ef Tabs are ew. Ben S 2015-03-11 17:21:46 +00:00
  • 004e1405fc Use to_owned and pass slices to search functions Ben S 2015-03-11 17:21:22 +00:00
  • a1d1f2fa87 Upgrade to latest Rust Ben S 2015-03-11 17:14:09 +00:00