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

      YouTube Month in Review: December 2020
      Self Promotion • linux rhcsa system administration certification red hat youtube • • EddieJennings

      5
      4
      Votes
      5
      Posts
      265
      Views

      EddieJennings

      @Pete-S said in YouTube Month in Review: December 2020:

      @EddieJennings

      Impressive work Eddie!

      Thanks 🙂

    • scottalanmiller

      Topics of Systems Administration
      IT Discussion • system administration • • scottalanmiller

      129
      1
      Votes
      129
      Posts
      541
      Views

      scottalanmiller

      @hobbit666 said in Topics of Systems Administration:

      e.g. I'm down as being Infrastructure/Network Manager. But in peoples views where do my duties start and end?
      (But maybe this is for another topic)

      Well the first question is, why is "network" mentioned, given that that's a subset of infrastructure? That's like saying you are a vehicle/car mechanic. Saying you are a network manager, if that's all you are limited to (85% of the time at least) is one thing (I doubt this can be true, network anything doesn't exist outside of the enterprise space, even companies with many thousands of people generally don't need even a single dedicated network focused role), makes sense. And if you cover everything in the infrastructure space, but don't cover things like helpdesk, databases, applications, etc., then infrastructure makes sense (that would include systems, networks, platforms, etc.). But stating both doesn't. Either you are focused enough to say network and infrastructure doesn't apply. Or you are broader and should say infrastructure, and network doesn't apply.

      But then "manager" becomes a question. Admins run things, managers manage people. The terms are used very loosely outside of IT, but inside of IT they generally aren't. You admin hardware/software, you manage people and vendors/businesses. The title "IT Manager" is generally considered to be (and this holds up very universally when you talk to people) someone focused on managing people under them and/or vendors. But an IT Admin, would not be assumed to manage people or maybe not even use vendors, and just administer everything that falls under IT.

    • scottalanmiller

      Create a New User on macOS from the Terminal Command Line
      IT Discussion • mac osx macos apple command line cli terminal sam macos administration system administration macosx • • scottalanmiller

      4
      1
      Votes
      4
      Posts
      4907
      Views

      scottalanmiller

      @justal said in Create a New User on macOS from the Terminal Command Line:

      @scottalanmiller Hi Scott, thanks for the post, unfortunately this works not on Mac OS X Mojave. I'm able to create a user but not able to login with this user account. It stucks after the login prozess. Is there any workaround?
      Thanks!

      I switched offices for a couple days to one where I'm on Ubuntu rather than my Mac. I'll look into it once I'm back to my Mac.

    • scottalanmiller

      List All Users on macOS from Terminal Command Line
      IT Discussion • macos macosx mac command line cli sam macos administration terminal system administration • • scottalanmiller

      1
      2
      Votes
      1
      Posts
      454
      Views

      No one has replied

    • DustinB3403

      Enabling root SSH access for OSX
      IT Discussion • osx macos system administration cli command line shell apple mac macos system administration ssh • • DustinB3403

      1
      2
      Votes
      1
      Posts
      997
      Views

      No one has replied

    • scottalanmiller

      Get Windows Version from Command Line
      IT Discussion • cli command line windows sam windows administration system administration windows 10 registry • • scottalanmiller

      17
      1
      Votes
      17
      Posts
      774
      Views

      scottalanmiller

      @pmoncho said in Get Windows Version from Command Line:

      No doubt. Currently working on getting Server 2019 DC, DHCP, and RDS working in a lab. A few challenges so far. Was going to try using PS to do many tasks I normally do in GUI (force myself to learn as I go) but decided to put it on the back burner due to frustration. I will get there with PS but it has to wait.

      Unfortunately, no matter how much we want to complain about PS and how Windows has no production-level roadmap at this point and is getting worse by the day, if you are going to run Windows today, PS is how it is done. Issues with PS have only one valid purpose to discuss - to use to explain to management why Windows shouldn't be getting deployed in production workloads, or why risks with it need to be accepted. It's like the licensing issues with Windows, these things all add up to cost and risk and risk is really just cost. It's part of the "decision numbers." Beyond that, it is what it is. If the business actually knows how costly it is and still chooses it, then PS is how you manage it.

      If you deploy and start without using PS, it'll be that much harder to switch later. I know the learning curve is absurd and the whole thing is so much harder than it has any purpose being, but I would bite the bullet if at all possible and learn it now. It'll just be harder later.

    • scottalanmiller

      Windows Server 2019 Basic Installation
      IT Discussion • sam windows administration system administration windows windows server windows server 2019 • • scottalanmiller

      13
      2
      Votes
      13
      Posts
      418
      Views

      Obsolesce

      @scottalanmiller said in Windows Server 2019 Basic Installation:

      @dbeato said in Windows Server 2019 Basic Installation:

      @Obsolesce said in Windows Server 2019 Basic Installation:

      @scottalanmiller said in Windows Server 2019 Basic Installation:

      @Obsolesce said in Windows Server 2019 Basic Installation:

      @scottalanmiller said in Windows Server 2019 Basic Installation:

      @JaredBusch said in Windows Server 2019 Basic Installation:

      The current install method brings Windows Server on parity with the Linux ecosystem really. You install, choose some options and end up at a prompt after reboot. Then you remotely add the features and shit you want.

      Yeah, very in like with Fedora, Ubuntu, or Deepin. Deepin might still be my favourite installer for normal stuff of the four.

      Did you have a Deepin install screenshot chain on here?

      No, but I do it so often, it would be easy to get.

      That'd be nice to see on here.

      Last post on it was below
      https://mangolassi.it/topic/14453/deepin-linux-15-4-1-install

      The install still looks like that.

      LOL that's not an installer. That's a push button, get peanuts.

      Nice though.

    • scottalanmiller

      SAM: Learning Windows System Administration
      IT Careers • sam windows administration windows microsoft system administration it careers education scottalanmiller scott alan miller • • scottalanmiller

      1
      2
      Votes
      1
      Posts
      232
      Views

      No one has replied

    • scottalanmiller

      Why Learn Windows Systems Administration from the CLI?
      IT Careers • sam windows administration windows system administration careers it careers • • scottalanmiller

      1
      6
      Votes
      1
      Posts
      165
      Views

      No one has replied

    • scottalanmiller

      Managing Windows Local Groups with Net LocalGroup
      IT Discussion • sam windows administration system administration scottalanmiller windows cmd net local groups user management • • scottalanmiller

      6
      4
      Votes
      6
      Posts
      564
      Views

      Obsolesce

      I ran into a language issue the other day when writing a PowerShell script that uses net localgroup and thought it could be useful to others:

      Depending on the language your Windows device is set to, the local Administrators group will be different, so the typical net localgroup administrators domain\user /add command will fail.

      Implementing the following will grab the actual name of the group by it's SID first, then use that result.
      Note that this is written to work in PowerShell, not CMD.exe.

      # Gets the name of the local Administrators group in appropriate language $localAdminGroupName = (Get-WmiObject win32_group -filter "LocalAccount = $TRUE And SID = 'S-1-5-32-544'" | Select-Object -Expand name) Write-Output "Local Administrators group detected as: [$localAdminGroupName]" # Sets the users as a local admin using appropriate local Administrators group name net localgroup $localAdminGroupName domain\user /add # Gets local Administrators group members net localgroup $localAdminGroupName
    • scottalanmiller

      Linux: Mounting an NFS Share
      IT Discussion • linux nfs fedora centos filesystem sam linux administration sam linux desktop administration system administration scott alan miller • • scottalanmiller

      16
      2
      Votes
      16
      Posts
      1673
      Views

      AdamF

      @scottalanmiller Sounds solid. The speed difference is dramatic. Thanks.

    • scottalanmiller

      Managing Windows Local Users with PowerShell
      IT Discussion • windows sam windows administration system administration windows administration powershell shell command line cli • • scottalanmiller

      14
      2
      Votes
      14
      Posts
      434
      Views

      scottalanmiller

      Topic has been forked, please keep discussions of OS comparisons to a different thread.

    • scottalanmiller

      Network File Systems (aka Distributed File System)
      IT Discussion • network file system distributed file system nfs smb cifs system administration storage networing sam linux administration sam windows administration • • scottalanmiller

      1
      0
      Votes
      1
      Posts
      280
      Views

      No one has replied

    • scottalanmiller

      Setting Up a Standard MySQL or MariaDB Database for an Application
      IT Discussion • database mysql mariadb rdbms how to dba system administration fedora linux centos 7 rhel 7 ubuntu centos • • scottalanmiller

      5
      3
      Votes
      5
      Posts
      506
      Views

      JaredBusch

      @black3dynamite said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      @JaredBusch said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      I like my approach to setting this up.

      Obviously, install MySQL/MariaDB first as noted above.

      Then do the following. This all needs done in the same SSH session, but otherwise things are simple.

      Choose once of these exports for your DB root password.

      The first one is for you to specify, the second generates a random one and echo's it back to you.

      # Specify your own password for MariaDB root user export DB_ROOT_PASS="somebigpasswordgoeshere" # Generate a random password for MariaDB root user export DB_ROOT_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your MariaDB root password: $DB_ROOT_PASS" Specify the application database name and application user name # Database user to use for application export DB_USER='yourusername' # Database name to use for application export DB_NAME='yourdatabasename' Generate or specify a random password for the database user # Specify your own password for the application's database user export DB_PASS="somebigpasswordgoeshere" # Generate a random password for the application's database user export DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your password for the application user: $DB_PASS" Then create the application database, use, and grant access. mysql -e "CREATE DATABASE $DB_NAME;" mysql -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" mysql -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost';" mysql -e "FLUSH PRIVILEGES;" Finally, lock down the system without the interactive requirement of mysql_secure_installation # Secure MariaDB (this does what mysql_secure_installation performs without interaction) mysql -e "UPDATE mysql.user SET Password=PASSWORD('$DB_ROOT_PASS') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" # Beginning on some version of MariaDB after Fedora 29 was released, the test DB is no longer there by defualt. mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"

      Your approach makes it easier to use as part of a script.

      It also generates random passwords, which I prefer.

    • Pete.S

      How to adminstrate a handful of Windows workstations?
      IT Discussion • system administration windows snowflake administration workstation • • Pete.S

      14
      3
      Votes
      14
      Posts
      227
      Views

      JaredBusch

      @DustinB3403 said in How to adminstrate a handful of Windows workstations?:

      @JaredBusch said in How to adminstrate a handful of Windows workstations?:

      @Pete-S said in How to adminstrate a handful of Windows workstations?:

      @JaredBusch said in How to adminstrate a handful of Windows workstations?:

      Everytime I want to do something, I would make it a powershell script and save it.

      With remote powershell enabled on all workstations, it should be fairly effortless to maintain.

      Some individual tasks might take more time than it seems worth at first to figure out how to script it, but int he long run it will be the best solution.

      So you're saying I should keep the workstations as they are, but administer them as a group by using remote powershell?

      Yes. For example, somewhere on here, I have a Poweshell script posted that let's you install printers.

      Edit: Here is that post

      Post not found.

      fixed

    • DustinB3403

      Solved Getting PowerShell to provide me the EventLog details in an email
      IT Discussion • powershell automation email system administration • • DustinB3403

      6
      3
      Votes
      6
      Posts
      426
      Views

      dafyre

      @dustinb3403 said in Getting PowerShell to provide me the EventLog details in an email:

      Yup. . . I'm an idiot lol. I set it to only look back 1 day and email me those results within the past day.

      This obviously would show blank results, since there are no 2013 events within the past day!

      Ha ha ha. Whoops!

    • EddieJennings

      top -- What is it telling us?
      IT Discussion • freepbx 14 linux centos 7 top system administration troubleshooting • • EddieJennings

      24
      0
      Votes
      24
      Posts
      1886
      Views

      DustinB3403

      Not that there is much that can be done about it.

    • mlnews

      Managing Multiple Linux Servers via the Browser with Cockpit
      News • fedora rhel cockpit linux system administration linux system administration 2daygeek • • mlnews

      5
      4
      Votes
      5
      Posts
      1256
      Views

      scottalanmiller

      @gjacobse said in Managing Multiple Linux Servers via the Browser with Cockpit:

      I haven't read the article yet,... but would be nice if it is available on Windows -

      However, that said. I can just set up a VM and run there.... I don't do a massive amount of managing Linux Servers, but sometimes it would be helpful..

      Not even on most Linux yet.

    • scottalanmiller

      Is the Era of Long Term Support Over for Operating Systems?
      IT Discussion • linux sam linux administration system administration sam system administration operating systems long term support scott alan miller smbitjournal • • scottalanmiller

      6
      5
      Votes
      6
      Posts
      1148
      Views

      Reid Cooper

      Good read, thanks.

    • NerdyDad

      Apple Sys Admin job in DFW
      Job Postings • apple centos system administration system admin • • NerdyDad

      12
      2
      Votes
      12
      Posts
      1570
      Views

      travisdh1

      @mlnews said in Apple Sys Admin job in DFW:

      @Tim_G said in Apple Sys Admin job in DFW:

      @NerdyDad said in Apple Sys Admin job in DFW:

      Anybody have 7+ years working with CentOS?

      Check out this job at Apple: https://www.linkedin.com/jobs2/view/253326083

      Ohh, they're not using Windows servers?

      They just phased out Netware 😉

      Just? That probably explains some things.