PPA management improvements

Two annoyances with PPA management using the “software & updates” GUI

  1. The way ubuntu renames the comment field “disabled on upgrade” is quite annoying if you have set notes on what you use the PPA for.. I think it should just say this at the top of the page “some PPAs have been disabled during release upgrade”

  2. When you make changes to a PPA or even just enable/disable by clicking the checkbox, the page resets and you have to scroll down again to the PPA you were changing which is also frustrating when you are working through the list and constantly loose your place

Can this behavior can be improved in a future release? hopefully I am asking in the correct place.

Control dynamic power management options for Ubuntu 16.04

I want to test an application to verify (power v/s performance) how it works in different power options available for Ubuntu 16.04. In Ubuntu power management options, I only find sleep, hibernate, and power-off. However, I want more options to work on.

I found that TLP helps in advanced power management, but TLP works silently in the background and does power management. I really want to keep a power management option each time and check the application performance for the respective mode. Is there any tool that lets me do this.

ESXI 6.7: How to only have the management interface accessable on the host machine’s LAN?

I have an ESXI 6.7 Host and 6 Public IPs from my colocation provider. Currently one of the IPs is being used to access the web client for ESXI and another is used to access the pfSense router that is a VM on the machine. Is there a way to make it so that I can’t access the Web UI from the internet but from the VPN that is setup through pfSense?

Thank You, I’m sorry if this seems too complicated.

Identity management and payment solution for mobile application

I am planning to start on a new mobile application which will have a server-side component, as well as user authentication and some kind of payment system.

Now, I want this to be as secure and standardized as possible, therefore I am not going to implement user management and stuff like that on my own. I rather want to use existing services for this.

A rough overview of the app:

  • The mobile app allows the user to register a new account
  • The mobile app allows the user to log in (and change password/profile)
  • It must be possible to have custom attributes in the user profile, as this will be used within the app
  • The mobile app allows the user to interact with other users, and make paid transactions (user x has to pay y $ to user z)
  • Maybe there will be a companion website with similar services, however I would like to avoid this if possible (for the sake of reduced efforts and complexity)

Now for the user management, I came across AWS cognito, which offers 50.000 free user actions per month. One benefit would be that I could also host the backend part (Node.JS) on AWS, and it seems to be an overall stable and mature solution. Are there any recommended alternatives to this?

Regarding payments, I am unsure what alternatives there are, and what approach would be viable. My plan is that the app shall be for free, however for every paid transaction, I want to keep a specific fee for providing the service (e.g. 3-5%). But, if possible, I would like to not get in touch with sensitive payment information like credit card numbers or bank accounts (for security/data protection reasons), but rather move this to some kind of payment service. E.g. would it be possible to just use PayPal or Amazon Payments for this? How can I keep my service fee when using those services? Do you consider this to be too restrictive? E.g. users with neither paypal nor amazon accounts would not be able to use my app.

Could someone guide me to a viable solution regarding payments?

Identity management and payment solution for mobile application

I am planning to start on a new mobile application which will have a server-side component, as well as user authentication and some kind of payment system.

Now, I want this to be as secure and standardized as possible, therefore I am not going to implement user management and stuff like that on my own. I rather want to use existing services for this.

A rough overview of the app:

  • The mobile app allows the user to register a new account
  • The mobile app allows the user to log in (and change password/profile)
  • It must be possible to have custom attributes in the user profile, as this will be used within the app
  • The mobile app allows the user to interact with other users, and make paid transactions (user x has to pay y $ to user z)
  • Maybe there will be a companion website with similar services, however I would like to avoid this if possible (for the sake of reduced efforts and complexity)

Now for the user management, I came across AWS cognito, which offers 50.000 free user actions per month. One benefit would be that I could also host the backend part (Node.JS) on AWS, and it seems to be an overall stable and mature solution. Are there any recommended alternatives to this?

Regarding payments, I am unsure what alternatives there are, and what approach would be viable. My plan is that the app shall be for free, however for every paid transaction, I want to keep a specific fee for providing the service (e.g. 3-5%). But, if possible, I would like to not get in touch with sensitive payment information like credit card numbers or bank accounts (for security/data protection reasons), but rather move this to some kind of payment service. E.g. would it be possible to just use PayPal or Amazon Payments for this? How can I keep my service fee when using those services? Do you consider this to be too restrictive? E.g. users with neither paypal nor amazon accounts would not be able to use my app.

Could someone guide me to a viable solution regarding payments?

Is there an better database design for payroll management software

I am in the initial stage of payroll management software for a consulting company, I have designed a database flow, i need some guidance whether my design is good or bad(if bad please correct me), as i am new in handling project as Lead and Architect.

Project : A Consulting company A having clients B,C…etc. Company A hires employees and supply manpower to company B,C….etc. Company A responsible to provide payslips to all the employees.

Project Flow :

Company A login(ADMIN[role]) is created only in user table only at the time of Application Install.

ADMIN Logins to the System and add(client information) Company_Details,Company_Contact and Company_Email tables, a client(client_admin[role] login is created in only user table at time of client information added)

Client Login has 2 Screens :

Screen 1 : Upload user details (all user data is saved/updated(if exists) in user,user_details,user_phone,user_email and user_ctc). Each user logins are created and email sent to them with username and password.

Screen 2 : Uploads user_payroll_data every month.

User Login : He has Screen to download payslip for any month. The following is my database design.

Any suggestion is greatly appreciated.Mt DB Design

Simple Node.js user management system

I am working on a application that is made completely out of javascript (other than the database) and created a simple user management system for the application.

This user management system creates a query to the database containing the user info (the database contains the user info not the query) based on a few command line arguments, decrypts the data in the database, and then prints the result to the console.

I have been programming for 2 years but am self taught, and was looking for some feedback/criticism on my code.

Note: Some of the modules in the Main script are not included but for the most part their functions should intuitive.

Here is my code:

Main script:

// this is a instance of a `DataBase` class: const users = require('../../Code/MiddleWare/Database-comms/createUser').users const lookup = require('./lookup') const decryptAll = require('./decrypt')  void async function() {   if(process.argv[2] === '-e') {     console.dir(decryptAll(await lookup('Email', process.argv[3], users, process.argv[4] === '-ex')), {colors: true, depth: Infinity})   } else if(process.argv[2] ? process.argv[2].match(/^\d+$  /) : false) {     console.dir(decryptAll(await lookup('ID', parseInt(process.argv[2]), users, process.argv[3] === '-ex', false)), {colors: true, depth: Infinity})   } else {     console.dir(decryptAll(await lookup('Username', process.argv[2] ? process.argv[2] : '', users, process.argv[3] === '-ex')), {colors: true, depth: Infinity})   } }() 

“lookup” module:

module.exports = async function(type, string, users, exact,  encrypted = true) {   const aes = require('../../Code/MiddleWare/Security/index').encryption.AES    const retval = []    await users.query('Users').then((data) => {      for(let i of data) {         if(encrypted ? (exact? aes.decrypt(i[type]) === string : aes.decrypt(i[type]).match(string)) : i[type] === string) {           retval.push(i)         }      }    })     return retval.length === 0 ? false : retval } 

The “decrypt” module:

const decrypt = require('../../Code/MiddleWare/Security/encryption').AES.decrypt  module.exports = function(array) {   if(!array) {     return false       }    const retval = []    function decryptAll(obj) {     return {ID: obj.ID, Username: decrypt(obj.Username), Email: decrypt(obj.Email), Data: decrypt(obj.Data), Password: obj.Password}   }    for(const i of array) {     const item = decryptAll(i)     item.Data = JSON.parse(item.Data)     retval.push(item)   }    return retval } ``` 

Azure Update Management CentOS – own image

I have an Azure VM running CentOS7 (CentOS 7.6 by Rogue Wave Software). If I enable Update Management and schedule an update, it does what it is supposed to do. Inclusions and exclusions work, updates are installed.

If I setup another VM running CentOS7, but this time using my own image, not the one provided on Azure, the updates do not install. Everything is enabled, the schedule does work, but all updates show as “Not selected”. I tried different inclusion definitions, always the same result.

So my guess is that my image is missing something provided in the CentOS 7.6 by Rogue Wave Software image. Any idea what?

Additionnal information, on my image, in Update Management, the “Update agent readiness” says “Disconnected”. I ran the troubleshoot checks and they all return OK. So no problem is indicated here.

Any ideas would be greatly appreciated!