Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

chsh is unavailable

If you are new on this forum and you don't know where to post please use this sub-forum. Somebody will answer your question and/or will move your topic into the right sub-forum.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
buick
NewUser
NewUser
Posts: 5
Joined: 30 Aug 2020 08:11
Status: Offline

chsh is unavailable

#1

Post by buick »

Hi,

Linux user here, please be kind :) I have installed XigmaNas v12.1.0.4 and first thing first, tried to change shell to the familiar bash:

Code: Select all

chsh -s /usr/local/bin/bash buick
But apparently `chsh` is not available in default install. Is this on purpose?

Code: Select all

# cat /etc/shells | grep bash
/bin/bash
/usr/local/bin/bash
/usr/local/bin/rbash

User avatar
ms49434
Developer
Developer
Posts: 840
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: chsh is unavailable

#2

Post by ms49434 »

1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

buick
NewUser
NewUser
Posts: 5
Joined: 30 Aug 2020 08:11
Status: Offline

Re: chsh is unavailable

#3

Post by buick »

Precisely:

Code: Select all

[root@nas ~]# find / -name "chsh"
[root@nas ~]#
Also:

Code: Select all

[root@nas ~]# man pkg
bash: man: command not found
...am I (literally) missing something here?

User avatar
ms49434
Developer
Developer
Posts: 840
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: chsh is unavailable

#4

Post by ms49434 »

Please leave the console shell as is.
For ssh'ing into the box with a user account, simply set the shell in the user profile.
access_users_edit.png
You do not have the required permissions to view the files attached to this post.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Post Reply

Return to “Newbie Questions”