Closed JasonYao closed 8 years ago
Unix server is working as of 9e78572c55bcdf5c066b7222514cee8762a9f9b6
TODO:
Everything is complete for all 3 use cases as of 9178f8ed7ac35a0a0eb90b751f0bea4aa93c0cea
All bugs fixed for non-owned usercase as of e6c905402f46878e380bda24becdab68e1422462
2 main use cases split into 3 main areas:
Currently the dotfiles assumes any unix environment is a server, which is incorrect. CIMS is an example of a foreign unix environment that I can't use any server change commands to. Thus, comes the need to refactor.
Usage 1: dotfile setup
This one is split into osx and unix.
Usage 2: server setup
This one is just currently unix, though if .NET becomes a thing for me (so far it's just ewww), then I'll add that in later.
The how for refactoring:
Same command with differing number of flags. 1st flag: username 2nd flag: password 3rd flag: isServer
// iff 1 argument: isServer
// iff 2 arguments: setting up a new user with the passed in password (unix)
// iff 3 arguments: Set up a new user with the passed in password, and setup secure server defaults (unix)