IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
openbsd:beginner_shell [2020/02/26 11:58]
net_wayfarer Replaced <nowiki>*can*</nowiki> with <nowiki>//can//</nowiki> for italics.
openbsd:beginner_shell [2020/04/20 04:49] (current)
net_wayfarer /* I don't like KSH at all */ fixed sentence structure. /* How do I change my password? */ section added. Minor changes to word use "user" to "$user".
Line 10: Line 10:
  
 === I don't like KSH at all === === I don't like KSH at all ===
-If you prefer to stick to BASH the command ​would chsh and change where it shows Shell: from /bin/ksh to /​usr/​local/​bin/​bash. For example:+If you prefer to stick to BASHthe command ​''​chsh''​ would bring up a text editor. ​ From here, change where it shows Shell: from /bin/ksh to /​usr/​local/​bin/​bash. For example:
 <​code>​ <​code>​
-# Changing user database information for user+# Changing user database information for $user
 Shell: /bin/ksh Shell: /bin/ksh
 Full Name: user Full Name: user
Line 21: Line 21:
 To, To,
 <​code>​ <​code>​
-# Changing user database information for user+# Changing user database information for $user
 Shell: /​usr/​local/​bin/​bash Shell: /​usr/​local/​bin/​bash
 Full Name: user Full Name: user
Line 80: Line 80:
 alias __Y=`echo "​\005"​` ​    # end = ^e = end of line alias __Y=`echo "​\005"​` ​    # end = ^e = end of line
 </​code>"​ </​code>"​
 +
 +==== How do I change my password? ====
 +Simply execute ''​passwd''​ at prompt:
 +<​code>​
 +$ passwd
 +Changing password for $user
 +Old password:
 +New password:
 +Retype new password:
 +$
 +</​code>​
 +Your chosen new password should be longer than eight (8) characters.