[moin-user] moinmoin 1.9.8 : errors attempting to reset account password via shell
Lars Noodén
lars.nooden at gmail.com
Sat Jul 29 11:12:21 EDT 2017
On 07/29/2017 06:05 PM, Paul Boddie wrote:
> On Saturday 29. July 2017 17.00.17 Lars Nood�n wrote:
>> On 07/29/2017 05:43 PM, Paul Boddie wrote:
>> [snip]
>>
>>> I would start with setting --config-dir and see what error you get next.
>>
>> Thanks for the reply. I'm not sure I have applied that option correctly
>> as I still get quite a long error message. From the following:
>>
>> moin --config-dir=/home/wiki/ \
>> account resetpw --name=someaccount newpassword
>>
>> I get the errors below.
>
> This is what I might have written, if /home/wiki contains wikiconfig.py, so we
> may be dealing with another problem. Can the user running this command access
> the configuration file?
Yes, though I am not sure what level of permission is adequate.
$ whoami
user1
$ ls -lhd /home/wiki/
drwxr-xr-x 5 user1 user1 512B Jul 29 17:47 /home/wiki/
$ ls -lh /home/wiki/
total 52
drwxr-xr-x 5 user1 user1 512B Jul 14 20:39 wiki1
-rw-r--r-- 1 user1 user1 1.4K Jul 14 21:31 wiki1.py
-rw-r--r-- 1 user1 user1 819B Jul 14 21:31 wiki1.pyc
-rw-r--r-- 1 user1 user1 6.9K Jul 29 16:41 farmconfig.py
-rw-r----- 1 user1 user1 1.6K Jul 29 16:42 farmconfig.pyc
-rw-r--r-- 1 user1 user1 571B Jul 14 20:48 log.conf
drwxr-xr-x 2 user1 user1 512B Jul 14 20:48 logs
-rwxr-xr-x 1 user1 user1 3.3K Jul 29 11:36 moin.fcgi
drwxr-xr-x 3 user1 user1 512B Jul 14 21:01 underlay
[...]
Regards,
Lars
More information about the moin-user
mailing list