[Pkg-shadow-devel] improvement of chfn/chsh manpages
Alexander Gattin
xrgtn at yandex.ru
Sun Oct 2 18:41:19 UTC 2005
Hi, Tomasz!
I have fixed a typo in chsh.1.xml
and added chsh(1) to SEE ALSO section of chfn.1.xml
(diff attached).
Also I have a question -- how do you have chfn/chsh
operating in PLD for ordinary users -- do they ask for
users' password or not?
In Debian, chsh and chfn of 4.0.3 used to _ask_
ordinary users for password:
> ramazan at cherokee:~/shadow/svn/pkg-shadow/trunk$ chsh -s /bin/zsh
> Password:
with new code they won't.
We should decide whether to keep old behavior for
Debian's passwd by patching or maybe perform
pam-ification on chfn/chsh?
--
WBR,
xrgtn
-------------- next part --------------
Index: man//chfn.1.xml
===================================================================
RCS file: /cvsroot/shadow/man/chfn.1.xml,v
retrieving revision 1.16
diff -u -r1.16 chfn.1.xml
--- man//chfn.1.xml 29 Sep 2005 20:55:19 -0000 1.16
+++ man//chfn.1.xml 2 Oct 2005 18:28:01 -0000
@@ -79,6 +79,9 @@
<title>SEE ALSO</title>
<para>
<citerefentry>
+ <refentrytitle>chsh</refentrytitle><manvolnum>1</manvolnum>
+ </citerefentry>,
+ <citerefentry>
<refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
<citerefentry>
Index: man//chsh.1.xml
===================================================================
RCS file: /cvsroot/shadow/man/chsh.1.xml,v
retrieving revision 1.17
diff -u -r1.17 chsh.1.xml
--- man//chsh.1.xml 1 Oct 2005 15:01:45 -0000 1.17
+++ man//chsh.1.xml 2 Oct 2005 18:28:01 -0000
@@ -38,7 +38,7 @@
account with a restricted login shell may not change her login shell.
For this reason, placing <filename>/bin/rsh</filename> in
<filename>/etc/shells</filename> is discouraged since accidentally
- changing to a restricted shell would prevent the user from every
+ changing to a restricted shell would prevent the user from ever
changing her login shell back to its original value.
</para>
</refsect1>
More information about the Pkg-shadow-devel
mailing list