Code: Select all
setfacl -R -m u:pi:rw /
pi is already in the sudoers list, but even though pi can give sudo commands it doesn't help much in sftp (which is where I would like to have global r/w as pi or another non root user).bonelifer wrote:You could add the pi user to the sudoer list:
http://colekcolek.com/2012/02/28/add-us ... tu-debian/
Well you could do the root password thing, but it's a pretty radical way to get what you want. Depends how much of a hurry you're in. For reasons why not, have a look at a thread from last week where the root login thing was kicked about dangers of root login, sudo benefits?scorp wrote:setfacl not found on my Debian either....
I agree from one point of view, but it ultimately depends on what you want to do with it. Today it might just be media serving or a bit of hacking in python. But tomorrow it might be that you'd want to remote ssh into your Pi-based server to access files on your USB hard drive (for example). In that case, you'd want both...stevep wrote:Just add a root password. I doubt whether your store all your bank and personal details on your Pi, and I don't suppose it holds the personnel and payroll database for your trans-global corporation. You might brick your SD Card, but you can easily write another one, or restore from a backup. Ignore the nanny state. Live on the edge mate.