Tab and prompt only has $
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
in our organisation we have ubuntu systems in domain, due to which we are not able to get the username and hostname in the command prompt instead it just shows the "$" sign when i open the command prompt, also tab does not work for all teh commands in ubuntu.
Moreover, when i do sudo su, tab and also command prompt comes.
How to get the username@hostname and tab working in the normal user mode
Thank You in advance.
16.04 command-line active-directory
 |Â
show 2 more comments
up vote
0
down vote
favorite
in our organisation we have ubuntu systems in domain, due to which we are not able to get the username and hostname in the command prompt instead it just shows the "$" sign when i open the command prompt, also tab does not work for all teh commands in ubuntu.
Moreover, when i do sudo su, tab and also command prompt comes.
How to get the username@hostname and tab working in the normal user mode
Thank You in advance.
16.04 command-line active-directory
The prompt is kept in thePS1
environment variable. Readman bash
, especially thePROMPTING
section - it tells you all the things you can have in your prompt.
â waltinator
Mar 19 at 14:21
4
Are you sure the user configuration on the domain server hasbash
as the users' login shell (rather thansh
)?
â steeldriver
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be/bin/bash
withuseradd
it sets it to Dash, which is just the$
prompt and tab completion-less. Ifbash
isn't set,/bin/sh
is the fallback, and that's actuallydash
â Thomas Wardâ¦
Mar 19 at 14:26
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -PS1
is in the POSIX Shell Standard.
â waltinator
Mar 19 at 14:32
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
in our organisation we have ubuntu systems in domain, due to which we are not able to get the username and hostname in the command prompt instead it just shows the "$" sign when i open the command prompt, also tab does not work for all teh commands in ubuntu.
Moreover, when i do sudo su, tab and also command prompt comes.
How to get the username@hostname and tab working in the normal user mode
Thank You in advance.
16.04 command-line active-directory
in our organisation we have ubuntu systems in domain, due to which we are not able to get the username and hostname in the command prompt instead it just shows the "$" sign when i open the command prompt, also tab does not work for all teh commands in ubuntu.
Moreover, when i do sudo su, tab and also command prompt comes.
How to get the username@hostname and tab working in the normal user mode
Thank You in advance.
16.04 command-line active-directory
16.04 command-line active-directory
asked Mar 19 at 14:18
user2041875
62
62
The prompt is kept in thePS1
environment variable. Readman bash
, especially thePROMPTING
section - it tells you all the things you can have in your prompt.
â waltinator
Mar 19 at 14:21
4
Are you sure the user configuration on the domain server hasbash
as the users' login shell (rather thansh
)?
â steeldriver
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be/bin/bash
withuseradd
it sets it to Dash, which is just the$
prompt and tab completion-less. Ifbash
isn't set,/bin/sh
is the fallback, and that's actuallydash
â Thomas Wardâ¦
Mar 19 at 14:26
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -PS1
is in the POSIX Shell Standard.
â waltinator
Mar 19 at 14:32
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36
 |Â
show 2 more comments
The prompt is kept in thePS1
environment variable. Readman bash
, especially thePROMPTING
section - it tells you all the things you can have in your prompt.
â waltinator
Mar 19 at 14:21
4
Are you sure the user configuration on the domain server hasbash
as the users' login shell (rather thansh
)?
â steeldriver
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be/bin/bash
withuseradd
it sets it to Dash, which is just the$
prompt and tab completion-less. Ifbash
isn't set,/bin/sh
is the fallback, and that's actuallydash
â Thomas Wardâ¦
Mar 19 at 14:26
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -PS1
is in the POSIX Shell Standard.
â waltinator
Mar 19 at 14:32
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36
The prompt is kept in the
PS1
environment variable. Read man bash
, especially the PROMPTING
section - it tells you all the things you can have in your prompt.â waltinator
Mar 19 at 14:21
The prompt is kept in the
PS1
environment variable. Read man bash
, especially the PROMPTING
section - it tells you all the things you can have in your prompt.â waltinator
Mar 19 at 14:21
4
4
Are you sure the user configuration on the domain server has
bash
as the users' login shell (rather than sh
)?â steeldriver
Mar 19 at 14:26
Are you sure the user configuration on the domain server has
bash
as the users' login shell (rather than sh
)?â steeldriver
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be
/bin/bash
with useradd
it sets it to Dash, which is just the $
prompt and tab completion-less. If bash
isn't set, /bin/sh
is the fallback, and that's actually dash
â Thomas Wardâ¦
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be
/bin/bash
with useradd
it sets it to Dash, which is just the $
prompt and tab completion-less. If bash
isn't set, /bin/sh
is the fallback, and that's actually dash
â Thomas Wardâ¦
Mar 19 at 14:26
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -
PS1
is in the POSIX Shell Standard.â waltinator
Mar 19 at 14:32
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -
PS1
is in the POSIX Shell Standard.â waltinator
Mar 19 at 14:32
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
edit your /etc/sssd/sssd.conf file to include:
default_shell = /bin/bash
override_shell = /bin/bash
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
edit your /etc/sssd/sssd.conf file to include:
default_shell = /bin/bash
override_shell = /bin/bash
add a comment |Â
up vote
0
down vote
edit your /etc/sssd/sssd.conf file to include:
default_shell = /bin/bash
override_shell = /bin/bash
add a comment |Â
up vote
0
down vote
up vote
0
down vote
edit your /etc/sssd/sssd.conf file to include:
default_shell = /bin/bash
override_shell = /bin/bash
edit your /etc/sssd/sssd.conf file to include:
default_shell = /bin/bash
override_shell = /bin/bash
answered Jul 16 at 13:19
Beth L
12
12
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017321%2ftab-and-prompt-only-has%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
The prompt is kept in the
PS1
environment variable. Readman bash
, especially thePROMPTING
section - it tells you all the things you can have in your prompt.â waltinator
Mar 19 at 14:21
4
Are you sure the user configuration on the domain server has
bash
as the users' login shell (rather thansh
)?â steeldriver
Mar 19 at 14:26
@waltinator you assume that the default for users via Samba / domain auth is actually Bash. If you don't define the shell to be
/bin/bash
withuseradd
it sets it to Dash, which is just the$
prompt and tab completion-less. Ifbash
isn't set,/bin/sh
is the fallback, and that's actuallydash
â Thomas Wardâ¦
Mar 19 at 14:26
@askubuntu.com/users/10616/thomas-ward I assume a POSIX shell -
PS1
is in the POSIX Shell Standard.â waltinator
Mar 19 at 14:32
@steeldriver: not sure for this ! do you have any steps to check for that? Currently i go on sudo su, the shell i am getting is /bin/bash but in non-rooted environment it is /bin/sh.
â user2041875
Mar 20 at 7:36