I tried "sudo -u www-data gpg --gen-key", but I got permission denied to 
access /home/richard/.

I'd try to login as "www-data" but I don't know the password.

Thanks.

On Sunday, 2 February 2014 05:00:51 UTC-5, Alan Etkin wrote:
>
> I thought about that, but I don't think there's an actual 
>> www-data:www-data user on my Linux server by virtue of installing web2py, 
>> is there?? How would I login?
>>
>
> Some script installations of web2py create the user. You need to know 
> first what user is configured to run web2py in the webserver. How did you 
> deploy web2py?
>
> In Ubuntu and similar distributions you get the list of users in the 
> system with 
>
> cat /etc/passwd
>
> To run a command as another user (i.e. for creating a key):
>
> sudo -u www-data gpg --gen-key
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to