How can I lock or unlock a user account?

From Scalix Wiki
Jump to: navigation, search

Scalix Wiki -> FAQ -> How can I lock or unlock a user account?

Use the command ommodu with the –K switch to lock an account, the –k (lower case) to unlock.

  [root@nessie root]# ommodu -n "John A. Smith/nessie" -o "John A. Smith/nessie" -K
  ommodu: The user was modified successfully


  [root@nessie root]# omshowu -n "John A. Smith"
  Authentication ID: jsmith
  User Name : John A. Smith /CN=Smith, John A
  MailNode : nessie
  Internet Address : jsmith@test.net
  System Login : 64534
  Password : unset
  External authentication only: NO
  Admin Capabilities : NO
  Mailbox Admin Capabilities : NO
  Language : C
  Virtual Vault : Enabled (default)
  Mail Account: Locked
  Last Signon : Never.
  Receipt of mail : ENABLED
  Service level : 0
  Excluded from Tidying : NO


  [root@nessie root]# ommodu -n "John A. Smith/nessie" -o "John A. Smith/nessie" -k
  ommodu: The user was modified successfully


  [root@nessie root]# omshowu -n "John A. Smith"
  Authentication ID: jsmith
  User Name : John A. Smith /CN=Smith, John A
  MailNode : nessie
  Internet Address : jsmith@test.net
  System Login : 64534
  Password : unset
  External authentication only: NO
  Admin Capabilities : NO
  Mailbox Admin Capabilities : NO
  Language : C
  Virtual Vault : Enabled (default)
  Mail Account: Unlocked
  Last Signon : Never.
  Receipt of mail : ENABLED
  Service level : 0
  Excluded from Tidying : NO