TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you not lose username/passwords when someone leaves your team?

2 pointsby flaveabout 4 years ago
This idea seems almost too good to be true - in my experience the HN hive mind can always find the problem with something that&#x27;s too good to be true.<p>Last company was a medium to large UK corporate which built medical software. Developers and product would sign up for all kind of random websites and services, when that person left, moved jobs, forgot the password or was on holiday then that website or service would become inaccessible - this happened more than once.<p>With a server this problem is solved with service accounts - where multiple users can login as themselves but then act as the service account. Access is logged, audited and can be controlled and assigned easily.<p>I&#x27;m wondering if it&#x27;s worth me building a tool that can replicate that functionality for random or low tech websites and services. Call this software - Servicio.<p>When an employee signs up to a website or product, they generate a new email in Servicio and get assigned a password which they put in. The password is copied to their clipboard* and the user&#x2F;employee doesn&#x27;t get to see it.<p>When someone else wants to log into this service, they have to log in to Servicio with their user credentials, find the service, get the password copied to their clipboard* and then paste it in.<p>Someone will have to rotate passwords, and manage this software but in companies with software developers this administrator&#x27;s time will be less expensive than that of the product&#x2F;developer time.<p>*This is one snag I&#x27;ve worked out so far. An enterprising member of staff could inspect their clipboard or just paste the password into a word document. I don&#x27;t have a method for avoiding this without building something native.

3 comments

LinuxBenderabout 4 years ago
Any service that requires credentials should be designed and implemented in a manor that allows credential rotation at any time with low or no risk. I would encourage people to test this process on a regular basis. You could even automate this process in your dev or staging environments to minimize risk in the event that a code change breaks credential rotation. You can take this a step further and implement something like Vault [1] so that nobody on the team knows the credentials until they for whatever reason need to use them. They make a request to vault and there is a log entry that they pulled the credentials. This sets a good pattern and a good story for future audits.<p>[1] - <a href="https:&#x2F;&#x2F;www.vaultproject.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.vaultproject.io&#x2F;</a>
dave4420about 4 years ago
At my work we have an engineering@ email address that all shared accounts use, and store the credentials in a shared vault in 1Password.<p>Someone could copy the creds out, but that just means we should change shared passwords after someone leaves.
pestatijeabout 4 years ago
So how did the last company share the user account? If the password is kept secret by the original user I don&#x27;t understand how the account could be shared. Did they ask the person to physically type the password in their keyboard?