Bug 755966

Summary: Typo in Add user -> Login Shell: '/bin/dash' :-)
Product: [Fedora] Fedora Reporter: Martin Kho <rh-bugzilla>
Component: system-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-14 15:31:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kho 2011-11-22 14:53:36 UTC
Description of problem:
A newly created user gets the sh shell because /bin/dash doesn't exist. /bin/dash have to be /bin/bash I suppose.

Version-Release number of selected component (if applicable):
system-config-users-1.2.110-1.fc16.noarch

How reproducible:
always

Steps to Reproduce:
1. Press button Add User
2. Look at field Login Shell (/bin/*d*ash)
3.
  
Actual results:
New User gets sh as shell instead of bash

Expected results:
New user gets bash shell

Additional info:
This also happens in the Rawhide version.

Comment 1 Martin Kho 2011-11-22 14:55:10 UTC
Hi,

Forgot to mention, that useradd works okay.

Martin Kho

Comment 2 Nils Philippsen 2012-02-14 15:31:35 UTC
Sorry it took me so long to respond.

System-config-users uses whatever is in /etc/shells and IIRC there was a problem around the time you submitted this bug where /bin/bash was missing from this file in some installations. Assuming that this is the cause of your problem I'll close this bug as a duplicate of bug #752827 which tracks this issue, introduced through scriptlets of the bash package.

*** This bug has been marked as a duplicate of bug 752827 ***