> > 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. >
I don't think there is a password set for www-data. How about this? sudo -i -u www-data gpg --gen-key That fixed the permission issue for my system Otherwise, if you want to login as www-data, you might need to set the user password sudo passwd www-data And then sudo login This is based in Ubuntu 12.04 so for your sytem may change. -- 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.