[Not Accepted] Setting console with PWD no menu anymore

Problem/Justification
When you set the option to have console with PWD
you do not have the console menu anymore.

Impact
Means that you cannot for example shutdown the system from console
or have the regular command taht you can have from the shell of the console menu.

User Story
You want to avoid anyone could have access at the console to manage the system
but when you do that you lost the acces to the console menu
for example shutdoen the system from the console even if the web gui for some reasons is not working.
you can see from picture is not same having the PWD or not having it





cli --menu

Perhaps this Feature Request should be to modify the login message to include how to get to the menu with that command.

This would be much simpler and probably only needs a text file change. Testing would likely only be to make sure it was readable.

2 Likes

That’s not a bad suggestion, though I think what happened here is that @fabri.alare is misinterpreting what happened when they set a password.

When you log in to the shell as your admin user, the prompt that opens is controlled by the Shell setting for your admin user. As mentioned here, Managing Users | TrueNAS Documentation Hub, we suggest setting this to TrueNAS Console to do exactly what OP is suggesting and open to the console menu, though many may prefer to open directly to their preferred linux shell.

Setting the Console not to display without a password prompt doesn’t really have anything to do with what happened here, except that it forced you to log in as admin and then your default shell setting took over from there.

1 Like

Thanks
I will try the command
if you know where to have the lsit of all commands possible much better.

The suggestion to modify the message could be fine.
when you go from console menu to shell you have the command "ls " to see some of the possible command.

Instead about the fact you will arrive in a shell

as you can see from the picture something is not aligned.
The contextual help message says something else.
You should arrive at Text console menu after the password
not in a shell

but in any case it is fine if you have message how to go back is fine.

Thanks

What he means is that if you go to Credentials → Users → Click your user and click Edit → Scroll down to Shell.
Whatever is set there is run when you login, including from the login screen on the server itself. It’s also used if you SSH in, or open a shell from the GUI.

1 Like

I think the help message is confusing there.

So the options are

  1. Show Text Console without Password Prompt is selected ==> the console menu shows by default
  2. Show Text Console without Password Prompt is not selected ==> a password login is required (and then whatever normally happens after login happens)

The help text suggests a third option which isn’t really possible. If a password prompt is required then you are logging into the system as that user. You’re not logging into just the console.

1 Like

well
i will reply for the last time.

when that option is marked, the system boot up and you will have a text console menu that is a shell, you can even change admin password, reset configuration

from there you can see the ip address if it is the first boot up
so you will access the web gui, and then you will work like you prefer.

if you unmark the option

already shown the help context message

you expect to have the login and pwd but as written
that is then you should have the text console menu
like it is when marked.

conclusion
a)
so if they intended to let you login in the shell
they have to change the help context message.
like DjP-iX suggest.

b)
Instead if they change the text showed after the login
with some of the possible commands will be fine
you digit the command and you can have the text console menu .
like dan suggest

c)
doing what is written in the help context message.
showing, immediately after the user and pwd,
the text console menu like it is when the option is marked.
( it is marked just after the installation to let you see the text console menu )

this is what you expect with that help context message.


in any case something is not straightforward,
infact anyone has got his opinion this means something is not clear or not aligned.
It is enough to align message and result .

sorry was arwen to suggest to modify the text not dan

dan show the command to have the menu.

I’ll create a ticket to correct the help text to match the actual behavior, but I just want to point out again that if this

is your preferred/intended outcome, you can do it by just setting the Shell option for your admin user to TrueNAS Console and leaving Show Text Console without Password Prompt unset.

I think the best thing is what arwen suggested
id est : to put a text after the login that remeber how to get the TRUENAS console

id est the console menu.

in that way minum effort , help message make sense without modification
console is accesible trough password

You can do that yourself in the MOTD (message of the day) field.

No, with only the MOTD change, the help message is still incorrect.

That’s a matter of the admin user’s login shell, as already discussed up-thread.

Thank you for submitting this feature request. After keeping it open to gauge community interest, we’re closing it as it hasn’t received enough votes to prioritize for development.