I have restricted user, whose default shell is rbash. Now, I would like to allow the TAB completion feature for this user for his/her home directory, instead of getting this error:
-rbash: /dev/null: restricted: cannot redirect output
-rbash: /dev/null: restricted: cannot redirect output
bash: _upvars: `-a2': invalid number specifier
-rbash: /dev/null: restricted: cannot redirect output
bash: _upvars: `-a0': invalid number specifier
How can I do this for restricted user?
Change permission of /dev/null to 666
chmod 777 /dev/null
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With