ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. linux
    Log in to post
    • All categories
    • scottalanmiller

      Bind Linux Process to Well Known Web Ports When Not Root
      IT Discussion • linux centos rhel ubuntu fedora arch suse mint • • scottalanmiller

      2
      2
      Votes
      2
      Posts
      62
      Views

      Pete.S

      @scottalanmiller said in Bind Linux Process to Well Known Web Ports When Not Root:

      If you have ever tried to run a user space program on Linux with a port below 1024 you know that this is a security problem and you are not allowed to do so. There is a simple fix for this, but it is not well known.

      Once you know the binary that you will be using to open the low number (well known) port you can use this command to grant it permission to use these ports without otherwise compromising security.

      setcap cap_net_bind_service+ep /my/binary/file

      Now you can run your application. This is most commonly used for user space web applications that want to use port 80 or 443 without requiring that you run a reverse proxy in front of them.

      Good to know!

      I found this as an example of how to use it and also commands to remove the permission:
      https://cwiki.apache.org/confluence/display/HTTPD/NonRootPortBinding

      The setcap utility seems to be available in the libcap2-bin package on debian distros.

      I haven't checked if it's installed by default.

    • scottalanmiller

      ProxMox 6 to 7 Upgrade pve-apt-hook error Remove proxmox-ve
      IT Discussion • proxmox debian linux • • scottalanmiller

      2
      0
      Votes
      2
      Posts
      98
      Views

      scottalanmiller

      It's an easy fix. Sometimes the directions for the upgrade don't account for the source location of the APT REPO for ProxMox. Check your /etc/apt files and see where your repo is configured. If you are going from Buster to Bullseye for example, make sure that you have this line somewhere and the error should go away...

      deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
    • Oksana

      Rocky Linux Upgrade: From 8.x to Rocky Linux 9.0
      Starwind • starwind rocky linux linux • • Oksana

      1
      1
      Votes
      1
      Posts
      56
      Views

      No one has replied

    • scottalanmiller

      Debian Packages Not Trusted, APT Linux
      IT Discussion • debian debian 11 apt apt-get apt-secure linux • • scottalanmiller

      16
      0
      Votes
      16
      Posts
      129
      Views

      scottalanmiller

      Thanks, we are up and running again!

    • Oksana

      Enhance Your Hybrid Cloud Environment Security with SSSD
      Starwind • starwind sssd linux vms active directory • • Oksana

      1
      1
      Votes
      1
      Posts
      53
      Views

      No one has replied

    • Pete.S

      Turn server into backup storage for remote servers?
      IT Discussion • backup object storage repositories linux • • Pete.S

      18
      1
      Votes
      18
      Posts
      305
      Views

      Pete.S

      @Yonah-S said in Turn server into backup storage for remote servers?:

      @Pete-S have you thought of selling it? there is a big market right now for getting rid of old/unused hardware. Especially if you have any SSD's in there.

      Thanks, but we're keeping it. Just want to extract the maximum value out of it while it's occupying rack space 🙂

    • Pete.S

      Utility that can load the CPU & RAM?
      IT Discussion • linux • • Pete.S

      2
      1
      Votes
      2
      Posts
      85
      Views

      scottalanmiller

      There is a utility called stress for that. I've never used it myself. But here is a guide, should be easy.

      https://www.linuxshelltips.com/create-cpu-load-linux/

    • Pete.S

      SSH jump server access control?
      IT Discussion • ssh acl jump server linux • • Pete.S

      34
      0
      Votes
      34
      Posts
      411
      Views

      V

      https://www.youtube.com/watch?v=nk1jfIAL5qE

    • Pete.S

      Unsolved Save shell session to disk?
      IT Discussion • linux • • Pete.S

      14
      2
      Votes
      14
      Posts
      228
      Views

      JaredBusch

      @Pete-S said in Save shell session to disk?:

      That's why you should launch ssh like this:
      ssh [email protected] -t screen -RR
      If you don't have a session going it will create one.
      If you had a session going but it was interrupted, it will reconnect to it automatically.

      @JaredBusch said in Save shell session to disk?:

      I do not like to launch screen for no reason.

    • openit

      SUSE Manager for managing CentOS and SUSE servers.
      IT Discussion • linux patching open source suse centos • • openit

      4
      0
      Votes
      4
      Posts
      200
      Views

      scottalanmiller

      @travisdh1 said in SUSE Manager for managing CentOS and SUSE servers.:

      @openit said in SUSE Manager for managing CentOS and SUSE servers.:

      Hi there,

      Anyone of you ever came across SUSE Manager?

      While it is saying open source and it is letting to download evaluation copy with subscription key on email?

      I believe SUSE Manager kind product I'm looking, especially for patching CentOS and SUSE servers.

      Any clue?

      Why not use Ansible or Salt?

      These are what I'd generally recommend.

    • R

      Jitsi Meet auntenticacion does not work in latest version
      IT Discussion • linux docker jitsi meet security+ asterisk • • rickygm

      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • Oksana

      Operate Linux Servers via Cockpit GUI
      Starwind • starwind cockpit linux linux server • • Oksana

      2
      2
      Votes
      2
      Posts
      192
      Views

      scottalanmiller

      I love Cockpit, it's so comfortable to use.

    • scottalanmiller

      Remote Screen Blank in Ubuntu 22.04 | Switch Wayland to Xorg
      IT Discussion • linux ubuntu gnome gdm wayland xorg ubuntu 22.04 • • scottalanmiller

      4
      1
      Votes
      4
      Posts
      2447
      Views

      JaredBusch

      @scottalanmiller said in Remote Screen Blank in Ubuntu 22.04 | Switch Wayland to Xorg:

      Normally all we have to do is change it back.

      That is not fixing the problem though. Simply working around it.

      The problem is why do these tools not work under Wayland?

    • Oksana

      How to Customize DUO MFA for Veeam Hardened Repository — Part 2
      Starwind • starwind cisco veeam linux ubuntu • • Oksana

      1
      1
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • scottalanmiller

      How to Updated to Fedora 36 from the Command Line
      IT Discussion • fedora linux fedora 36 • • scottalanmiller

      7
      1
      Votes
      7
      Posts
      378
      Views

      travisdh1

      Everything in the home lab is being upgraded tonight.

    • scottalanmiller

      How Can I Upgrade Ubuntu 20.10 to 21.10?
      IT Discussion • linux ubuntu • • scottalanmiller

      18
      0
      Votes
      18
      Posts
      628
      Views

      scottalanmiller

      I should say, not even a personal customer. It's just a friend who needs support. 🙂

    • scottalanmiller

      Book: Linux Administration Best Practices
      Self Promotion • linux administration best practices book education • • scottalanmiller

      19
      10
      Votes
      19
      Posts
      1001
      Views

      scottalanmiller

      But that is only the eBook. So they sell way more of them.

      It's gotta me more, closer to $.70.

    • scottalanmiller

      Using Mutt to Check POP or IMAP Email
      IT Discussion • mutt email imap dovecot pop pop3 imap4 linux unix bsd freebsd command line • • scottalanmiller

      4
      3
      Votes
      4
      Posts
      357
      Views

      J

      @scottalanmiller No example output? 🙂

    • Oksana

      What Is OSquery and How to Use It on Ubuntu and Linux Mint
      Starwind • starwind linux mint linux ubuntu sql osequery • • Oksana

      1
      1
      Votes
      1
      Posts
      234
      Views

      No one has replied

    • scottalanmiller

      Restoring a Windows MS SQL Server Database to Linux With Move SQLCMD
      IT Discussion • sql server 2012 sql server 2014 sql server 2016 sql server 2017 sql server 2019 ubuntu linux database t-sql • • scottalanmiller

      3
      2
      Votes
      3
      Posts
      386
      Views

      scottalanmiller

      @jaredbusch said in Restoring a Windows MS SQL Server Database to Linux With Move SQLCMD:

      @scottalanmiller I have not had to do that before with a normal backup to a .bak and then restore. Not some an place move like it seems you are doing.

      Happens if going to a space with a different storage layout. If you are coming from Linux you are probably fine. But Windows injects the drive letter into the path (obviously) and so going from one machine to another that doesn't keep identical storage path names causes the issue.