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

[SUG] Automatyzacja skryptu tworzacego usera #37

Closed
loper opened this issue Oct 6, 2021 · 4 comments
Closed

[SUG] Automatyzacja skryptu tworzacego usera #37

loper opened this issue Oct 6, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@loper
Copy link
Collaborator

loper commented Oct 6, 2021

#31 Aktualnie skrypt wymaga podania wielu informacji "po drodze" - moja sugestia jest taka, aby użyć "useradd" zamiast "adduser" i zrobić wywołanie jako ./chce_usera .

@unkn0w
Copy link
Owner

unkn0w commented Oct 6, 2021

Ja bym poszedł jeszcze dalej - to co @loper wspomniał plus obsługa parametru startowego.
Jeśli ktoś wywoła skrypt:

./chce_usera.sh marian

To utworzy usera "marian".

Jeśli wywoła:
./chce_usera.sh

to zapyta o login tego usera

Hasło można userowi wygenerować z góry i ustawić przez chpass (trzeba je później rzucić na ekran)

@unkn0w unkn0w added the good first issue Good for newcomers label Oct 6, 2021
@loper
Copy link
Collaborator Author

loper commented Oct 6, 2021

Możnaby zintegrować z dodawaniem sudoers, bo i tak w 99% się to robi (#36).

@loper
Copy link
Collaborator Author

loper commented Oct 14, 2021

Mam sugestię co do możliwego fixa - jak ktoś wywoła "./chce_usera.sh marian", to powinien z automatu wygenerować hasło (bez pytania).

@loper loper added Czeka na poprawki enhancement New feature or request labels Oct 14, 2021
@archont94
Copy link
Contributor

Mam sugestię co do możliwego fixa - jak ktoś wywoła "./chce_usera.sh marian", to powinien z automatu wygenerować hasło (bez pytania).

#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants