mistake in user management
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
John Kim |
Bug Description
in https:/
the documatation cited
To disable the root account, use the following passwd syntax:
sudo passwd -l root
It is wrong when I find passwd's man page
-l, --lock
Lock the password of the named account. This option disables a password by changing it to a value which matches no possible encrypted value (it adds a ´!´ at the beginning of the password).
Note that this does not disable the account. The user may still be able to login using another authentication token (e.g. an SSH key). To disable the account, administrators should use
usermod --expiredate 1 (this set the account's expire date to Jan 2, 1970).
Related branches
- Doug Smythies: Approve
-
Diff: 22 lines (+7/-1)1 file modifiedserverguide/C/security.xml (+7/-1)
no longer affects: | ubuntu-docs (Ubuntu) |
description: | updated |
Changed in serverguide: | |
status: | New → Confirmed |
assignee: | nobody → John Kim (thinkndev) |
Changed in serverguide: | |
status: | Confirmed → Fix Committed |
Changed in serverguide: | |
status: | Fix Committed → Fix Released |
Changed in serverguide: | |
status: | Fix Committed → Fix Released |
This one has been committed, but has not been released yet. It will be released on the 13.10 release date.