aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/users/chapter.sgml
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2006-05-30 23:08:25 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2006-05-30 23:08:25 +0000
commit3f0d1b56f03b6a607f89c1b92a0f0be66e1ee814 (patch)
treebc25b19d9c1d0d39f8174ef2bd13298876425c55 /en_US.ISO8859-1/books/handbook/users/chapter.sgml
parentdc6dd904543bf2632401a3ff4a4d02cd21247e76 (diff)
downloaddoc-3f0d1b56f03b6a607f89c1b92a0f0be66e1ee814.tar.gz
doc-3f0d1b56f03b6a607f89c1b92a0f0be66e1ee814.zip
Do what I swore would be done:
o Remove 4.X information, this includes notes and sections. o Update documentation to reflect 5.X and 6.X. o In some areas, try to make the new content version agnostic. o Skip areas stating "5.[0-5] and later" as it's relevant - we need a better way to handle these. For several items, I checked the NOTES files, manual pages, CVS history, etc. Discussed on: -doc A few ideas from: remko
Notes
Notes: svn path=/head/; revision=27981
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/users/chapter.sgml')
-rw-r--r--en_US.ISO8859-1/books/handbook/users/chapter.sgml83
1 files changed, 2 insertions, 81 deletions
diff --git a/en_US.ISO8859-1/books/handbook/users/chapter.sgml b/en_US.ISO8859-1/books/handbook/users/chapter.sgml
index cc8e25ddc6..8b1baf6584 100644
--- a/en_US.ISO8859-1/books/handbook/users/chapter.sgml
+++ b/en_US.ISO8859-1/books/handbook/users/chapter.sgml
@@ -391,85 +391,6 @@
<filename>/usr/share/skel</filename>, and can optionally mail
the new user a welcome message.</para>
- <para>In &os;&nbsp;5.0, &man.adduser.8; was rewritten from a
- Perl script to a shell script that acts as wrapper around
- &man.pw.8;, so its usage is slightly different on &os;&nbsp;4.X
- and &os;&nbsp;5.X.</para>
-
- <para>To create the initial configuration file, use
- <command>adduser -s -config_create</command>.
- <footnote>
- <para>The <option>-s</option> makes &man.adduser.8;
- default to
- quiet. We use <option>-v</option> later when we want to
- change defaults.</para>
- </footnote>
- Next, we configure &man.adduser.8;
- defaults, and create our first user account, since using
- <username>root</username> for normal usage is evil and
- nasty.</para>
-
- <example>
- <title>Configuring <command>adduser</command> and adding a
- user on &os;&nbsp;4.X</title>
-
- <screen>&prompt.root; <userinput>adduser -v</userinput>
-Use option ``-silent'' if you don't want to see all warnings and questions.
-Check /etc/shells
-Check /etc/master.passwd
-Check /etc/group
-Enter your default shell: csh date no sh tcsh zsh [sh]: <userinput>zsh</userinput>
-Your default shell is: zsh -&gt; /usr/local/bin/zsh
-Enter your default HOME partition: [/home]:
-Copy dotfiles from: /usr/share/skel no [/usr/share/skel]:
-Send message from file: /etc/adduser.message no
-[/etc/adduser.message]: <userinput>no</userinput>
-Do not send message
-Use passwords (y/n) [y]: <userinput>y</userinput>
-
-Write your changes to /etc/adduser.conf? (y/n) [n]: <userinput>y</userinput>
-
-Ok, let's go.
-Don't worry about mistakes. I will give you the chance later to correct any input.
-Enter username [a-z0-9_-]: <userinput>jru</userinput>
-Enter full name []: <userinput>J. Random User</userinput>
-Enter shell csh date no sh tcsh zsh [zsh]:
-Enter home directory (full path) [/home/jru]:
-Uid [1001]:
-Enter login class: default []:
-Login group jru [jru]:
-Login group is ``jru''. Invite jru into other groups: guest no
-[no]: <userinput>wheel</userinput>
-Enter password []:
-Enter password again []:
-
-Name: jru
-Password: ****
-Fullname: J. Random User
-Uid: 1001
-Gid: 1001 (jru)
-Class:
-Groups: jru wheel
-HOME: /home/jru
-Shell: /usr/local/bin/zsh
-OK? (y/n) [y]: <userinput>y</userinput>
-Added user ``jru''
-Copy files from /usr/share/skel to /home/jru
-Add another user? (y/n) [y]: <userinput>n</userinput>
-Goodbye!
-&prompt.root;</screen>
- </example>
-
- <para>In summary, we changed the default shell to
- <application>zsh</application> (an additional shell found in
- the Ports Collection), and turned off the sending of a welcome mail to
- added users. We then saved the configuration,
- created an account for <username>jru</username>, and made
- sure <username>jru</username> is in <username>wheel</username>
- group (so that she may assume the role of
- <username>root</username> with the &man.su.1;
- command.)</para>
-
<note>
<para>The password you type in is not echoed, nor are asterisks
displayed. Make sure that you do not mistype the password.
@@ -485,7 +406,7 @@ Goodbye!
</note>
<example>
- <title>Adding a user on &os;&nbsp;5.X</title>
+ <title>Adding a user on &os;</title>
<screen>&prompt.root; <userinput>adduser</userinput>
Username: <userinput>jru</userinput>
@@ -619,7 +540,7 @@ Removing files belonging to jru from /var/tmp/vi.recover: done.
information.</para>
<note>
- <para>In &os;&nbsp;5.X, you will be asked for your password
+ <para>You will be asked for your password
after exiting the editor if you are not the superuser.</para>
</note>