Systems Administration

Help - Simple solution?

Hi guys,

I'm looking for a simple tasker script that would simply do this;

When screen is off, go back to home screen (i.e. press home button)

So therefore when I open my phone again, it should always be at the home screen rather than my last opened app.

Any suggestions...

submitted by /u/Kingo206
[link] [comments]

Change outlook folder type from 'mail' to 'calendar'

Sysadmin - 50 min 40 sec ago

I had to do a maildb restore and mailbox restore, for some reason there is a mailbox and he has contacts1 and calendar1 with the correct type, and those are empty. (only viewable in folder structure, that is why I noticed the error)

He also has calendar and contacts which the correct content inside. I could just copy the contacts to contacts1 and the contact button in outlook shows the contacts1 list.

However the calender won't let me copy, it gives an error when I start. So tried to make an export and import after but that throws an error that the folder type does not match and therefore it will create a new folder with the same name and its content.

So I was wondering, can I just change the folder type somehow? with Powershell or any other tool?

submitted by /u/JordyMin
[link] [comments]

Need a syslog server that's not ridiculously priced and also doesn't take a ton of effort to upkeep

Sysadmin - 1 hour 20 min ago

I've read through a lot of posts here and Splunk, Graylog, and ELK appear to be the top(but not only) contenders.

I am a novice admin on a small team that's pretty busy. We are playing catch-up on a lot of things. We have a compliance requirement for centralized logging.

Our environment is 25 servers, 150 endpoints, 2 Firewalls (in HA) and a 20 network devices (including WAPs). We are mostly a Windows environment, but have a handful of Linux endpoints and servers.

Things like ELK and Splunk look awesome for the information we can gain through dashboards and searching logs, but if I'm honest we are not there yet, we don't have the time to manage a lot of that. Right now I'm just trying to get everything centralized and hopefully I can start to actually utilize that data in the future.

What would you recommend for my situation? Kiwi looks dead easy but I've heard it doesn't scale very well. ELK looks to take a long time to set up, and Splunk costs the GDP of a small country.

submitted by /u/BeatMastaD
[link] [comments]

Query regarding seeds used during random number generation

For generating random (pseudo random) numbers such that every time the program is executed, the same random number is generated, we use seed.

Example (python code):

import random random.seed(123) print(random.randInt(0, 10)) print(random.randInt(0, 10)) print(random.randInt(0, 10))

This code will generate the same random number sequence everytime the program is executed.

My question is:

Can there exist two seed values which generate the same random number sequences?

Also, given 'n' sequentially generated random numbers, can we calculate the original seed?!

submitted by /u/DadItIsIIsItIDad
[link] [comments]

How do you encrypt your db backups before uploading to a cloud?

If you have your server and a database on it, how do you usually encrypt the dumps of your db before uploading them to cloud, S3, etc?

I need de-facto, free, open-source tools - what majority of the Linux community uses.

I don't need anything fancy, with too many features or paid.

submitted by /u/NAMANADE
[link] [comments]

How to run two task in parallel?

Let's assume I have one task T1 which contain 3 Actions A1,A2,A3 . First, I use these Actions Serially A1->A2->A3 , but here even though A2 and A3 are independent of each other A3 only starts after completion of A2 . My question is that is there any way to run A2 and A3 in parallel. Present possible solution I came up with is make Tasker Kid of one action (Let's say T2 Task continuing A3)and start it .

submitted by /u/tinibuddha
[link] [comments]

Dashlane 5.17.0 - Password manager and secure digital wallet.

MacUpdate - Mac OS X - Sat, 07/21/2018 - 23:59

Dashlane is an award-winning service that revolutionizes the online experience by replacing the drudgery of everyday transactional processes with convenient, automated simplicity - in other words, letting you get to the good stuff faster.

  • Express checkout
  • Password manager
  • Automatic login
  • Automatic form-filling
  • Secure and encrypted notes
  • Keep your data secure and private
  • Multi-platform and synced to the cloud

Dashlane comes in two service levels: Free and Premium. Compare the plans.

Version 5.17.0:
  • Bug fixes
  • Stability improvements

  • OS X 10.11.5 or later

Download Now]]>

Creating an event that triggers every 71 hours and 50 minutes

Tasker: Total Automation for Android - Sat, 07/21/2018 - 23:52

I can't seem to figure out how to do this, how do I set up an event that triggers every 71 hours and 50 minutes, any help would be very much appreciated.

submitted by /u/strongdoc
[link] [comments]

[ESXI 6.5] VMs will randomly turn on, even when the host is set to do so

Sysadmin - Sat, 07/21/2018 - 23:35

Hi everyone, I am having this problem [in ESXI 6.5] where VMs will randomly turn on, even when the host is set NOT to do so. You turn off the VM, it just turns right back on. You convert the VM to a template, VMware floods with errors saying the action isn't allowed because it's a template(A template trying to turn on). It's not all my VMs doing this either. Just the odd one created every so often.

Has anyone seen this before?

EDIT: Forgot the word NOT in the title. Should say "When the host is set not to do so"

submitted by /u/nixonger
[link] [comments]

My first post dedicated to a Computer Science Topic

Computer Science: Theory and Application - Sat, 07/21/2018 - 23:16

I have decided to make a website in which I posts about various topics I find interesting in computer science. Here is my first post, might be a bit boring but it's a start:

submitted by /u/NBlan
[link] [comments]

What are some of the most powerful automated pentesting tools?

Sysadmin - Sat, 07/21/2018 - 22:43

I just launched a SaaS and I'm worried that it's not secure and I can't find out because I'm not really a security guy.

Since I'm just an indie, I can't exactly hire outside help either but my app's launch exploded and now I have some pretty important data (IDs, financial info) on thousands of customers.

I've tried to follow the best practices on securing webservers, setting up firewalls, using ssh, putting the db server in the local network, encrypting everything, enforced decent password rules - but as you can see, this is all pretty basic stuff.

I can't really leave the backend work entirely and I can't really learn net sec properly (at least for the near future). But what I think would be perfect would be some automated hacking tool, which, even if it isn't 100% fool-proof, can at least help me figure out if my server is vulnerable to some common attacks.

I've been looking around and I think something like burp suite or something called a "hailmary" exploit in metasploit is what I'm looking for, but again, I don't know what I'm talking about.

What are some of the most popular and comprehensive pentesting tools that will blast my server with a wide array of attacks so I can know what to fix?

I thought /r/netsec would've been more appropriate but they rejected my post because it's a question.

submitted by /u/ulterior-motives
[link] [comments]

Win10 MDT File Type Associations issues

Sysadmin - Sat, 07/21/2018 - 21:48

I'm working on a MDT/MDS system and I'm having issues getting my task sequence to apply default file type associations.

I first customized a profile the way I want it and set all the file associations, used defprof.exe to apply it to the default profile. When I try to deploy it I get a bunch of default app setting was reset notifications from windows.

Second, I followed these two guides which pretty much tell me the exact same thing:

Updated my deployment share, deployed the image without errors or warnings and get the exact same issue.

Does anyone have any tips? Thanks.

submitted by /u/DavidMcConnor
[link] [comments]

Detecting when running in a (er, I think . .) terminal

Command Line - Sat, 07/21/2018 - 20:33

    I have some bash scripts and some dash scripts that can be run either in a terminal or graphically. By 'in a terminal' I mean the scripts are executed by being invoked at a command prompt. By 'graphically' I mean run by clicking an icon or via a menu.

    My scripts need to know in which of those two ways they are being run (so they can provide output appropriately). This used to work. However - after a restore of my system from backup - at least some of the scripts are malfunctioning. For, the commands tty -s and [ -t 0 ]' are failing to evaluate as0` when they are run from scripts.


submitted by /u/LintChrstmas
[link] [comments]

Evaluating OpenDedupe vs. VDO vs. ZFS

TL;DR . I'm evaluating various dedupe/compression options for backup storage. What are your oppinions and experiences?

I've been evaluating various setups for a dedicated box to hold backups, comprised of ~50% qcow2 VM images, and 50% random software and data files. We've got about 4TB of RAID5 storage and 8GB of RAM in the backup box.

My goals were to use as little disk space as possible, so dedupe and compression seemed like good features to have.

First I tried ZFS on Linux. It's nice to use one tool for the whole storage stack. ZFS is stable, well documented and easy to setup. I really liked the various compression options, and with LZ4 performance is pretty good. I ran into issues with memory consumption when using dedupe, which gave me the best storage savings by far. With ZFS, memory seems to be the bottleneck when using dedupe.

Then I gave OpenDedup a try, with LVM and XFS. Documentation isn't that great, but install was a breeze on RHEL. The tools seem a little immature, but it has some neat options like fixed or variable sized dedupe blocks. It seems to be built for Cloud integration, which I didn't test. It says compression is part of it, but there's very little in the documentation about compression. Performance wasn't great, but not horrible. It's a FUSE based filesystem, so it runs in userspace. The bottleneck for OpenDedupe seemed to be CPU. When copying large files to the filesystem, CPU maxed out and stayed there. Personally I think it needs more work before it's ready for production.

My next option to try is VDO, which was recently bought by RedHat. I haven't got it installed yet. It seems almost transparent to use and setup, just like another layer between the block device and LVM. It's a kernel module (and a utility). It says it has compression and dedupe, and the performance tests I've seen look pretty good. Documentation seems pretty good.

So what oppinions do you have? Any good backup utilities that work well with these? I've used rdiff-backup, rsync and had good success with rotating LVM snapshots in the past. Any other options I should look at?

submitted by /u/lunarNex
[link] [comments]

Default User Picture - Office 365

Sysadmin - Sat, 07/21/2018 - 19:28

Does anyone know how to change the default user picture in Office 365? Currently I periodically run a script to update all user pictures to the company standardize logo, however, if there's a way to change the default so it's automatically applied upon user creation, that'd be the way to go. I'm just not sure if it's possible. Anyone have any solutions? Thanks!

submitted by /u/acurtis85
[link] [comments]

SMTP Server Error

Sysadmin - Sat, 07/21/2018 - 19:11

Hi all,

I have an IIS6 SMTP Server configured pointing to Office365 SMTP Relay.

Automatic alerts are sent to endusers.
One user reported he's not getting the emails.

I checked and there's no BAD emails being bounced back and many other users are getting the emails correctly.

The only clue I could find is in the SMTP Logs in where I can see that when the email is sent to this user, the entry states

OutboundConnectionResponse SMTPSVC1 - Server - 0 RCPT - TO:<[](>+NOTIFY=FAILURE 0 0 4 0 4328 SMTP

I have no idea what this means.

Any ideas?

Thanks in advance.

submitted by /u/Morkelon
[link] [comments]

How to act the part

Sysadmin - Sat, 07/21/2018 - 18:25

I'm in a strange situation I would like some advice on; officially im an IT Project mgr, part of a team of PMs.

Since I'm one of the more 'technical' PMs I was sent to a client site 2 years ago, to sort out their IT dept which was a big mess.

essentially I was managing few Desktop support Techs, and 1 network engineer .. everything thing else was handled remotely.

Turned the site around, and got nice recognition and pay bunp etc. now that site is shutdown, and officially back with my team in HQ

I'm having trouble adjusting , mentally im still in 'fire fighting' mode looking at things from a purely tech point of view i.e jumping into solution's without considering if the requirements are fleshed out, if the schedule makes sense etc.

a colleague of mine, who technically I have seniority over, but report to the same manager, keeps shovelling shitty work, and low proirity crap my way .. my manager even brought up to me .. I dont have to accept everything asked of me .. that I have 'earned' taking my pick of projects and work

basically i've forgotten how crappy and political HQ gets .. and Im a bit of a people pleaser.

my boss has allowed me to work from home 90% of the time, so I have to come in a few days a month ..

essentially I need to 'cool down' I dont need to respond to every email within minutes of receiving , I can push back on work that im not interested in .. I have the full support of my boss ... but never though I had this much 'nice guy' syndrome

I cant get out of my own way , the issue is more psychological, i fear if I dont calm down, and act like i belong .. the repuation which I have built for myself as being a top notch PM, with solid tech skills will sufffer

and I will start to be treated like a glorified tech .. which is what my colleage is doing now.

sorry for the long winded story .. this sounds like IT 1st world problems I know .. but i still appreciate any feedback I realize how furtunate I am. I have a great boss, good pay, flexible work schedule .. but I need to adjust my mental state

submitted by /u/geel1164
[link] [comments]

Minimalitic output of CS:GO matches in terminal

Command Line - Sat, 07/21/2018 - 18:10

Hi! So, I need an easy way to output live and upcoming CS:GO matches from this site. I have looked around but can't find anything which suits my needs. I hope someone can point me in the right direction so I can write a script. Currently I have no idea of where to start :)

The output should be something like:

_Live matches_ xxx vs. xxx xxx vs. xxx xxx vs. xxx _Upcoming matches_ xxx vs. xxx 2018.07.22 18:00 xxx vs. xxx 2018.07.22 20:00

Getting this to work would be great. Later on I think it would be cool to import the text into the current wallpaper each hour using cron and imagemagic.

submitted by /u/lastchansen
[link] [comments]

The P vs NP problem and the term "deterministic"

Computer Science: Theory and Application - Sat, 07/21/2018 - 17:59

This might be a very stupid question, but I've been exploring computational complexity theory and when studying complexity classes I've seen the term "deterministic" and "non deterministic" everywhere in the context of computations, polynomial time, Turing machines, etc and my recurring thought and question is that is there any connection between these terms and the philosophical theory of determinism (opposite of free will)? If so, would there be any implications in this area of philosophy if the p vs np problem was proved?

submitted by /u/OrganicRip
[link] [comments]