- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: How to change shell to bash
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to change shell to bash
Hi Guys,
Here is a short video on how to change shell to bash.
Regards
Magnus
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had locally managed SMB appliance and that didn't changed nothing. When I tried typing egrep <username> /etc/passwd it still showed that my default shell is /bin/clish.
Instead of that I've tried this (R81.10):
1. Log in to expert mode with desired user (that needs bash shell).
2. Type bashUser on
I hope this will help someone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Magnus. Great short video. All commands work in R81.10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set user admin shell /bin/bash
DONE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had locally managed SMB appliance and that didn't changed nothing. When I tried typing egrep <username> /etc/passwd it still showed that my default shell is /bin/clish.
Instead of that I've tried this (R81.10):
1. Log in to expert mode with desired user (that needs bash shell).
2. Type bashUser on
I hope this will help someone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the procedure on Quantum Spark appliances is different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[Expert@fw]# bashUser on
user: admin
Bash login enabled.
Scp access enabled.
[Expert@fw]# bashUser off
user: admin
Bash login disabled.
Scp access disabled.
Cpshell enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How many ways to: change user's shell
- clish command:
set user USERNAME shell /bin/bash - Bash command:
chsh --shell /bin/bash USERNAME - usermod utility:
usermod --shell /bin/bash USERNAME - /etc/passwd file directly:
(nano or vi) /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2, 3, and 4 are likely to be overwritten when you make other changes in clish. I can't stand clish, so this irritates me deeply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quantum Spark procedure
[Expert@fw]# bashUser on
user: admin
Bash login enabled.
Scp access enabled.
[Expert@fw]# bashUser off
user: admin
Bash login disabled.
Scp access disabled.
Cpshell enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Magnus. Great short video. All commands work in R81.10.
