|
2
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<title>vchattr - Changes the attributes on one or more virtual users</title>
|
|
|
5 |
<link rev="made" href="mailto:Gentoo@lorien.untroubled.org" />
|
|
|
6 |
</head>
|
|
0
|
7 |
|
|
2
|
8 |
<body style="background-color: white">
|
|
0
|
9 |
|
|
2
|
10 |
<p><a name="__index__"></a></p>
|
|
0
|
11 |
<!-- INDEX BEGIN -->
|
|
|
12 |
<!--
|
|
|
13 |
|
|
2
|
14 |
<ul>
|
|
0
|
15 |
|
|
2
|
16 |
<li><a href="#name">NAME</a></li>
|
|
|
17 |
<li><a href="#synopsis">SYNOPSIS</a></li>
|
|
|
18 |
<li><a href="#description">DESCRIPTION</a></li>
|
|
|
19 |
<li><a href="#options">OPTIONS</a></li>
|
|
|
20 |
<li><a href="#return_value">RETURN VALUE</a></li>
|
|
|
21 |
<li><a href="#see_also">SEE ALSO</a></li>
|
|
|
22 |
<li><a href="#notes">NOTES</a></li>
|
|
|
23 |
<li><a href="#authors">AUTHORS</a></li>
|
|
|
24 |
</ul>
|
|
0
|
25 |
-->
|
|
|
26 |
<!-- INDEX END -->
|
|
|
27 |
|
|
2
|
28 |
<p>
|
|
|
29 |
</p>
|
|
|
30 |
<h1><a name="name">NAME</a></h1>
|
|
|
31 |
<p>vchattr - Changes the attributes on one or more virtual users</p>
|
|
|
32 |
<p>
|
|
|
33 |
</p>
|
|
|
34 |
<hr />
|
|
|
35 |
<h1><a name="synopsis">SYNOPSIS</a></h1>
|
|
|
36 |
<p><strong>vchattr</strong>
|
|
|
37 |
[<strong>-c</strong>]
|
|
|
38 |
[<strong>--msgcount</strong>]
|
|
|
39 |
[<strong>-e</strong>]
|
|
|
40 |
[<strong>--expiry</strong>]
|
|
|
41 |
[<strong>-E</strong>]
|
|
|
42 |
[<strong>--enabled</strong>]
|
|
|
43 |
[<strong>-p</strong>]
|
|
|
44 |
[<strong>--personal</strong>]
|
|
|
45 |
[<strong>-q</strong>]
|
|
|
46 |
[<strong>--softquota</strong>]
|
|
|
47 |
[<strong>-Q</strong>]
|
|
|
48 |
[<strong>--hardquota</strong>]
|
|
|
49 |
[<strong>--quiet</strong>]
|
|
|
50 |
[<strong>-z</strong>]
|
|
|
51 |
[<strong>--msgsize</strong>]
|
|
|
52 |
<em>VALUE USERNAME ...</em></p>
|
|
|
53 |
<p>
|
|
|
54 |
</p>
|
|
|
55 |
<hr />
|
|
|
56 |
<h1><a name="description">DESCRIPTION</a></h1>
|
|
|
57 |
<p>This program changes the value of one attribute on a set of virtual
|
|
|
58 |
users. It cannot be used to change the user's password or forwarding
|
|
|
59 |
addresses -- use <strong>vpasswd</strong> and <strong>vchforwards</strong> to accomplish those
|
|
|
60 |
tasks.</p>
|
|
|
61 |
<p>
|
|
|
62 |
</p>
|
|
|
63 |
<hr />
|
|
|
64 |
<h1><a name="options">OPTIONS</a></h1>
|
|
|
65 |
<dl>
|
|
|
66 |
<dt><strong><a name="item__2dc_2c__2d_2dmsgcount"><strong>-c</strong>, <strong>--msgcount</strong></a></strong><br />
|
|
|
67 |
</dt>
|
|
|
68 |
<dd>
|
|
0
|
69 |
Set the user's message count limit.
|
|
2
|
70 |
</dd>
|
|
|
71 |
<p></p>
|
|
|
72 |
<dt><strong><a name="item__2de_2c__2d_2dexpiry"><strong>-e</strong>, <strong>--expiry</strong></a></strong><br />
|
|
|
73 |
</dt>
|
|
|
74 |
<dd>
|
|
0
|
75 |
Set the account's expiry time (in seconds).
|
|
2
|
76 |
</dd>
|
|
|
77 |
<p></p>
|
|
|
78 |
<dt><strong><a name="item__2de_2c__2d_2denabled"><strong>-E</strong>, <strong>--enabled</strong></a></strong><br />
|
|
|
79 |
</dt>
|
|
|
80 |
<dd>
|
|
|
81 |
Enable (<code>1</code>) or disable (<code>0</code>) delivery to the virtual user's mailbox directory. This does not delete the mailbox or any of the messages contained in or, nor prevent the user from logging in.
|
|
|
82 |
</dd>
|
|
|
83 |
<p></p>
|
|
|
84 |
<dt><strong><a name="item__2dp_2c__2d_2dpersonal"><strong>-p</strong>, <strong>--personal</strong></a></strong><br />
|
|
|
85 |
</dt>
|
|
|
86 |
<dd>
|
|
0
|
87 |
Set the user's personal information.
|
|
2
|
88 |
</dd>
|
|
|
89 |
<p></p>
|
|
|
90 |
<dt><strong><a name="item__2dq_2c__2d_2dsoftquota"><strong>-q</strong>, <strong>--softquota</strong></a></strong><br />
|
|
|
91 |
</dt>
|
|
|
92 |
<dd>
|
|
|
93 |
Set the user's soft quota (in bytes).
|
|
|
94 |
</dd>
|
|
|
95 |
<p></p>
|
|
|
96 |
<dt><strong><a name="item__2dq_2c__2d_2dhardquota"><strong>-Q</strong>, <strong>--hardquota</strong></a></strong><br />
|
|
|
97 |
</dt>
|
|
|
98 |
<dd>
|
|
|
99 |
Set the user's hard quota (in bytes).
|
|
|
100 |
</dd>
|
|
|
101 |
<p></p>
|
|
|
102 |
<dt><strong><a name="item__2d_2dquiet"><strong>--quiet</strong></a></strong><br />
|
|
|
103 |
</dt>
|
|
|
104 |
<dd>
|
|
|
105 |
Suppress all status messages.
|
|
|
106 |
</dd>
|
|
|
107 |
<p></p>
|
|
|
108 |
<dt><strong><a name="item__2dz_2c__2d_2dmsgsize"><strong>-z</strong>, <strong>--msgsize</strong></a></strong><br />
|
|
|
109 |
</dt>
|
|
|
110 |
<dd>
|
|
|
111 |
Set the user's message size limit (in bytes).
|
|
|
112 |
</dd>
|
|
|
113 |
<p></p></dl>
|
|
|
114 |
<p>
|
|
|
115 |
</p>
|
|
|
116 |
<hr />
|
|
|
117 |
<h1><a name="return_value">RETURN VALUE</a></h1>
|
|
|
118 |
<p>0 if the given attribute was successfully changed for all users,
|
|
|
119 |
non-zero otherwise.
|
|
|
120 |
If any of the steps fail, a diagnostic message is printed.</p>
|
|
|
121 |
<p>
|
|
|
122 |
</p>
|
|
|
123 |
<hr />
|
|
|
124 |
<h1><a name="see_also">SEE ALSO</a></h1>
|
|
|
125 |
<p><code>vadduser(1)</code></p>
|
|
|
126 |
<p>
|
|
|
127 |
</p>
|
|
|
128 |
<hr />
|
|
|
129 |
<h1><a name="notes">NOTES</a></h1>
|
|
|
130 |
<p>This program expects the environment variable <code>HOME</code> to be set, and
|
|
|
131 |
executes a change directory to the contents of it before starting. It
|
|
|
132 |
is also required that you change user to the domain owner before using
|
|
|
133 |
these utilities.</p>
|
|
|
134 |
<p>
|
|
|
135 |
</p>
|
|
|
136 |
<hr />
|
|
|
137 |
<h1><a name="authors">AUTHORS</a></h1>
|
|
|
138 |
<p>Bruce Guenter <<a href="mailto:bruceg@em.ca">bruceg@em.ca</a>></p>
|
|
0
|
139 |
|
|
2
|
140 |
</body>
|
|
0
|
141 |
|
|
2
|
142 |
</html>
|