1 |
On Fri, Oct 31, 2003 at 05:01:17PM -0500 or thereabouts, Kurt Lieber wrote: |
2 |
> Ideally, there is one simple way of *completely* locking out a user from a |
3 |
> machine, short of deleting their entry in /etc/(passwd|shadow) |
4 |
|
5 |
As was just pointed out to me on irc, expiring the account, as opposed to |
6 |
locking the password, will do what I want. So: |
7 |
|
8 |
usermod -e 0000-00-00 <user> |
9 |
|
10 |
I still think SSH should find a way to check/respect the ! character in |
11 |
passwd fields, but for now, I can at least use this as a workaround. |
12 |
|
13 |
--kurt |