oops - that is /usr/sbin/nologin of course.  Sorry.

sudo usermod -s /usr/bin/bash weewx              # temporarily change the 
shell to a valid one
sudo su weewx                                    # now this will work

(do anything requiring running as user weewx)

sudo usermod -s /usr/sbin/nologin weewx           # reverse the temporary 
change

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/d7496a2b-b16d-49ac-b062-9a0331d75112n%40googlegroups.com.

Reply via email to