Changes between Initial Version and Version 1 of user/nicolasmartin/Account Management


Ignore:
Timestamp:
2019-03-08T16:58:54+01:00 (20 months ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • user/nicolasmartin/Account Management

    v1 v1  
     1= Account Management 
     2 
     3Retrieve from the terminal the ID list of users to add from [/admin/accounts/users User Manager] 
     4 
     5{{{#!sh 
     6psql -c " 
     7SELECT DISTINCT(sid)  
     8  FROM session_attribute  
     9 WHERE authenticated = 1  
     10EXCEPT SELECT sid  
     11         FROM session_attribute  
     12        WHERE name = 'enabled';" 
     13| for sid in `cat -`; do 
     14   [ $( grep ^$sid ~/auth/trac.passwd) ] && echo $sid; 
     15done 
     16}}}