• 27 Posts
  • 2.13K Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle

  • Well, it’s a container, in most situations you would be running as root because the root inside the container is an unprivileged user outside it. So in effect the root inside the container will only be able to act as root inside that container and nowhere else. Most people simply do it that way and don’t bother with it.

    If you really want there are ways to specify the user… but again there’s little to no point there.

    lxc exec container-name --user 1000 bash 
    lxc exec container-name -- su --shell /bin/bash --login user-name
    

    For your convenience you can alias that in your host’s ~/.bashrc with something like:

    lxcbash() { lxc exec "$1" -- sudo --login --user "$2"; }
    
    

    And then run like:

    lxcbash container-name user-name
    


  • What do you do if you want to find the IP address of an instance, but incus list does not give you one?

    If that’s the case then it means there’s no networking configured for the container or inside it. The image you’re using may not come with DHCP enabled or networking at all.

    I often just find the IP of the container and then ssh in as that feels natural, but perhaps I am cutting against the grain here.

    You are. You aren’t supposed to SSH into a container… it’s just a waste of time. Simply run:

    lxc exec container-name bash # or sh depending on the distro
    

    And you’ll inside the container much faster and without wasting resources.




  • No. It means if you upgrade a system from 21h2 to 22h2 Microsoft may have added new stuff in there that you’ve to review because if you connect it the internet right away those new “features” may connect to them.

    Consider this example: Windows 11 before and after the Copilot shit. You can completely disable Copilot and other AI features using group policy however if you’re on the “before” version you can’t disable the feature because it isn’t there already, if you upgrade, the features would be there with defaults and on the first boot it might great you with a “welcome to copilot” that will connect to Microsoft.


  • TCB13@lemmy.worldtoLinux@lemmy.mlWhy do you still hate Windows?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    14 hours ago

    I am assuming that is on purpose?

    Most likely, “normie” don’t even know Enterprise exist…

    With that said, you may find links here:

    https://massgrave.dev/windows_10_links

    Business ISO includes both Pro and Enterprise versions. On the same website you can find activation tools including HWID that will give you a valid digital license for your hardware that will survive a reinstallation of windows.

    Just as a note if you’ve any Windows 10 Pro machines around you can upgrade them to Enterprise by just changing the key to a generic one under settings. A clean install of Enterprise would be better but you can still do it that way if you don’t want the trouble / spend more time with it.


  • Never seen that guide. Does it actually work?

    Yes, best results with Enterprise.

    It won’t implode, and it becomes a zero maintenance OS.

    Windows out of the box is full of crap but we all know that a lot of large companies use it and Microsoft is kinda forced into making it feasible enough for those companies. If you’re managing let’s say 500+ machines you can’t deal with the bullshit that comes with Windows 10 Home / Pro and systems that break every week.

    There are also a lot of govt agencies and private companies with very strict security policies that can’t just allow Windows to connect to MS and leak information around. If you simply disable what you don’t need by following that manual things will really work out.

    On the corporate world those changes are typically applied using AD, however, if you apply them manually in group policy they’ll stick and you won’t be bothered. Don’t forget to check the link every time there’s a major version because they usually add stuff.

    I installed Windows 10 Enterprise 1709 on my main desktop in 2018 and applied the stuff documented there… I’ve been upgrading since then and it’s currently running 22H2 just fine. No policy regressions like some people claim.

    Microsoft is forced to provide ways for big customers to make Windows usable and those aren’t going away anytime soon, they’ve a financial incentive to do so.




  • TCB13@lemmy.worldtoLinux@lemmy.mlWhy do you still hate Windows?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Linux is great, and does a lot of stuff right… however…

    I just don’t get the people around there sometimes. They’re okay with spending 1000+ hours jumping between 30 different Linux distros and customizing their DE, dealing with Wine / virtualization crap. BUT they aren’t able to Windows 10 Enterprise and read the manual to get a clean usable system in 1/1000 of the time and effort.

    How ironic.


  • TCB13@lemmy.worldtoLinux@lemmy.mlWhy do you still hate Windows?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    5
    ·
    1 day ago

    The ads in win10 pushed me to the limit

    Never seen them. But Microsoft does document how to disable everything you would like to.

    I don’t just don’t get why do the same people who bitch a lot about Windows (not you) are unable to install Windows 10 Enterprise and read the manual BUT they are able to jump between 30 different Linux distros and spend 100x more time customizing their DE and dealing with Wine / virtualization crap. Ironic.





  • If you want a git “server” quick and low maintenance then gitolite is most likely the best choice. https://gitolite.com/gitolite/index.html

    It simply acts as a server that you can clone with any git client and the coolest part is that you use git commits to create repositories and manage users as well. Very very or no maintenance at all. I’ve been using it personally for years but also saw it being used at some large companies because it simply gets the job done and doesn’t bother anyone.


  • So I want to get back into self hosting, but every time I have stopped is because I have lack of documentation to fix things that break. So I pose a question, how do you all go about keeping your setup documented? What programs do you use?

    Joplin or Obsidian? Or… plain markdown files with your favorite text editor.