Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to create new users #3

Open
piranna opened this issue Oct 6, 2015 · 18 comments
Open

Allow to create new users #3

piranna opened this issue Oct 6, 2015 · 18 comments

Comments

@piranna
Copy link
Owner

@piranna piranna commented Oct 6, 2015

Add option to allow to create a new user if one don't exists. Default environment skeleton would be as simple as only having npm, and from there start a REPL and users install their own packages. According to https://www.npmjs.com/install.sh, seems it would be just enough to download and extract it.

@zodern
Copy link

@zodern zodern commented Nov 20, 2015

I have been thinking about this, and this is my latest idea: Sorry for the uneven black rows. I tried to make it with http://draw.sixteencolors.net/try/#.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAMgCAYAAACzptN5AAAgAElEQVR4Xu3dbZaj6IGE0apF2ou0F5lzNG11q9VIvIA+gOfOrzmdKUHcQKUwqqz8/evXr59f6f/7Tzr9r1//3pT/X/+KXz6b9LY/+L///T3zJPXre7vxe5/h33MFvvfwnp0AgazA5Q+f+Dt4/Q3SADzyq98APHJ7l3M3AI/eoPMncFQBA/DX8wH48/Ovv3X7+/d/v9L1+87jNQPwP3eM/972tKuML+fw6uNec90+79R/W3XCL3jQ1gF4f11dTmnNNX77PGsefznu5TnWPvYR5fW8bp936r+9oIqVT2EAroTzMAIENgoYgDMD8PrGtPaNcWM/f3v4e964ti21y0fA94PoGwPpXcc8+wC8v763XGPfeuyz15gB+Mo/gTwXAQJnEjAADcBN1/PPzx9/g+D+zts77sY9O1ED8JHO/F9xuB9Ja4fc2se9839kGYCbXt4eTIDAiQUMwBcMwLmP0e4/Hlv7Rjn3ZrbuY7htdwAfDcDra+Z2mN1+TDz1kert6+zZ1+ceez9I7z+enhqsD+fT//bTs4+A557/2ddHfJ79+bP1I+Cp8fVoEN6ex9RHtY+u62evj6mv3d9tn3t9bb0DOPf8I+d/8Vj5+vN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W8AAbPcvPQECBAgQIBAUMACDpYtMgAABAgQItAUMwHb/0hMgQIAAAQJBAQMwWLrIBAgQIECAQFvAAGz3Lz0BAgQIECAQFDAAg6WLTIAAAQIECLQFDMB2/9ITIECAAAECQQEDMFi6yAQIECBAgEBbwABs9y89AQIECBAgEBQwAIOli0yAAAECBAi0BQzAdv/SEyBAgAABAkEBAzBYusgECBAgQIBAW8AAbPcvPQECBAgQIBAUMACDpYtMgAABAgQItAUMwHb/0hMgQIAAAQJBAQMwWLrIBAgQIECAQFvAAGz3Lz0BAgQIECAQFDAAg6WLTIAAAQIECLQFDMB2/9ITIECAAAECQQEDMFi6yAQIECBAgEBbwABs9y89AQIECBAgEBQwAIOli0yAAAECBAi0BQzAdv/SEyBAgAABAkEBAzBYusgECBAgQIBAW8AAbPcvPQECBAgQIBAUMACDpYtMgAABAgQItAUMwHb/0hMgQIAAAQJBAQMwWLrIBAgQIECAQFvAAGz3Lz0BAgQIECAQFDAAg6WLTIAAAQIECLQFDMB2/9ITIECAAAECQQEDMFi6yAQIECBAgEBbwABs9y89AQIECBAgEBQwAIOli0yAAAECBAi0BQzAdv/SEyBAgAABAkGB/wP17fDGsjzLFAAAAABJRU5ErkJggg==

@piranna
Copy link
Owner Author

@piranna piranna commented Nov 20, 2015

Hum? Delete user?

@zodern
Copy link

@zodern zodern commented Nov 20, 2015

To switch between the tabs there could be a keyboard shortcut. Maybe control + arrow key. All of the tabs would require the user to log in before continuing, but if the user is creating or deleting an account it would not actually log the user in but just verify the password/username and allow the user to create a new account or delete the account the user is logged in as.

Delete user?

We don't need it, but since users can be created it might be useful to be also able to delete them. We might want to make it more difficult than an option in the login prompt. The user who owns the account would have to do it.

@piranna
Copy link
Owner Author

@piranna piranna commented Nov 21, 2015

KISS principle: if the user don't exists, give the option to create a new account. What you propose requires administrator priviledges, so no way. If we implement the administrator mode it would make sense, but the same would be achieved by removing the user folder or its password md5 on etc/logon.json...

Other thing is about giving the user an option to remove an account, that would be interesting, but don't know if this would be a security issue...

@zodern
Copy link

@zodern zodern commented Nov 22, 2015

KISS principle: if the user don't exists, give the option to create a new account.

That is much better than what I suggested.

@piranna
Copy link
Owner Author

@piranna piranna commented Nov 22, 2015

:-)

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Feb 23, 2016

I'll see what I can do :D

@piranna
Copy link
Owner Author

@piranna piranna commented Feb 23, 2016

I'll happily wait for your patches! :-)

@piranna
Copy link
Owner Author

@piranna piranna commented Mar 6, 2016

Hi @lite20, what's the status of this? Seems you have done some work, would you be able to create a pull-request so we can be able to discuss it there? The code seems nice, by the way :-)

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Mar 7, 2016

@piranna Hi sorry I've been caught up as of late with school which is why the QEMU update has also been delayed. I've got the prompt along and all the remains is to actually create the new directory with needed files. I sure can make a PR!

@piranna
Copy link
Owner Author

@piranna piranna commented Mar 7, 2016

Ok, I just wanted to be updated about your progress because seems the
problems I'm having with nsh are a bug on Node.js.

I want to discuss about how to create the new user folder. Could you be
able to move that code to a function? Also, why do you think it's better to
have a tarball with a basic one? My idea is to just download npm in zip
format (no need of external dependencies :-) ) and instead a tarball have a
text file with default basic modules (like current packages.txt files) that
can be override by the user when creating the account. This way the only
file needs to be created is logon.json, what do you think?
El 7/3/2016 5:59, "Lite McFish" notifications@github.com escribió:

@piranna https://github.com/piranna Hi sorry I've been caught up as of
late with school which is why the QEMU update has also been delayed. I've
got the prompt along and all the remains is to actually create the new
directory with needed files. I sure can make a PR!


Reply to this email directly or view it on GitHub
#3 (comment).

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Mar 7, 2016

Also, why do you think it's better to
have a tarball with a basic one?

Ah, because any directories that would need to be created with any files they may need to contain would already be there. Users with poor connections (unfortunately me at the moment) would additionally not have to wait to have needed modules downloaded every single time a user is created.

A tar file is additionally, in this way, more efficient on massive systems.

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Mar 7, 2016

and instead a tarball have a
text file with default basic modules (like current packages.txt files) that
can be override by the user when creating the account. This way the only
file needs to be created is logon.json, what do you think?

This is still a potential solution. We wouldn't gain the advantage of dodging un-neccessary repetitive downloads but would save on storage. It's really a decision on which we'd prefer. Tarball would allow accounts to be built faster at the cost of space (questionably not too much). Downloading would provide more space but with the cost of a longer creation time.

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Mar 7, 2016

I do have in mind, by the way, of gzipping the tarball. I didn't intend to leave it uncompressed but that's an idea too to consider if the tarball doesn't turn out to be that large. We additionally save time if we do that.

@piranna
Copy link
Owner Author

@piranna piranna commented Mar 7, 2016

because any directories that would need to be created with any files they may need to contain would already be there.

Problem is, it would be stored with the UID & GID of the original user, don't know if it could extract the files with the ones we are creating...

We wouldn't gain the advantage of dodging un-neccessary repetitive downloads but would save on storage. It's really a decision on which we'd prefer. Tarball would allow accounts to be built faster at the cost of space (questionably not too much). Downloading would provide more space but with the cost of a longer creation time.

Definitelly we need to decide what focus to follow. Tar file with basic system would lead it to be outdated if we don't modify logon. It could download it and be updated separately, but then there's almost no benefict on having just a packages.txt file with the name of the basic component. I think probably only nsh is needed by default, since npm will need to be downloaded in any case just to do the install of the packages, and if the user has not selected a custom packages list npm could be removed afterwards (except if it's included in the custom packages list, obviously). This way we could prevent it gets installed useless packages and make the system more secure.

By the way, what Internet connection do you have?

I do have in mind, by the way, of gzipping the tarball. I didn't intend to leave it uncompressed but that's an idea too to consider if the tarball doesn't turn out to be that large. We additionally save time if we do that.

Node.js has native support for gzip, so it's ok for me. I'm more worried about tar since it would add a new dependency, that's why I planned on using zip file, but I'm not sure if the built-in zlib module would support multi-file zips... :-/

@piranna
Copy link
Owner Author

@piranna piranna commented Mar 7, 2016

We wouldn't gain the advantage of dodging un-neccessary repetitive downloads but would save on storage. It's really a decision on which we'd prefer. Tarball would allow accounts to be built faster at the cost of space (questionably not too much). Downloading would provide more space but with the cost of a longer creation time.

Maybe we would add an option about what behaviour to have? Maybe in a config file? Also I was thinking about creation of users being an option too, but what should be the default one?

@mitsukaki
Copy link

@mitsukaki mitsukaki commented Mar 7, 2016

Node.js has native support for gzip, so it's ok for me. I'm more worried about tar since it would add a new dependency, that's why I planned on using zip file, but I'm not sure if the built-in zlib module would support multi-file zips... :-/

Ah okay. The reason I suggest tar is that it offers higher compression than a simple zip and knowing NodeOS goal to remain as light weight as possible, it'd be ideal.

By the way, what Internet connection do you have?

I use the local which used to be pretty decent but as of late the connection has been garbage toward afternoons. (low kbps even though we pay for 5 mbps)

Problem is, it would be stored with the UID & GID of the original user, don't know if it could extract the files with the ones we are creating...

These are files I assumed we would regenerate per account. The tar would only contain the base. Are there really no other packages that come with an installation? Like PalmTree, ps, slap, nsh and all those? The tar would contain just what's needed for basic servers so handling services (Palmtree, it's config, etc), a code editor (cat if that gets added to nsh, or slap could work), and the actual terminal, nsh.

By downloading the latest versions we risk causing user accounts to break without notice. If one day a user creates an account and we haven't yet got the chance to test the compatibility of an updated module with the other modules which may also have been updated by their respective maintainers, that user may now be stuck with a broken account.

@piranna
Copy link
Owner Author

@piranna piranna commented Mar 7, 2016

The reason I suggest tar is that it offers higher compression than a simple zip and knowing NodeOS goal to remain as light weight as possible, it'd be ideal.

Tar has no compression at all, it's just a container. Compression is done when combined with a compression tool like GunZip, that generate a .tgz/.tar.gz file ;-) Other alternatives are xz or zip itself (although It's very rare to find a .tar.zip file since zip already support multi-files...).

low kbps even though we pay for 5 mbps

What a sh*t :-( Where do you live?

The tar would contain just what's needed for basic servers

Beyond the REPL you really don't need anything more... :-D The default packages are more oriented for a simple interactive session, so I think it only needs nsh, if someone wants to create an account for a server app it only need to download it's module and configure it as the user init, no more, and this could be done with the list of packages that's given by the user. I don't want that it gets installed by default anything that could increase attack surface. Other option is to show a list of install alternatives, but this will complicate the process and probably should be put in an independent (optional?) module. KISS principle, remember ;-)

By downloading the latest versions we risk causing user accounts to break without notice. If one day a user creates an account and we haven't yet got the chance to test the compatibility of an updated module with the other modules which may also have been updated by their respective maintainers, that user may now be stuck with a broken account.

NodeOS is a Linux system so devs should have already test it, and if not it's their fault. I would not think too much about this point, if not we would need to get the responsability of test compatibility of all the npm registry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants