Wrong version of the book. Plus, the instructions are incomplete and inadequate to arrive a working solution.
On Sunday, 2 February 2014 21:18:27 UTC-5, Ovidio Marinho wrote: > > > > everything seems ok > > http://web2py.com/books/default/chapter/34/08/email-and-sms#x509-and-PGP-Encryption > > > Ovidio Marinho Falcao Neto > ITJP.NET.BR > ovid...@gmail.com <javascript:> > itjp....@gmail.com <javascript:> > Brasil > > > > 2014-02-02 Alan Etkin <spam...@gmail.com <javascript:>>: > >> 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+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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.