Rene Joergensen wrote:
> COZ <dffgd@dgkjhgf.com> wrote:
>
>
>>I windows kan man disable en bruger, således at denne ikke kan logge på
>>samt modtage mails. Kan man det samme i linux (debian)?
>>
>>Ellers skal denne jo oprettes igen når den skal bruges...
>
>
> $ man passwd
>
> Account maintenance
> User accounts may be locked and unlocked with the -l and -u
> flags. The -l option disables an account by changing the
> password to a value which matches no possible encrypted value.
> The -u option re-enables an account by changing the password
> back to its previous value.
>
> The account status may be viewed with the -S option. The sta-
> tus information consists of 7 fields. The first field is the
> user's login name. The second field indicates if the user
> account is locked (L), has no password (NP), or has a usable
> password (P). The third field gives the date of the last
> password change. The next four fields are the minimum age,
> maximum age, warning period, and inactivity period for the
> password. These ages are expressed in days. See Password
> expiry information above for a discussion of these fields.
>
Tak for svaret
Jeg var ikke klar over at det var passwd man skulle bruge...
/C