By janesmae
I created a new Debian 9.3 droplet and logged in as root.
It seems, there is by default already a non-root user “debian” created. Is there a reason for this?
useradd command gives strange notices:
$ useradd -m foo
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
This seems to be oputput from the nscd application.
Similar output is generated also with “adduser” command
$ adduser asd
Adding user `asd' ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
Adding new group `asd' (1001) ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(group) request, exiting
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
Adding new user `asd' (1001) with group `asd' ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
Creating home directory `/home/asd' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for asd
Enter the new value, or press ENTER for the default
Full Name []: asdd
Room Number []: asd
Work Phone []: asd
Home Phone []: asd
Other []: asd
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(passwd) request, exiting
Is this really a feature?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It would be nice if DigitalOcean would weigh in on this.
Wayne Sallee Wayne@WayneSallee.com
I am having the same issues. Looks like it’s not an issue, but you can get rid of it by removing the name caching servie:
# apt-get remove unscd
I can’t see any possible reason not to remove both of them. So I sent an e-mail to digitalocean:
https://www.digitalocean.com/community/questions/debian-9-3-droplet-issues-with-useradd?answer=42778
It would be good to get an official answer on this.
Is there any reason to keep the debian user or to keep the pre-installed and buggy unscd ?
Digigal Ocean response:
Hello,
Thank you for contacting DigitalOcean!
You could purge the unscd user from your end and try again to add the user. Please run the following commands:
apt-get remove --purge unscd
userdel -r debian
Please feel free to reach out to us via this ticket if you have further queries or concerns, we will be around to help you out!
Kind Regards,
Sandesh
Platform Support Specialist
DigitalOcean
Maybe they should add this to their documents, and anything else that should be removed from their droplets.
Strange forum here, I see a “code” function, but not a “quote” function.
Wayne Sallee Wayne@WayneSallee.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.