aboutsummaryrefslogtreecommitdiff
path: root/passwd-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-06-12 19:59:02 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-06-12 19:59:02 +0000
commit84585387bd8cb1d1e86f8a5334a68d257aacdc12 (patch)
treea87cebb8274114eb9582c169db1674262e8921e5 /passwd-help.pd
parentb73e5b8c5df52bf86e0d45d5956d41cf652210a3 (diff)
return all passwd fields, and made abstractions for converting UID<->username
svn path=/trunk/externals/hcs/; revision=5196
Diffstat (limited to 'passwd-help.pd')
-rw-r--r--passwd-help.pd56
1 files changed, 56 insertions, 0 deletions
diff --git a/passwd-help.pd b/passwd-help.pd
new file mode 100644
index 0000000..b23a7f5
--- /dev/null
+++ b/passwd-help.pd
@@ -0,0 +1,56 @@
+#N canvas 47 122 698 474 10;
+#X obj 98 40 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X floatatom 95 63 5 0 0 0 User_ID - -;
+#X obj 47 200 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 194 148 10;
+#X msg 112 86 bang;
+#X text 209 168 <-- set by argument or cold inlet;
+#X text 148 85 output current;
+#X obj 94 167 passwd;
+#X text 37 20 fetch passwd data based on UID or username;
+#X msg 271 83 symbol hans;
+#X symbolatom 10 359 0 0 0 3 username - -;
+#X symbolatom 76 358 0 0 0 3 password - -;
+#X floatatom 142 358 0 0 0 3 uid - -;
+#X floatatom 173 358 0 0 0 3 gid - -;
+#X symbolatom 278 366 0 0 0 3 user_access_class - -;
+#X symbolatom 300 331 0 0 0 3 gecos - -;
+#X symbolatom 337 297 0 0 0 3 home_folder - -;
+#X symbolatom 376 264 0 0 0 3 shell - -;
+#X msg 269 105 symbol trash;
+#X text 361 105 ignore bad usernames;
+#X text 363 83 use a symbolic username;
+#X obj 76 224 unpack symbol symbol float float float float symbol symbol
+symbol symbol float float;
+#X floatatom 204 428 6 0 0 3 password_change_days - -;
+#X floatatom 226 395 6 0 0 3 password_change_seconds - -;
+#X floatatom 508 300 6 0 0 3 account_expire_days - -;
+#X floatatom 530 267 6 0 0 3 account_expire_seconds - -;
+#X msg 269 56 symbol daemon;
+#X text 188 195 bang on right inlet if no match;
+#X obj 138 195 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X connect 0 0 1 0;
+#X connect 1 0 7 0;
+#X connect 3 0 7 1;
+#X connect 4 0 7 0;
+#X connect 7 0 2 0;
+#X connect 7 0 21 0;
+#X connect 7 1 28 0;
+#X connect 9 0 7 0;
+#X connect 18 0 7 0;
+#X connect 21 0 10 0;
+#X connect 21 1 11 0;
+#X connect 21 2 12 0;
+#X connect 21 3 13 0;
+#X connect 21 4 22 0;
+#X connect 21 5 23 0;
+#X connect 21 6 14 0;
+#X connect 21 7 15 0;
+#X connect 21 8 16 0;
+#X connect 21 9 17 0;
+#X connect 21 10 24 0;
+#X connect 21 11 25 0;
+#X connect 26 0 7 0;