Version 1 (modified by nicolasmartin, 5 years ago) (diff) |
---|
Account Management
Retrieve from the terminal the ID list of users to add from User Manager
psql -c " SELECT DISTINCT(sid) FROM session_attribute WHERE authenticated = 1 EXCEPT SELECT sid FROM session_attribute WHERE name = 'enabled';" | for sid in `cat -`; do [ $( grep ^$sid ~/auth/trac.passwd) ] && echo $sid; done