1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: combinators accessors kernel unix unix.users
7 TUPLE: bsd-passwd < passwd change class expire fields ;
9 M: bsd new-passwd ( -- bsd-passwd ) bsd-passwd new ;
11 M: bsd passwd>new-passwd ( passwd -- bsd-passwd )
12 [ call-next-method ] keep
14 [ passwd-pw_change >>change ]
15 [ passwd-pw_class >>class ]
16 [ passwd-pw_shell >>shell ]
17 [ passwd-pw_expire >>expire ]
18 [ passwd-pw_fields >>fields ]