Difference between revisions of "How can I lock or unlock a user account?"

From Scalix Wiki
Jump to: navigation, search
 
m (added naviagtion to top of page)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[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.
 
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
 
   [root@nessie root]# ommodu -n "John A. Smith/nessie" -o "John A. Smith/nessie" -K
 
 
   ommodu: The user was modified successfully
 
   ommodu: The user was modified successfully
  
  
 
   [root@nessie root]# omshowu -n "John A. Smith"
 
   [root@nessie root]# omshowu -n "John A. Smith"
 
 
   Authentication ID: jsmith
 
   Authentication ID: jsmith
 
 
   User Name : John A. Smith /CN=Smith, John A
 
   User Name : John A. Smith /CN=Smith, John A
 
 
   MailNode : nessie
 
   MailNode : nessie
 
 
   Internet Address : jsmith@test.net
 
   Internet Address : jsmith@test.net
 
 
   System Login : 64534
 
   System Login : 64534
 
 
   Password : unset
 
   Password : unset
 
 
   External authentication only: NO
 
   External authentication only: NO
 
 
   Admin Capabilities : NO
 
   Admin Capabilities : NO
 
 
   Mailbox Admin Capabilities : NO
 
   Mailbox Admin Capabilities : NO
 
 
   Language : C
 
   Language : C
 
 
   Virtual Vault : Enabled (default)
 
   Virtual Vault : Enabled (default)
 
 
   Mail Account: Locked
 
   Mail Account: Locked
 
 
   Last Signon : Never.
 
   Last Signon : Never.
 
 
   Receipt of mail : ENABLED
 
   Receipt of mail : ENABLED
 
 
   Service level : 0
 
   Service level : 0
 
 
   Excluded from Tidying : NO
 
   Excluded from Tidying : NO
  
  
 
   [root@nessie root]# ommodu -n "John A. Smith/nessie" -o "John A. Smith/nessie" -k
 
   [root@nessie root]# ommodu -n "John A. Smith/nessie" -o "John A. Smith/nessie" -k
 
+
  ommodu: The user was modified successfully
ommodu: The user was modified successfully
+
  
 
   
 
   
 
   [root@nessie root]# omshowu -n "John A. Smith"
 
   [root@nessie root]# omshowu -n "John A. Smith"
 
 
   Authentication ID: jsmith
 
   Authentication ID: jsmith
 
 
   User Name : John A. Smith /CN=Smith, John A
 
   User Name : John A. Smith /CN=Smith, John A
 
 
   MailNode : nessie
 
   MailNode : nessie
 
 
   Internet Address : jsmith@test.net
 
   Internet Address : jsmith@test.net
 
 
   System Login : 64534
 
   System Login : 64534
 
 
   Password : unset
 
   Password : unset
 
 
   External authentication only: NO
 
   External authentication only: NO
 
 
   Admin Capabilities : NO
 
   Admin Capabilities : NO
 
 
   Mailbox Admin Capabilities : NO
 
   Mailbox Admin Capabilities : NO
 
 
   Language : C
 
   Language : C
 
 
   Virtual Vault : Enabled (default)
 
   Virtual Vault : Enabled (default)
 
 
   Mail Account: Unlocked
 
   Mail Account: Unlocked
 
 
   Last Signon : Never.
 
   Last Signon : Never.
 
 
   Receipt of mail : ENABLED
 
   Receipt of mail : ENABLED
 
 
   Service level : 0
 
   Service level : 0
 
 
   Excluded from Tidying : NO
 
   Excluded from Tidying : NO

Latest revision as of 14:24, 30 June 2010

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