[warning] adduser 3.130 breaks remastering - sid repos
- anticapitalista
- Developer
- Posts: 4165
- Joined: Sat Jul 15, 2006 10:40 am
Re: [warning] adduser 3.130 breaks remastering - sid repos
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
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
- dolphin_oracle
- Developer
- Posts: 20009
- Joined: Sun Dec 16, 2007 1:17 pm
Re: [warning] adduser 3.130 breaks remastering - sid repos
@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:
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.
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
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- dolphin_oracle
- Developer
- Posts: 20009
- Joined: Sun Dec 16, 2007 1:17 pm
Re: [warning] adduser 3.130 breaks remastering - sid repos
@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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- anticapitalista
- Developer
- Posts: 4165
- Joined: Sat Jul 15, 2006 10:40 am
Re: [warning] adduser 3.130 breaks remastering - sid repos
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
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
Re: [warning] adduser 3.130 breaks remastering - sid repos
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
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
- dolphin_oracle
- Developer
- Posts: 20009
- Joined: Sun Dec 16, 2007 1:17 pm
Re: [warning] adduser 3.130 breaks remastering - sid repos
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.