Skip to content

Anyone knows how I can add a user with ctlmgr_ctl #872

Answered by fraternl
fraternl asked this question in General
Discussion options

You must be logged in to vote

The main reason for adding a user is because I do not want to lose access to the AVM-interface from the Internet.
Even if the box gets a factory reset, a user gets created and the https port gets set.

The code I have here depends on /sbin/set.lua
It also needs some other variables set, but that's beyond the scope of this topic.

Typically I provision a box by pushing the firmware, setting the Internet connection and enable a user. Someone else then installs the box and tells me the IP if Internet is working.
In the past it happened that I forgot to create a user, so there's no access from the Internet to the box even if I know its IP.

After a factory reset there's of course no Internet acc…

Replies: 15 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@fda77
Comment options

fda77 Oct 26, 2023
Collaborator

@fda77
Comment options

fda77 Oct 26, 2023
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fda77
Comment options

fda77 Oct 26, 2023
Collaborator

Comment options

You must be logged in to vote
1 reply
@fda77
Comment options

fda77 Oct 26, 2023
Collaborator

Comment options

You must be logged in to vote
1 reply
@fda77
Comment options

fda77 Oct 26, 2023
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by fraternl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fda77
Comment options

fda77 Nov 7, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants