Change default shell: Difference between revisions

From Alpine Linux
No edit summary
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
==== Changing the default shell ====


'''Download the required package:'''
<br>
''apk add libuser''
<br><br>
If you do not have files:
* /etc/login.defs
* /etc/default/useradd
We will need to create them
''touch /etc/login.defs''
<br>
''touch /etc/default/useradd''
<br><br>
Now we can change our default shell
<br><br>
If you want to change the current user's shell:<br>
''lchsh''
<br>
If you want to change a different user's shell:<br>
''lchsh USERNAME''

Revision as of 11:18, 25 October 2019