tobyweston / temperature-machine

Data logger for multiple DS18B20 temperature sensors on one or more machines
Apache License 2.0
67 stars 22 forks source link

I can't find ~/.temperatures #29

Closed Cloudedhouse closed 6 years ago

Cloudedhouse commented 6 years ago

Where is the above please?

I think it's essential to have access to it in order to make changes such as to the hostname etc

Many thanks

tobyweston commented 6 years ago

Can you give more context what you're trying to do.

The working folder for temperature machine is ~/,temperature. You'll find the images, source RRD etc there.

~ means the user's home directory (it's unix shorthand). In this case, I mean the pi user. So when you're logged in as pi, you can type:

cd ~
ls -la

and if temperature-machine has ever been run, you'll see the .temperature folder. cd into that.

The long hand is /home/pi so you could always type cd /home/pi. Make sure you're logged in as pi.

Cloudedhouse commented 6 years ago

Ah, found it, I had to enable Root following these instructions, thanks very much.

# sudo -i
# vi /etc/ssh/sshd_config
From, PermitRootLogin without-password
To, PermitRootLogin yes
# /etc/init.d/ssh restart