r/sysadmin • • Sep 18 '16

Administering Windows environment using Linux

Greetings /r/sysadmin,

The past weeks, maybe two months, I have had that insanely overwhelming desire to switch my operating system from Windows to Linux, so I've decided to do it the next week. I have LPI-1, now studying for LPI-2, have some decent experience with managing Linux environments as well as Windows ones and have used Linux for my home laptop for some time now, but I am not sure if it would be sufficent enough, even if I have some more complicated way of dealing things, for managing Windows Environment. So, since I have had so much help from this subreddit I decided to ask you once more for some guidelines. My few concerns are the following:

  1. Management of AD - is there a good tool for doing that from inside Linux. I have found the Apache Directory Studio and one more popular tool called ADtools, eventhough it is command line based.

  2. PowerShell - Has any of you fully tried in a working environment the new open-source powershell? If so, how do you like it?

  3. Azure Command Line management - Has any of you managed Azure resources using Linux?

There's always the way of using Windows virtual machine, but I am trying to think of a way around that option.

Thanks in advance :)

54 Upvotes

83 comments sorted by

View all comments

53

u/VA_Network_Nerd Moderator | Infrastructure Architect Sep 18 '16

IMO: The IT dept should be running the same base hardware and OS as the user community.

If you need more RAM or storage than normal, fine.

Patch management and the core load image is just easier to manage when everyone is the same.

10

u/knobbysideup Sep 18 '16

Not everyone in IT is a desktop support monkey, and many of us work with and manage systems best using a Unix environment. In places where typical users are using Windows. Guess what? We are not your end users. Please stop spewing this ignorant nonsense.

6

u/[deleted] Sep 18 '16

Strongly agree. IT are users the same as everyone else, generally speaking their PCs should use the same baseline as everyone else except if they're testing something specific (case in point; I'm in our business' Windows 10 trial group). Wanting to change isn't enough of a reason, there should be a clear benefit to it before you consider breaking the standard.

As I'm fond of repeating to my coworkers; consistent applications on consistently patched operating systems with consistent drivers on consistent hardware behave consistently. There's no reason to add a point of differentiation unless you have to.

0

u/[deleted] Sep 18 '16

[deleted] — view deleted comment

26

u/VA_Network_Nerd Moderator | Infrastructure Architect Sep 18 '16

That depends on a few things

Disagree.

The fact remains that somebody is doing desktop support in the organization.

Maintaining a narrow list of OSes to support makes that job easier.

Similarly, somebody is doing (or should be doing) patch audit in the organization to confirm that all the required patches are deployed. This task is also made easier with fewer OSes to maintain.

Lastly, somebody is performing (or should be performing) patch and software release testing on a test machine or two to confirm that those patches are compatible with the standard software image, and do no harm to the environment. This task is also made more simple with fewer OSes to manage.

If another OS needs to be brought into the environment for a specific reason (the suits demand shiny MacBooks) then the suport & maintenance of an additional OS will have to be taken on as more work.

Bringing an additional OS into the environment because one IT staff member has a wild hair to run Linux for no actual, specific reason is nonsense. More work for no business justifiable reason.

Don't say this is a learning opportunity -- a learning opportunity needs to be backed up by a business justification too.

Building a Linux server to host syslogd and LibreNMS instead of buying another Windows license is a business justification. "Because I think it will be neat." is not a valid justification.

0

u/[deleted] Sep 18 '16

[deleted] — view deleted comment

9

u/VA_Network_Nerd Moderator | Infrastructure Architect Sep 18 '16

If I understand you correctly, you view this from a point of supporting the users/LOB services for your internal users - that may not be the case for OP - it could be he's supporting the service they deliver to their customers.

I've failed to complete a circle - to link components of my perspective together.

This is all my opinion, based on my experiences, mind you:

End-User devices - even those assigned to IT staff should all run the same OS. I said that already.
These standards make patch management & patch audit easier. I said that already too.

The support concern isn't about you - the IT Administrator needing a deskside tech to help you map a printer or whatever.
The support concern comes from the Desktop Support Team needing to be able to complete their audit assessments.

They need to be able to report to someone that:

  • Yes, all end-user devices in the organization are all running our standard operating systems & patch-releases / hotfixes.
  • Yes, all softwares installed on those end-user devices are running the standard versions and patch-releases / hotfixes.

My environment is Insurance and Financial Sector. We are audited by external entities seven ways from Sunday.

My laptop is an end-user device. The laptops assigned to our *NIX SAs are end-user devices.
The end-user support groups are responsible for reporting out on them, not us.

Running CentOS would break that support architecture.

Now, if an exemption were worked out where the laptop became some kind of a server device, then all the needs could be met.


Now the fairly obvious comments will likely be made that:

  • OP is in a small environment.
  • OP is in an organization that does not have those audit requirements.

Someday a security event will hit us all (at the organizational level).
Virus outbreak. Malware. Ramsomware.

If you've exempted your laptop from all the processes that might exist to let WSUS and a GPO keep you up to date, it can be argued that you've created a security risk.

Now, if OP already has a Linux patching & audit process the laptop can be added to as a managed member of a process, then this becomes much less of a concern.

It bears pointing out that OP didn't mention that they have production Linux systems in the environment in the original content. That wasn't mentioned until later.

1

u/NyxInc Sep 18 '16

This is standard IT Service Management and everyone should be able to understand this principle. Engineers that dont understand this and think they are exempt from this process would not even get hired where I work at.

-7

u/Nimda_lel Sep 18 '16

Let's put it like this, I don't ask for your justification or whatever else like this. I just asked a few straight questions, whether some stuff is doable or not. Eventhough, I respect your opinion, it still has nothing to do with my question, mate.

-2

u/knobbysideup Sep 18 '16 edited Sep 18 '16

Windows desktop people love their little empire building. I just ran into this myself when building my linux workstation. "We can't support that!!" I'm not asking you to. I'm a network security analyst, not an end user. I need real tools. Be that way all you want for your user community. I'll agree with most of it. But you guys forget that we aren't your end users, and we have work to do that your desktop of choice is poorly (at best) suited for.

14

u/Jeoh Sep 18 '16

Actually, you are an end user. Doesn't matter what fancy title you have, you're still just another end user.

10

u/NyxInc Sep 18 '16

Cant belive that there are people here that actually think they are above a "standard" end user.

The only people I know that are above a "standard" end user are C-Level staff. Even they should follow IT guidelines and policy.

→ More replies (1)

1

u/phychmasher Sep 18 '16

Just to give you a little perspective from the other side... In the past I've had users like this who "don't need support." But then something weird happens--like, say, a stick of RAM goes back or the power supply is shoddy--and you don't necessarily know how to diagnose or fix that... neither does the Desktop support team. They're used to looking at minidumps or Windows logs for clues.

Also now you're the 'one off' that creates extra work even when you don't know it. Say there's a firmware update for the office printer, and all the Windows machines get the driver updated from the print server, but now you can't print because nobody can support your set up. Just an example...pertains more to Mac users in a Windows environment than Linux but I think you can see where I'm going.

One time I had a user set up a Linux compute cluster out of Desktops and didn't need support from the Desktop crew. Well then one of the Cluster started throwing weird errors and he didn't know how to fix it, and nobody else did either.

1

u/AceJase Linux Admin Sep 19 '16

Disagree. If you run a custom setup, you support it yourself - end of story. So no issues for the helpdesk.

Source: My team all run linux desktops on non-standard hardware with the IT SOE running in a VM (for Outlook and Skype). We don't go running to the helpdesk for support, we fix shit ourselves. Because we have half a clue.

→ More replies (2)
→ More replies (5)

-16

u/VA_Network_Nerd Moderator | Infrastructure Architect Sep 18 '16

You don't work for me.

My justification is not relevant to you.


Can what you ask be done? Probably. Almost certainly. Especially since PowerShell is being extended into the Linux environment.

That still doesn't mean its a good idea.

But what do I know? I just work in a 5-6,000 user environment.

I'm sure the skills, habits and techniques you are developing doing what you want because you want to do it, as opposed to embracing a business justification & standards adherence mindset will totally prepare you for that next level career advancement.

4

u/[deleted] Sep 18 '16

Not sure why you're being down voted but your replies are spot on and the mild snark gets the point across.

OP needs to find a way to consistently manage his shit without causing more work for other people, and whether the environment is 5000-6000 users or as small as my rinky dink 400 user pond the principles all apply the same:

  • Stop supporting one off designs and implementations and get them the fuck off your network and standardize everything
  • Use the same deployment scheme as you support so your KB matches up with your environment and you know all the ins and outs of what bugs are acceptable and what aren't, as well as falling into existing SLA and RTO times
  • Stop wasting resources building a better wheel when another already exists that has been verified

I've worked with a guy that always had to have his specific niche shit on his machine, and when it took a shit it took him hours to be back up versus a regular deployment of the management OS task sequence that automagically installs all of our management shit. Guy was a moron or terribly naive incompetent worker, neither of which made him look good.

→ More replies (3)

1

u/Nimda_lel Sep 18 '16

Ok, I just tried to be nice, but you are being a smart-ass. Let me tell you what happened a while ago : There was this guy, from a company we work for since we do some outsourcing too. He was, as the title stated "Senior Network Engineer". The company he works for is, as for as I am concenrned, 10 000+ people. So it took me 4 weeks to explain to him why his configuration won't work and also had to reconfigure his router for him so we can finally make things work. All that because he was simply clueless. So, the fact that you work for 4-6000 people environment doesn't make me think of you as of God.

3

u/PJBonoVox Sep 18 '16

Totally agree. Number of users supported means nothing. Some of the biggest assclowns I've encountered in 16 years of IT supported huge user bases. OP didn't ask for an opinion on whether he should or shouldn't and Mr. 6000 users got a backlash. No surprise.

FWIW, I run Linux at work because it keeps me sharp. That's the business case and it's enough. The fact that I prefer it is just a bonus.

Regarding tools-- I prefer to just run the necessary basics through a RemoteApp solution. I believe there's a few free options so Google down that route.

→ More replies (10)
→ More replies (8)

0

u/Nimda_lel Sep 18 '16

Since we are a small company - ~100 people, we are just two people taking care of the Tech support/Infrastructure. I am leaving the part of desktop support and will be mostly managing the Infrastructure. Despite the fact we are Windows-based, we have DC,VPN and WSUS servers that are windows based. The fileshare, monitoring, helpdesk systems are Linux based. Most ouf stuff is in the Cloud though.

2

u/phychmasher Sep 18 '16

Love to hear more about this. I'm also a 2-man IT department with 188 people. Also mostly Windows, but have everything else you mentioned Linux based. Do you find most of your day consumed by menial end user support? What sorts of tools or decisions have you made that made you say "now THAT was worth it!"? What's your network stack look like? What are you using for phones?

→ More replies (1)

2

u/Naito- Sep 18 '16

I disagree with how /u/VA_Network_Nerd said it, but I largely agree with WHAT he said. If you really need Linux to support your servers better that's great, but there really aren't any tools to support Windows desktops for Linux that aren't glitchy hacks.

Run Linux on your desktop and servers all you want, but I'd suggest running a Windows VM to do the desktop support or you're just gonna make extra work for yourself.

2

u/Nimda_lel Sep 18 '16

Seems good enough to me :)

2

u/Naito- Sep 18 '16

Which tools are you using? Honestly I'm interested, I really hate running Windows anything but I also don't like putting stuff into production use that isn't "officially sanctioned" unless it really works 100% of the time. Anything less and it's good way to get the "weird" setup blamed for completely unrelated problems, which just wastes everyone's time.

Straight up Samba is the only thing I use now, and even then the samba devs recommend running your management tools on Windows rather than using the smb command line tools.

Lastly as a personal development thing....I admire it, but even then I realize that any shop of a decent size would likely just shell out for a windows server license rather than running Linux if running AD. You'd really only find that kind of cheapness in smaller shops that don't understand the cost of man-hours.