Commit graph

11 commits

Author SHA1 Message Date
Steven Armstrong
e978542381 safer quoting
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-08-02 15:22:24 +02:00
Nico Schottelius
3c37ac0b0f do not fail if nothing todo (__user and __group)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 22:24:11 +02:00
Nico Schottelius
785ec3f36f sort fields by alphabet
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 13:20:22 +02:00
Nico Schottelius
db425d3925 use property, not key anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 10:59:04 +02:00
Nico Schottelius
4b76d8a7e0 __user: remove =~, cleanup and beautify, replace cut with awk
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 10:45:41 +02:00
Nico Schottelius
c601298760 gencode -> gencode-remote in types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:39:01 +01:00
Steven Armstrong
cef58ae85f handle numeric group id as well as group name for consistency with usermod|groupmod
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-18 23:37:10 +01:00
Steven Armstrong
58718f735a use getent to get entry from shadow database
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:35:55 +01:00
Steven Armstrong
4432b476d0 __user: only set password if it changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:26:24 +01:00
Steven Armstrong
1518bf1935 __user: only run commands if value has changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:11:01 +01:00
Steven Armstrong
a9d0bfee16 new type __user
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 16:47:40 +01:00