[SOLVED] PAM user creation problem

mrapajic

New Member
Dec 20, 2019
18
0
1
Hi guys,

we have an unusual problem on Backup Server 0.8-19 (completely new installation). We cannot create local PAM users via adduser, useradd etc. Only directy within /etc/passwd/group/shadow works. No error log or any warning. We also have Backup Server 0.8-14 and user creation this way works just fine.


EDIT

root@pbs:/# stat /usr/sbin/useradd
File: /usr/sbin/useradd
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd01h/64769d Inode: 266578 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-09-24 11:28:59.972000000 +0200
Modify: 2020-09-23 10:38:03.716000000 +0200
Change: 2020-09-23 10:38:03.716000000 +0200


hmm, empty?


EDIT2

root@pbs:/# adduser test1
Adding user `test1' ...
Adding new group `test1' (1003) ...
Adding new user `test1' (1002) with group `test1' ...
Creating home directory `/home/test1' ...
Copying files from `/etc/skel' ...
passwd: user 'test1' does not exist
Permission denied
Try again? [y/N] y
passwd: user 'test1' does not exist
Permission denied


BR
 
Last edited:
Great! please mark the thread as [SOLVED] to help other people who have the same problem Thanks!

Have a nice day :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!