Skip to content

Commit d54335f

Browse files
kraushmbcummingmsimberg
authored
Rephrase shells (#205)
The previous version was suggesting the usage of getent, which bares the risk of users being able to access personal data they should not see. (although, this still being the case, we maybe don't want to advertise such commands publicly) Furthermore, the warning against changing the default shell was rephrased. --------- Co-authored-by: Ben Cumming <[email protected]> Co-authored-by: Mikael Simberg <[email protected]>
1 parent b162697 commit d54335f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/guides/terminal.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@ This documentation is a collection of guides, hints, and tips for setting up you
88

99
Every user has a shell that will be used when they log in, with [bash](https://www.gnu.org/software/bash/) as the default shell for new users at CSCS.
1010

11-
At CSCS the vast majority of users stick with the default `bash`: at the time of writing, of over 1000 users on Daint, over 99% were using bash.
12-
1311
!!! example "Which shell am I using?"
1412

1513
Run the following command after logging in:
1614

1715
```console
18-
$ getent passwd | grep $USER
19-
bcumming:*:22008:1000:Benjamin Cumming, CSCS:/users/bcumming:/usr/local/bin/bash
16+
$ echo $SHELL
17+
/usr/local/bin/bash
2018
```
2119

22-
The last entry in the output points to the shell of the user, in this case `/usr/local/bin/bash`.
23-
2420
!!! tip
2521
If you would like to change your shell, for example to [zsh](https://www.zsh.org), you have to open a [service desk](https://jira.cscs.ch/plugins/servlet/desk) ticket to request the change. You can't make the change yourself.
2622

2723

2824
!!! warning
29-
Because `bash` is used by all CSCS staff and the overwhelming majority of users, it is the best tested, and safest default.
30-
25+
If you are comfortable with another shell (like Zsh or Fish), you are welcome to switch.
26+
Just keep in mind that some tools and instructions might not work the same way outside of `bash`.
27+
Since our support and documentation are based on the default setup, using a different shell might make it harder to follow along or get help.
28+
3129
We strongly recommend against using cshell - tools like uenv are not tested against it.
3230

3331
[](){#ref-guides-terminal-arch}

0 commit comments

Comments
 (0)