On 03.06.2019 05:54, Keifer Bly wrote:
So upon opening the file in this folder, I am only seeing a blank file saying it is unwritable. I wonder why this might be
;-) Only root can read the logfiles. You have to use sudo or su. Or you as a user are a member of the group 'adm'. Then you can read some and open the folder: '/var/log/unattended-upgrades'. Therefore the tip in the last message.
EXAMPLE: user@tor-proxy-02:~$ cd /var/log/unattended-upgrades user@tor-proxy-02:/var/log/unattended-upgrades$ ls -la total 28 drwxr-x--- 2 root adm 4096 Jun 1 06:25 . drwxr-xr-x 8 root root 4096 Jun 3 06:25 .. -rw-r--r-- 1 root adm 0 Jun 1 06:25 unattended-upgrades-dpkg.log -rw-r--r-- 1 root adm 403 May 15 06:18 unattended-upgrades-dpkg.log.1.gz -rw-r--r-- 1 root adm 333 May 11 06:10 unattended-upgrades-dpkg.log.2.gz -rw-r--r-- 1 root root 800 Jun 3 06:39 unattended-upgrades.log -rw-r--r-- 1 root root 1234 Jun 1 06:01 unattended-upgrades.log.1.gz -rw-r--r-- 1 root root 673 Apr 30 06:06 unattended-upgrades.log.2.gz -rw-r--r-- 1 root root 0 Apr 15 22:13 unattended-upgrades-shutdown.log user@tor-proxy-02:/var/log/unattended-upgrades$ sudo nano unattended-upgrades.log
Google Cloud does not include a desktop interface in their Debian VPS so I am having to use nano to open everything. Thanks.
Not on the server. ;-) In the filemanager on your home system. I can read my serverfile systems just like my files on the hard disk.
My everyday OS is Debian GNU/Linux. Most filemanager on *BSD, GNU/Linux and Unix systems should be able to do ftps or (File transfer over SSH). In konqueror & Dolphin = FISH protocol. I only use PubkeyAuthentication on the servers! Then you do not have to log in on the console to read the log files.
https://www.binarytides.com/ssh-dolphin-konqueror-kde/
Ciao Marco!
On Sat, Jun 1, 2019 at 10:26 PM lists@for-privacy.net wrote:
On 31.05.2019 02:43, teor wrote:
On 31 May 2019, at 10:34, Keifer Bly keifer.bly@gmail.com wrote:
Upon trying to open that folder, I got this.
var/log/unattended-upgrades: No such file or directory
Try a leading slash: /var/log/unattended-upgrades
sorry, slash was lost when I copy & paste. :-(
If you want to read as user the files in /var/log/ $ usermod -aG adm user
have a look: https://lists.torproject.org/pipermail/tor-relays/2019-May/017311.html
-- Ciao Marco!