I've created a Bitnami Dokuwiki Docker container on my Mac using:
curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-dokuwiki/master/docker-compose.yml > docker-compose.yml
docker-compose up -d
I can connect to it in my browser, and there is a login link, but no way I can find to create a user.
Is there a default user, hopefully an admin user? Or do I need to create a user another way?
The default login is superuser, bitnami1.
It sets up this superuser account when you initially create the container. You can change the username and password it uses by passing environment variables DOKUWIKI_USERNAME and DOKUWIKI_PASSWORD to docker with -e.
Related
I have script that user can change password to ldap. The user write his password and the script is sending the command to ldap server. I can`t do that other way, only this way ldap server creates propper passwords. The command is:
ldappasswd -x -D "uid=userwhocanchangepassword,cn=users,dc=example,dc=org" -w "userpass" -h ldap.host -S 'uid=usertochange,cn=users,dc=example,dc=org' -s 'passwordTochange'
userwhocanchangepassword - is user that has perrmissions to change other users passwords
Autside the container it works perfectly (password is changed) but when I try to run same command in the docker container insted of password change i get ldappasswd help:
Change password of an LDAP user
usage: ldappasswd [options] [user]
user: the authentication identity, commonly a DN
It`s strange but it works well if I delete the -s param with the password. But if I do that command is prompting to pass the password.
On my dev machine and inside the docker container is the same version of the ldappasswd. Docker is ubuntu container with installed ldap-utils.
Is any other way to modify this command, or maybe some one has simillar problem?
Thanks for any help.
Im using unraid server and the Docker image InfluxDB.
I'm able to go to mine localhost:8086, and I create root user (admin user), but then, I do not have the option for adding more users.
I can add more organizations and buckets, but I simply can't add any users?
Any hints? Im new to this InfluxDB, my ultimate goal is to hook up with Grafana and Telegraf..
I'd assume that you can add users using the command from the docs.
With docker this should be possible with something like this (given your container name os influxdb2):
$ docker exec influxdb2 influx user create \
-n <username> \
-p <password> \
-o <org-name>
Try logging into the Docker image itself and using the influx command directly to see if you can create a new user - it may give you some insight into what's going on.
docker exec -it imagename bash
then when you have a shell
influx user create -n username
As said the command
docker exec IMAGE influx user create -n username
should achieve the same thing.
I'm trying to create a superset instance in Rancher but it do not prompted me to a admin user creation and I cant get past through login. I already tried admin/admin but it shows me "login failed".
Is there any step that I'm skipping?
My .yml file is based in https://howchoo.com/kubernetes/how-to-install-apache-superset-on-a-gke-kubernetes-cluster.
You can use the helm to install the superset on kubernetes cluster.
once you have updated the values.yaml file for the helm you can apply those changes.
Helm chat : https://github.com/helm/charts/tree/master/stable/superset
in this helm init container setting up the user and database details :
initFile: |-
/usr/local/bin/superset-init --username admin --firstname myfirstname --lastname mylastname --email admin#fab.org --password mypassword
superset load_examples
superset runserver
you can read the documentation in Github. You can set the password and username.
I did it without using helm.
I found this documentation and was able to run superset properly after executing the commands that are in the documentation.
I have created an Admin account in Jenkins after unlocking the Jenkins and doing the initial setup.
Now I have forgot the password of the admin account and I am not able to login Jenkins
First, enter the docker container by using
sudo docker exec -it [containerID] bin/bash
Your container is likely clean and need to install editing tools, run
apt-get update && apt-get install nano
Then, find the config.xml file. For my container, it is in /var/jenkins_home/config.xml. You can also try /var/lib/jenkins/config.xml.
nano /var/jenkins_home/config.xml
Change the useSecurity tag to false.
docker restart [ContainerID]
Now, you can visit the Jenkins page and it should be showing the Dashboard right the way without password. You should reset the password, by going to Dashboard -> Manage Jenkins -> Security -> Configure Global Security
, set Security Realms to Jenkins' own user database and press Apply.
Next, go to People and click the admin account, you should be redirected and see a button named Configure, set a new set of password in Password section and press Apply.
Then, go to Configure Global Security again, set Authentication to the option other than Anyone can do anything
Your password should have been reset, finally, go set the value of useSecurity to true again and restart the container. Hope this help!
As you running Jenkins in a Docker container you have to go to the inside of the container.
by typing below command $docker exec -it (container-ID) /bin/bash
After entering the container you should follow these step which mentioned on this post https://techpostal.blogspot.com/2020/01/how-to-reset-jenkins-admin-password.html
then check it and one more thing when you are done with the resetting password you shoud commit the docker images for future use of that image.
If you are using docker, all of that described before seems to me too much of a hazzle.
Remove container and volumes used
Start afresh again
Reference: https://www.jenkins.io/doc/book/installing/docker/
I set up Neo4j on an EC2 instance using this
http://www.neo4j.org/develop/ec2
I have the SSH key so I can SSH into the instance, but I don't remember the password I set up for the web interface. I believe this is a Jetty basicauth equivalent, but I'm not sure, nor could I find the config files that might lead me to the right place. How can I reset this password?
`neo4j-server.properties´ has a setting for the auth-extension being used by the puppet script:
org.neo4j.server.credentials=<user>:<pass>
I'm not sure where neo4j-server.properties is located on your machine, check /etc/neo4j or use find / -name neo4j-server.properties.
You can reset neo4j web interface password by following these steps, provided you have SSH access to ec2 instance:
Login to ec2 instance from your local console:
ssh -i [your-key] ubuntu#[ec2-instance-ip]
login as superuser sudo su
Remove auth file from var/lib/neoj/data/dbms
rm -f var/lib/neoj/data/dbms/auth
Reset the password by running
neo4j-admin set-initial-password secret
Restart neo4j: systemctl restart neo4j
You can access neo4j web interface from browser with username as neo4j and new password.