How to enable tab to complete for new users in ubuntu

The Apprato Blog is the hub for business owners, managers, entrepreneurs and developers featuring key technology news, resources and insights.
Jordan

by Jordan Pearce
last week | 7 min read

Share this article

You may have created a Ubuntu server with Amazon Web Services. Normally I prefer the default EC2 server which is close in architecture to CentOS for compatibility reasons.  The autocomplete wasn’t working when I changed users or used the adduser command as it is quite low level in Ubuntu 18.04.

If you use the command below you should see the normal shell and have the usual trimmings including auto-complete at the command level. Replace username in lowercase with the user that you created with add_user

sudo -u $USERNAME username -s /bin/bash

Share this article
subscribe to our newsletter.
Get news and insights to optimise your business through application development and smarter eCommerce

Related Posts

Ready to grow your on-line business?

Let's talk.

Visit us.

Melbourne
257 Suite 51/11 Wilson St, South Yarra VIC 3141
Tel: 03 9046 8582
contact@apprato.com.au
Sydney
285A Crown St, Surry Hills NSW 2010
Tel: 03 9046 8582
contact@apprato.com.au
Gold Coast
unit 11/76 Township Dr, Burleigh Heads QLD 4220
Tel: 03 9046 8582
contact@apprato.com.au
  • thefront
  • thefront

© 2024 Apprato Pty Ltd. All Right Reserved.