[warning] adduser 3.130 breaks remastering - sid repos

Message
Author
User avatar
anticapitalista
Developer
Posts: 4165
Joined: Sat Jul 15, 2006 10:40 am

Re: [warning] adduser 3.130 breaks remastering - sid repos

#31 Post by anticapitalista »

Thanks @dolphin_oracle - much appreciated.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
dolphin_oracle
Developer
Posts: 20009
Joined: Sun Dec 16, 2007 1:17 pm

Re: [warning] adduser 3.130 breaks remastering - sid repos

#32 Post by dolphin_oracle »

@anticapitalista @Adrian ok anti is correct, at least partitially.

I can add and remove users if I don't check remove home folder, but the default shell is given as /usr/sbin/nologin. home folder removal fails because --force is no longer a valid parameter

the entry in /etc/passwd created by mx-user looks like this on bookworm:

Code: Select all

fred:x:1001:1001:fred,,,:/home/fred:/usr/sbin/nologin
so yes, we need to make a modification similar to mx-remaster. we need the shell as defined by DSHELL in /etc/adduser.conf and we need to set it manually with --shell "$DEF_SHELL" like we do in installed-to-live. this gets around the changes made to the --disabled-login switch.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Developer
Posts: 20009
Joined: Sun Dec 16, 2007 1:17 pm

Re: [warning] adduser 3.130 breaks remastering - sid repos

#33 Post by dolphin_oracle »

@anticapitalista @Adrian will have PR shortly to work on both bullseye and bookworm
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
anticapitalista
Developer
Posts: 4165
Joined: Sat Jul 15, 2006 10:40 am

Re: [warning] adduser 3.130 breaks remastering - sid repos

#34 Post by anticapitalista »

Fix works - many thanks
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
fehlix
Developer
Posts: 10371
Joined: Wed Apr 11, 2018 5:09 pm

Re: [warning] adduser 3.130 breaks remastering - sid repos

#35 Post by fehlix »

anticapitalista wrote: Tue Feb 14, 2023 7:23 am Fix works - many thanks
changing default shell e.g. to /bin/fish, would still create new user with bash as default shell.
also handling of future deprecated adduser options needed some adjustments...
some changes added - send a PR to mx-adduser at github
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
dolphin_oracle
Developer
Posts: 20009
Joined: Sun Dec 16, 2007 1:17 pm

Re: [warning] adduser 3.130 breaks remastering - sid repos

#36 Post by dolphin_oracle »

thanks
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “antiX”