Create wordpress user specifically for the auto update and add the user to the www-data group:
- sudo adduser wordpress
- sudo adduser wordpress www-data
chgroup the wordpress dir to the www-data group:
- sudo chgrp -R www-data /var/www/wordpress
Add the following to /etc/ssh/ssd_config to chroot the wordpress user to the wordpress directory:
Match User wordpress
Restart the sshd service:
sudo /etc/init.d/ssh restart
Setup the sftp userid and password in the wordpress settings and select sftp.
I love the fact that so many consumer gadgets are increasingly Linux based and for the so inclined you can ssh or telnet into them to fiddle around with their settings 🙂
Tivo is probably the most common of all consumer devices running Linux. We love our Tivo box. We still have a Series 1 and it’s run continuously 24×7 since approx 2002 when we first bought it. It’s only been powered down a couple of times during power outages, and from memory I can only remember once or twice when it hung and had to be restarted. It’s hands down the most stable, most reliable piece of consumer electronics I’ve ever owned, by far.
The Iomgea ix2 NAS boxes run on Linux (as do most NAS boxes) – you can enable ssh from the ‘hidden page’ at /support.html and then ssh into it using id=root and password=soho+[your admin user password]
A lot of DSL and cable modems, and Wifi routers also run Linux. Most Actiontec DSL modems have a telnet port open on the internal network, and you can telnet into them using your web admin interface userid and password.
Edit /etc/apache2/apache2.conf – add:
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
Generate SSL certificates:
Add SSL config and 443 port to a new Virtual Host in apache2.conf – for example:
Add a listen port on 443 to /etc/apache2/ports.conf:
CNet had a couple of reporters out waiting in line for the launch of the Verizon iPhone today, where they found virtually no-one waiting in line. Well, 10 people at the New York Apple store and 15 at the San Francisco Apple store to be exact. Not exactly setting the world on fire then.