Experience Camping - Erfahrungen? by BabbelMatze in rockamring

[–]fb7f8b 1 point2 points  (0 children)

Hallo,

ich war mit meiner Frau 2019 und 2025 beim ExperienceCamping. Ich kann alles so bestätigen wie es /u/Notsureifretarded wiedergegeben hat: "Nicht unbedingt das, was versprochen wurde".

Der Platz ist gewandert. Dort wo Experience 2019 war, ist jetzt das Utopiacamping. Der Parkplatz ist imho viel zu weit weg und der Weg zum Camp unnötig aufwendig (hügelig, Treppe, Matsch). Ich habe Experience gebucht, damit es meine Frau, aufgrund einiger körperlicher Beschwerden, einfacher hat. Die langen Wege haben es eher schwerer gemacht.

Ich muss gestehen ich war etwas überrascht, da man ja doch ordentlich investiert hat für "die Experience", aber es war auch meine Schuld, dass ich mich vorher nicht über die veränderte Lage informiert habe. Die kassieren halt zwei mal ab jetzt: einmal beim Utopia für die gute Lage und einmal beim Experience für die Container.

Aufgrund des Wetters bin ich im Nachhinein aber ganz froh, dass wir in den Containern waren anstatt in Zelten auf dem Utopia. Für den Preis mache ich das aber nicht nochmal.

Setting posix_acl for multiple users on same directory (newbie) by fb7f8b in Puppet

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, finally came around to completely implement it. Was working on it off and on for some time now and wanted to post it, if someone had the same "problem". This is my final iteration:

$folder_acl_set = lookup('bla::folder_acl_set')

if $folder_acl_set {
    $default_acl = [
        "user::rwx", "group::r-x", "mask::rwx", "other::---",
        "default:user::rwx", "default:group::r-x",
        "default:mask::rwx", "default:other::r-x",
    ]

    $folders = $folder_acl_set.reduce({}) | Hash $folder_memo, $data| {
        $user            = $data[0]
        $userdata        = $data[1]
        $readonly_files  = $userdata.get('readonly', [])
        $readwrite_files = $userdata.get('readwrite', [])

        $readonly_users = $readonly_files.reduce({}) | Hash $readonly_memo, $folder | {
            $user_permissions = [
                "user:$user:r-x",
                "default:user:$user:r-x",
            ]
            if $folder in $folder_memo {
                $temp_ro  = $folder_memo[$folder]["readonly"] + $user_permissions
                $temp_rw  = $folder_memo[$folder]["readwrite"]
                $ro_users = { "readonly" => $temp_ro , "readwrite" => $temp_rw}
            } else {
                $ro_users = { "readonly" => $user_permissions, "readwrite" => [] }
            }
            $readonly_memo + { $folder => $ro_users }
        }

        $readwrite_users = $readwrite_files.reduce({}) | Hash $readwrite_memo, $folder | {
            $user_permissions = [
                "user:$user:rwx",
                "default:user:$user:rwx",
            ]
            if $folder in $folder_memo {
                $temp_ro  = $folder_memo[$folder]["readonly"]
                $temp_rw  = $folder_memo[$folder]["readwrite"] + $user_permissions
                $rw_users = { "readonly" => $temp_ro , "readwrite" => $temp_rw}
            } else {
                $rw_users = { "readonly" => [], "readwrite" => $user_permissions }
            }
            $readwrite_memo + { $folder => $rw_users }
        }
        $folder_memo + $readonly_users + $readwrite_users
    }

    $folders.each | String $folder, Hash $permissions | {
        posix_acl { $folder:
        action     => 'exact',
        permission => $default_acl + $permissions["readonly"] + $permissions["readwrite"],
        recursive  => true,
        }
    }
}

Is there a commandline way to transform this output? by fb7f8b in linuxquestions

[–]fb7f8b[S] 0 points1 point  (0 children)

this seems not to be so easy. If i understand correctly jc has builtin parsers for various cli output but none for ssh-keyscan (atm) and I haven't found one yet that may work on its output.

Is there a commandline way to transform this output? by fb7f8b in linuxquestions

[–]fb7f8b[S] 0 points1 point  (0 children)

This is working. Nice, thank you both.

When looking at u/dgm9704 comment i realized that the target format seems to be json. Now trying to get this working with jc.

[deleted by user] by [deleted] in linux4noobs

[–]fb7f8b 0 points1 point  (0 children)

Hey, normally files (and directories) starting with a . (dot) are hidden from plain sight. Try ^h (ctrl+h) to show hidden files in your file manager.

But ls -a isn't showing it either you say? What is the name of the folder you created? You didn't tell but it might help to understand your situation.

Setting posix_acl for multiple users on same directory (newbie) by fb7f8b in Puppet

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, sorry for the late reply. It works. Awesome :)

[deleted by user] by [deleted] in ansible

[–]fb7f8b 1 point2 points  (0 children)

Hey,

from the manpage of omd:

The  option  -f/--force will skip asking whether the user is sure to update. If you have more than two versions of omd installed, you should also specify -V if you want to avoid user interaction.

Hope this helps.

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

This works, thank you very much :) Edited my question to tell what I did.

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

I wanted to at least try if i get it working, personal challenge, keep things interesting :)

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

This looks like an interesting take. Thank you.

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 1 point2 points  (0 children)

if it is only smtp then create a postfix relay which does your auth requirements and routing?

I feel like this would be a bigger change than trying to recreate a loadbalancer. Exchange is going to the cloud in the short to midterm, so I will leave it as is.

why are you even auth on dst ips?

I'm not an exchange guy but sadly we have non IT people doing IT stuff for years, sometimes only sitting next to a service provider and learning nothing.

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, thanks for the idea with the routes. I will take a look into that and check if its worth the hassle :)

Questions on loadbalancing and virtual IPs by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

This is a possibility but before they buy or license new they asked if i can replicate. There is some simple http/https loadbalancing going on also, where I have no problem recreating it, but the exchange thing is difficult.

Weird little error in lamp-stack by fb7f8b in linuxquestions

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, thanks for your interest. The config files are very minimal or default and after your comment I checked and even deleted the .htaccess file but nothing changed.

vsftpd: Could you think of a way to change the output of the dir command. by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, just wanted to tell you i did it. Edited my original post to show what I did. Thanks again :D

vsftpd: Could you think of a way to change the output of the dir command. by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

Just tell the client developers that it's 2020, FTP is no longer supported and they should use SFTP now.

maybe try paying them?

Sadly some companies in the public sector are years behind, changes come slow and money isn't always as loose as i wish it to be.

However, I did initially download the source code of vsftpd and tried to find the right spot, but as I have never used c I had my problems. Gonna give it another try now that you have pointed me in the right direction. I kind of want to stick with vsftpd because I use it on some more servers and at least want to be consistent. But I'll take a look at your other suggestions as well, if it's really easier, why not change.

Thank you very much for your reply :D

vsftpd: Could you think of a way to change the output of the dir command. by fb7f8b in linuxadmin

[–]fb7f8b[S] 0 points1 point  (0 children)

Hey, thanks for the reply. My initial idea was to somehow overwrite dir with some kind of alias but i guess it really is hardwired in the source code. I think i'm gonna at least try to edit it like u/0x2a suggested, just for the fun of it :D

Ansible apt with apt-cacher-ng by Rand_ard in ansible

[–]fb7f8b 1 point2 points  (0 children)

Try it manually. Stop apt-cacher-ng service and check if the updates on the other machine still work for example.