New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
user/nicolasmartin/AccountManagement – NEMO
wiki:user/nicolasmartin/AccountManagement

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
Last modified 3 years ago Last modified on 2019-03-08T16:58:54+01:00