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

Can not login with root #50

Open
DST73 opened this issue Jul 18, 2024 · 18 comments
Open

Can not login with root #50

DST73 opened this issue Jul 18, 2024 · 18 comments

Comments

@DST73
Copy link

DST73 commented Jul 18, 2024

Could you please post what the initial password for the root use is?

Thank you!

@redtex
Copy link

redtex commented Jul 19, 2024

https://github.com/ayufan/pve-backup-server-dockerfiles#run

login - admin@pbs
passw - pbspbs

@DST73
Copy link
Author

DST73 commented Jul 20, 2024

Thanks! but I asked for the root users password. Maybe I didn't ask clearly :)

image

@redtex
Copy link

redtex commented Jul 21, 2024

exec in container passwd and set root password. There is no default password for root, because it's no real use for it, as mentioned here.

@DST73
Copy link
Author

DST73 commented Jul 22, 2024

if I "enter" the container and simply try ls nothing happens. Same with passwd
grafik

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

same for me
doenst matter witch command ls apt passwd keeps blank line

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

@DST73

docker exec -it ....

@sojab0on You should not use root as it makes not sense for container-based service.

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

@DST73

docker exec -it ....

@sojab0on You should not use root as it makes not sense for container-based service.

also with admin / pbspbs on booth options it wont login
it doesnt even go it to the container it self with the command
it stays at

and there admin doesnt exsist
passwd: user 'admin' does not exist

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

also with admin / pbspbs on booth options it wont login

This can only be used to login via web. There's no admin account on shell. You should never use passwd on shell as it is lost when re-creating the container.

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

also with admin / pbspbs on booth options it wont login

This can only be used to login via web. There's no admin account on shell. You should never use passwd on shell as it is lost when re-creating the container.

i meant on the web interface it wont let me login with admin
constnat login failure
with logs showing

authentication failure; rhost=[::ffff:172.16.0.103]:58890 user=admin@pbs@pam msg=open tmpfile in "/run/proxmox-backup/shmem" failed - EISDIR: Is a directory | stdout

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

Do you have tmpfs configured for /run?

https://github.com/ayufan/pve-backup-server-dockerfiles/blob/master/docker-compose.yml#L14

yes i used your yml file it , when i do the exec command it goes to the right container. but still admin wont log me in to web interface

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

@sojab0on Show me mount.

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

docker_pbs_etc | /etc/proxmox-backup
docker_pbs_lib | /var/lib/proxmox-backup
docker_pbs_logs | /var/log/proxmox-backup

root@944cea7b2e58:/# df -h
Filesystem              Size  Used Avail Use% Mounted on
none                     11T  7.7T  3.3T  71% /
tmpfs                    64M     0   64M   0% /dev
tmpfs                   3.9G     0  3.9G   0% /sys/fs/cgroup
shm                      64M     0   64M   0% /dev/shm
tmpfs                   3.9G  108K  3.9G   1% /run
/dev/mapper/cachedev_0   11T  7.7T  3.3T  71% /etc/hosts
tmpfs                   3.9G     0  3.9G   0% /proc/acpi
tmpfs                   3.9G     0  3.9G   0% /proc/scsi
tmpfs                   3.9G     0  3.9G   0% /sys/firmware

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

@sojab0on uname -a?

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

uname -a

Linux 944cea7b2e58 3.10.108 #42962 SMP Mon Aug 19 15:12:09 CST 2024 x86_64 GNU/Linux

asume that i need to do some patching

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

OK, this is why. The PBS requires newer kernel: #15.

@sojab0on
Copy link

sojab0on commented Jan 7, 2025

OK, this is why. The PBS requires newer kernel: #15.

okay, that why but i have some linux experience but not with compiling or forking to patch it out.
then pbs on my synology is a no go.

@ayufan
Copy link
Owner

ayufan commented Jan 7, 2025

Synology with old kernel is no go for PBS. It requires heavy patching of PBS to make it work on older kernel.

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

No branches or pull requests

4 participants