Hans | arrayboltXE: user:user beening login:password for my daugher or me (beeing admionistrator)? The problem is that although I know my daughers login, I don't know her password and neiter does she. | 00:10 |
---|---|---|
leftyfb | Hans: boot the server with a live usb and copy the data elsewhere | 00:10 |
ravage | you can also just reset your daugther password and use her login to copy it | 00:11 |
ravage | no need to change any permissions | 00:11 |
Hans | leftyfb: I have no idea how to do that. | 00:11 |
ravage | "sudo passwd usernameofyourdaughter" | 00:11 |
ravage | enter password 2 times | 00:12 |
ravage | (the new password) | 00:12 |
leftyfb | Hans: you don't know how to boot your machine from a usb flash drive loaded with the ubuntu installer? | 00:12 |
sarnold | Hans: what error exactly are you getting from what applications? | 00:12 |
Hans | ravage: I do need to change her password as it's 56BG of files to be sent to her. | 00:12 |
ravage | if you already messed with permissions that may not work of course | 00:13 |
leftyfb | Hans: https://ubuntu.com/tutorials/try-ubuntu-before-you-install#1-getting-started | 00:13 |
Hans | leftyfb: That's right. I'm sorry. It's been 15 years since I've "played" with Ubuntu and back then I wasn't very skilled. But the Ubuntu server setup has been working perfect, so the machine has just keept working. | 00:14 |
Hans | sarnold: I have no errors to report. I just havn't been able to change the permissions. But I shall try again with the tips I've get here tonight. But it will have to wait as it is late here in Europe. | 00:18 |
JanC | changing the password might be the easiest | 00:18 |
sarnold | if that's actually what is keeping the files locked up.. | 00:18 |
JanC | when you have a GUI, you can even do it in the GUI, I think | 00:18 |
Hans | JanC Then I will not be able to send her the files as the Ubuntu is from about 2008 and all my web browsers don't work at all. | 00:19 |
Hans | JanC: And I have no idea how to upgrade my Ubuntu and I don't dare either as I might mess things up. | 00:20 |
leftyfb | the fastest and easiest way is going to be boot the machine with a live usb and just drag and drop the files to a usb flash or hard drive | 00:20 |
leftyfb | you will not need to modify your system in any way | 00:21 |
Hans | leftyfb: How do I make a bootable usb for Ubuntu? And I guess I would have to go into Bios to change the order of bootable drives? | 00:22 |
leftyfb | Hans: I gave you a link | 00:22 |
Hans | leftyfb: Ah, yes - thank you. | 00:23 |
=== arraybolt3_ is now known as arraybolt3 | ||
=== chris15 is now known as chris14 | ||
=== elastic_dog is now known as Guest5832 | ||
=== chris15 is now known as chris14 | ||
=== chris14- is now known as chris14 | ||
lunatiq | I setfacl -R -m u:seedbox:rwx /home/rtorrent/Downloads but ftp user seedbox doesnt' have write permsisions without 775 | 05:35 |
=== Rhvs is now known as Rhys | ||
xibalba | what would i look to use if i wanted to forward all syslog messages containing RT_FLOW to another system. currently i forward everything from rsyslog to graylog to port 2514, however i want to make another graylog stream/input on port 2515 where only the RT_FLOW messages are being sent. So i can give some insight to the ACL hits to the security team | 14:20 |
xibalba | without having to expose everything else | 14:20 |
xibalba | https://justpaste.it/bismh <~ current fwd'ing config | 14:20 |
xibalba | something like :msg, contains, "RT_FLOW" | 14:25 |
xibalba | i figured out an alternative solution, it was better to do it in Graylog using a stram filter | 14:42 |
rbasak | Could someone try uscan against mysql-8.0 please? Is it failing for anyone else? | 14:44 |
=== Rhys is now known as Guest5166 | ||
lunatiq | I setfacl -R -m u:seedbox:rwx /home/rtorrent/Downloads but ftp user seedbox doesnt' have write permsisions without 775 | 17:02 |
lunatiq | the user was added with adduser | 17:02 |
Odd_Bloke | lunatiq: Is your filesystem mounted with the "acl" option? | 17:06 |
lunatiq | I don't know | 17:07 |
lunatiq | acl was installed when I tried to install it | 17:07 |
Odd_Bloke | `findmnt -T /home/rtorrent/Downloads` should tell you the options that the mount containing it has. | 17:09 |
lunatiq | Odd_Bloke https://i.imgur.com/kwC61Em.png | 17:10 |
Odd_Bloke | lunatiq: Right: I think you'll need to add "acl" to your mount options in /etc/fstab (and then remount). See https://help.ubuntu.com/community/FilePermissionsACLs#Enabling_ACLs_in_the_Filesystem for more details | 17:14 |
Odd_Bloke | (I think the text about "acl" being on by default is incorrect: it doesn't appear to be true on any of my systems.) | 17:16 |
lunatiq | Odd_Bloke I'm reading here https://www.server-world.info/en/note?os=Ubuntu_22.04&p=acl | 17:17 |
lunatiq | it doesn't talk about the mounting | 17:17 |
lunatiq | can you help me? | 17:18 |
lunatiq | Odd_Bloke https://i.imgur.com/BP15jfj.png this is what is shows me | 17:20 |
Odd_Bloke | lunatiq: The wiki page describes the steps you need to follow: specifically the /etc/fstab modifications, and the remounting. | 17:22 |
lunatiq | I don't understand it Odd_Bloke | 17:23 |
Odd_Bloke | lunatiq: It contains step-by-step instructions: which part do you not understand? | 17:24 |
lunatiq | Odd_Bloke the tune2fs | 17:25 |
Odd_Bloke | lunatiq: That's the part that I don't think is applicable: the default mount options _do_ include acl, but I don't think the default mount options are actually used on Ubuntu systems (because "defaults" is not specified in /etc/fstab). If you ignore the "As of Ubuntu 14.04" part of step 1, does it make sense? | 17:27 |
lunatiq | I don't know what to remount? | 17:28 |
lunatiq | Odd_Bloke https://hastebin.com/iqadorajol.apache | 17:29 |
Odd_Bloke | lunatiq: You want to modify the "/" entry, and remount /. | 17:30 |
lunatiq | mount | grep acl shows nothing | 17:32 |
Odd_Bloke | lunatiq: After the fstab modification and remount? | 17:32 |
lunatiq | yes | 17:32 |
lunatiq | sudo mount -o remount / | 17:32 |
lunatiq | should it be /dev/md2 | 17:32 |
Odd_Bloke | lunatiq: Does `sudo mount -o remount,acl /` do anything? | 17:33 |
lunatiq | no | 17:34 |
Odd_Bloke | I'm out of ideas then, I'm afraid! | 17:34 |
lunatiq | mount | grep acl shows nothing | 17:34 |
lunatiq | I ran mount -o acl /dev/md2 /mnt but now I have 2 mounts | 17:40 |
lunatiq | how do I remove it? | 17:40 |
Odd_Bloke | `umount /mnt`? | 17:41 |
lunatiq | umount /mn command not found | 17:42 |
PeGaSuS | hello. without apparen reason, when I executed the command `python3 -m pip install --upgrade git+https://github.com/ProgVal/Limnoria.git@testing` I started getting some "X11 connection rejected because of wrong authentication.". any ideas? | 17:43 |
PeGaSuS | I don't remember of ever editing anything related to X11 | 17:44 |
PeGaSuS | output after running th command above: https://0bin.xyz/view/45f622cc#L5 | 17:44 |
PeGaSuS | btw, running Ubuntu 20.04 | 17:45 |
lunatiq | Odd_Bloke it's umount | 17:46 |
lunatiq | https://www.server-world.info/en/note?os=Ubuntu_22.04&p=acl I tried running this | 17:46 |
lunatiq | tune2fs -o acl /dev/md2 | 17:46 |
lunatiq | and it added it | 17:46 |
lunatiq | I setfacl -R -m u:seedbox:rwx /home/rtorrent/Downloads but ftp user seedbox doesnt' have write permsisions without 775 | 17:48 |
PeGaSuS | don't forget to set permissions to th folder too.. prbably `etfacl -R -m u:seedbox:rwx /home/rtorrent/` | 17:50 |
lunatiq | worked PeGaSuS | 17:54 |
PeGaSuS | :D | 17:55 |
Odd_Bloke | LOL, sorry for the massive overcomplication | 17:55 |
lunatiq | Odd_Bloke don't be sorry | 17:55 |
lunatiq | You helped me | 17:55 |
lunatiq | so to setfacl for a /var/www/html/example.com/public directory what should I need to set for a user? | 17:59 |
baldpope | upgrading from 16 - is there any reason not to go all the way to 22 ? | 18:32 |
MekApelsin | @baldpope: take a quick look at the release notes along the way first, but generally i would say no. | 18:34 |
baldpope | thanks MekApelsin , nothing too worrying stood out, just wanted to ask in case something was creeping up that maybe wasn't fully public | 18:35 |
baldpope | well .. one thing I just ran into - (post do-release-upgrade) it's not honoring the dns settings made in /etc/network/interfaces | 19:19 |
sdeziel | baldpope: IIRC, that deprecated feature depends on the resolvconf package to be installed. | 19:22 |
baldpope | sdeziel, is the preferred resolution to install resolvconf or migrate to networkmanager? | 19:22 |
sdeziel | baldpope: the modern default on servers is netplan with systemd-networkd | 19:23 |
baldpope | ok, so looks like I need to setup /etc/systemd/networkd.conf to include my dns settings? | 19:25 |
baldpope | or /etc/systemd/network/dns.network (as example?) | 19:25 |
baldpope | or (continuing to read) /etc/systemd/resolved.conf | 19:27 |
baldpope | the latter - got it | 19:28 |
=== elastic_dog is now known as Guest693 | ||
sdeziel | baldpope: there are many ways but if you also use netplan, the nameserver parameter is usually going to do the right thing for you | 20:21 |
baldpope | the existing parameter appears to have been ignored and not resolved until I updated /etc/systemd/resolved.conf | 20:22 |
=== chris15 is now known as chris14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!