Bananian Linux

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000073Bananian Linux[All Projects] Generalpublic2014-12-07 09:402016-03-25 09:32
Reporterguest 
Assigned ToNico 
PrioritylowSeverityminorReproducibilityalways
StatusassignedResolutionopen 
Product Version14.11 
Target VersionFixed in Version 
Summary0000073: bananian uses zsh shell. New users get bash shell
DescriptionUpon creating a new user,the default shell will be bash.
That can be changed of course with chsh.
However, if bananian defaults to zsh  it would be better IMHO to add zsh as a default to /etc/adduser.conf.

So 
# The DSHELL variable specifies the default login shell on your
# system.
DSHELL=/bin/bash

should be changed to
# The DSHELL variable specifies the default login shell on your
# system.
DSHELL=/bin/szh
Steps To Reproduceuse the useradd <some user> command
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0000048resolvedNico make zsh default for new users 
related to 0000122resolvedNico zsh configuration 

-  Notes
(0000105)
hvdwolf (reporter)
2014-12-07 09:48
edited on: 2014-12-09 11:32

Sorry. Did not pay attention to be able to log issues anonymous.
Just registered as user hvdwolf

Edit 2014-12-9: This also requires that files .zshrc and probably .zcompdump are
copied from /root to /etc/skel to make it possible to simply populate a users folder.

Also add the following 2 lines to /etc/login.defs:
# Create users home directory
CREATE_HOME yes

In /etc/default/useradd:
Change "SHELL=/bin/sh"  to "SHELL=/bin/zsh"
Change "#HOME=/home" to "HOME=/home" to enable this setting

(0000108)
hvdwolf (reporter)
2014-12-14 09:03

Additional request:

Please add to the /etc/skel/.profile file the following lines:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

It makes it possible to run scripts (shell, python) or compiled programs
without interfering with the system setup or even breaking the packaging system.

- Issue History
Date Modified Username Field Change
2014-12-07 09:40 guest New Issue
2014-12-07 09:48 hvdwolf Note Added: 0000105
2014-12-09 11:21 hvdwolf Note Edited: 0000105 View Revisions
2014-12-09 11:32 hvdwolf Note Edited: 0000105 View Revisions
2014-12-10 10:36 Nico Target Version => 15.04
2014-12-10 10:37 Nico Relationship added has duplicate 0000048
2014-12-10 10:38 Nico Assigned To => Nico
2014-12-10 10:38 Nico Status new => assigned
2014-12-14 09:03 hvdwolf Note Added: 0000108
2015-04-01 19:21 Nico Target Version 15.04 => later
2015-04-01 19:21 Nico Target Version later => 16.04
2015-04-07 11:01 Nico Relationship added related to 0000122
2016-03-25 09:32 Nico Target Version 16.04 => next


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker