diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-10 15:53:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-10 15:53:32 +0000 |
commit | e6aea2c186d9eef5275040b69b69d4764a29f5b8 (patch) | |
tree | 4f5a815157f2ffb0d4196ef9193edf7201538919 /share/man/man5/login.conf.5 | |
parent | c718bcb3bd69dcc25b0f8b5c0b636ea704963c21 (diff) |
Only expand a tilde for strings like "~", "~/..", "~user" and "~user/".
For the PATH, only expand a tilde that is at the beginning of the path name.
This is similar to the behavior prior to my commit here yesterday.
Diffstat (limited to 'share/man/man5/login.conf.5')
-rw-r--r-- | share/man/man5/login.conf.5 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man5/login.conf.5 b/share/man/man5/login.conf.5 index 9acd4edc336..8a73a192cab 100644 --- a/share/man/man5/login.conf.5 +++ b/share/man/man5/login.conf.5 @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: login.conf.5,v 1.34 2004/08/09 21:15:09 millert Exp $ +.\" $OpenBSD: login.conf.5,v 1.35 2004/08/10 15:53:31 millert Exp $ .\" BSDI $From: login.conf.5,v 2.20 2000/06/26 14:50:38 prb Exp $ .\" .Dd June 18, 2001 @@ -323,6 +323,10 @@ See .Xr umask 2 . .\" .Pp +.It vmemoryuse Ta size Ta "" Ta +Maximum virtual memoryuse size limit. +.\" +.Pp .It welcome Ta file Ta Pa /etc/motd Ta File containing welcome message. .El @@ -363,7 +367,10 @@ If no value is specified, the is optional. A .Li ~ -in the path name is expanded to the user's home directory. +in the path name is expanded to the user's home directory +if it is at the end of a string or is followed by a slash +.Pq Sq / +or the user's login name. A .Li $ in the path name is expanded to the user's login name. @@ -387,7 +394,10 @@ Any other number is treated as decimal. .It path A space-separated list of path names. Login name and directory are substituted as for -.Em envlist. +.Em envlist . +Additionally, a +.Li ~ +is only expanded at the beginning of a path name. .\" .It program A path name to program. |