Re: [BackupPC-users] Issue with configure.pl not recognizing user

2020-01-02 Thread White FrosT
Thanks Michaelm "passwd backuppc" seems to work fine, but the configure
script does not. I did the modifications using usermod, useradd etc. Is
there anyone that knows the configure script in depth and can help me with
a step by step debug of this issue?


Op di 31 dec. 2019 om 23:56 schreef Michael Stowe <
michael.st...@member.mensa.org>:

> On 2019-12-31 09:03, White FrosT wrote:
>
> Hi All,
> Thanks for the feedback, but I'm not getting there yet.
>
> I tried vipw, but this doesn't work. It was not on my system, installed it
> with opkg install shadow-vipw. But then running vipw gives me:
> vipw: /opt/etc/passwd: No such file or directory
> vipw: /opt/etc/passwd is unchanged
>
> Neither does adding a shell to the user (/sbin/nologin) change anything.
>
> Thanks for any additional idea's!
>
>
> Op di 31 dec. 2019 om 16:54 schreef mlm :
>
>
> On 12/30/2019 6:57 PM, Michael Stowe wrote:
>
> On 2019-12-30 12:24, White FrosT wrote:
>
> Dear list,
> I have an issue installing backuppc on my new network disk running Linux
> 4.2.8 ARMv71. I think I have managed all preconditions in perl (v5.28.1)
> and are ready to install, but I run into an issue with configure.pl
> <https://u2182357.ct.sendgrid.net/wf/click?upn=rBK8reUlX8Sxr7Iz1fV-2F7Z4Qyz-2FdRVTsykwiKMAKNXGM7CUf5juiBco6vpfp2jz1b2ywz5iHhGuMBRW-2BbsRpyriQYngu5p4EU0mD2E0mSA-2Frx4vGZ-2Fp1CIYOyKiFCqZL8eCJP1ev5gbx6IyiE2BTfJkKHjUD3jIlJreydTMKH-2Bqv1D4uuq43VMS0FaikvKy7VqAPUlvbdOkdgQpiX1eIZsFi7E0PGALblqcD6XODGTiQfrxf2Ww-2BoZuWZLFU2X31h1Hj-2B7GJrneyiX1-2FFvnlxU4I7wTHt8-2BJvq-2BuE5zLiTr95cPfCmN-2BgBrpaxf7gPSN-2BTzAdyMfJ5sUdtb9PCHWXN7wScI7pZTjmfQO3D5gZUHGRa2CsHJXBJdrhwmu7dTlpR03aIEMYoo8yZwBwNj4gjsJIsG7Su84FJqvcIyIpflXD6tIE5sOA4Mgz7Gm4AxuGSD7ZuLRgeSz4BobtEiICRLRUkfskUAU9FWfXtMaQEfFHl4E9e5lVErw-2BKLj8Wso_rHTXnyQLaAcDw6nAH9-2FJJFTS1YmzcMS0QYydNo3vr59AhsOHNrk9KUHcYr1-2FR66LJhcth1CJKanA8VgIZF9NDqt0nuGEA7AfN7zbCECe76SkAvs6VgryxPCnmpTYhveLdusJYgiGLBHXBcyfZJX4Fozp-2FSMyLOA-2FENxLkUTWfiSbYGP0Gwczl5XGg-2BePCe0COseyQo3jdCS8wjVDQdeIGY-2BaJUAEFhfSSkHT7tftFiRyE14XxSlBdSNbYDdfXI00>.
> It doesn't let me set the user to run BackupPC with. See the snapshot of
> the script output below:
>
> --> BackupPC should run as user [backuppc]
>
> getpwnam() says that user backuppc doesn't exist.  Please
> check the name and verify that this user is in the passwd file.
>
> But the user does exist on my system, see:
>
> [/.../BackupPC-4.3.1] # grep backuppc /etc/passwd
> backuppc:x:1000:1000::/share/homes/Backupuser/:
>
> I cannot seem to workaround this problem. Does anyone have any leads?
>
> Thanks a lot!
>
> For what it's worth, I've seen this behavior when shadow hasn't properly
> been updated, and it took (takes?) running vipw, then rebooting.  YMMV
>
> hi,
>
> Might need an entry where the shell for the user normally goes.
>
> This is what my entry looks like:
>
>
> backuppc:x:988:983::/var/lib/BackupPC:/sbin/nologin
>
> Mark
>
> What vipw does is set the appropriate locks and prevent corruption while
> editing the password file -- under the covers, it's often vi or vim,
> anyway.  Depending on the platform, this will help trigger the shadow
> update (thus my suggestion to use vipw and reboot.)  In your case, it seems
> the package for vipw doesn't fit with the actual location of passwd and
> shadow on your system.
>
> Usually it's best not to directly interact with either file, as a syntax
> error can result in accounts not working, instead it is better to use tools
> like adduser and passwd.  Officially, authconfig (on Linux) is probably the
> right way to update whatever files must be coordinated.  You could also
> just use "passwd backuppc" as root.
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Issue with configure.pl not recognizing user

2019-12-31 Thread White FrosT
Hi All,
Thanks for the feedback, but I'm not getting there yet.

I tried vipw, but this doesn't work. It was not on my system, installed it
with opkg install shadow-vipw. But then running vipw gives me:
vipw: /opt/etc/passwd: No such file or directory
vipw: /opt/etc/passwd is unchanged

Neither does adding a shell to the user (/sbin/nologin) change anything.

Thanks for any additional idea's!


Op di 31 dec. 2019 om 16:54 schreef mlm :

>
> On 12/30/2019 6:57 PM, Michael Stowe wrote:
>
> On 2019-12-30 12:24, White FrosT wrote:
>
> Dear list,
> I have an issue installing backuppc on my new network disk running Linux
> 4.2.8 ARMv71. I think I have managed all preconditions in perl (v5.28.1)
> and are ready to install, but I run into an issue with configure.pl
> <https://u2182357.ct.sendgrid.net/wf/click?upn=ktc6Sw27myTf4Fow3Cmoe104eSS9eTV3JAv92P6q3YM-3D_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91CDs-2BYzdt2HE8zUz4v3W9zJ7SuYJNu-2F0aPiGzNy68XB26doA5D5CoGotK-2Fn-2BprCo8UTQUBTD-2BLcy-2BJjOxfojzU7BJI0Qy3BGJumILaQ2gyrKqzTm1bucGHBsPhTbAl-2FFOwRwWYGQ2NHCrZpoTaduk7-2FRvnnKEOQ-2FrersL9v6GRWfCiRMdBjCWETdRB1gjPBEjf>.
> It doesn't let me set the user to run BackupPC with. See the snapshot of
> the script output below:
>
> --> BackupPC should run as user [backuppc]
>
> getpwnam() says that user backuppc doesn't exist.  Please
> check the name and verify that this user is in the passwd file.
>
> But the user does exist on my system, see:
>
> [/.../BackupPC-4.3.1] # grep backuppc /etc/passwd
> backuppc:x:1000:1000::/share/homes/Backupuser/:
>
> I cannot seem to workaround this problem. Does anyone have any leads?
>
> Thanks a lot!
>
> For what it's worth, I've seen this behavior when shadow hasn't properly
> been updated, and it took (takes?) running vipw, then rebooting.  YMMV
>
> hi,
>
> Might need an entry where the shell for the user normally goes.
>
> This is what my entry looks like:
>
>
> backuppc:x:988:983::/var/lib/BackupPC:/sbin/nologin
>
> Mark
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Issue with configure.pl not recognizing user

2019-12-30 Thread White FrosT
Dear list,
I have an issue installing backuppc on my new network disk running Linux
4.2.8 ARMv71. I think I have managed all preconditions in perl (v5.28.1)
and are ready to install, but I run into an issue with configure.pl. It
doesn't let me set the user to run BackupPC with. See the snapshot of the
script output below:

--> BackupPC should run as user [backuppc]

getpwnam() says that user backuppc doesn't exist.  Please
check the name and verify that this user is in the passwd file.

But the user does exist on my system, see:

[/.../BackupPC-4.3.1] # grep backuppc /etc/passwd
backuppc:x:1000:1000::/share/homes/Backupuser/:

I cannot seem to workaround this problem. Does anyone have any leads?

Thanks a lot!
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/