Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

slackware:nx [2006/03/18 22:22] – created alienslackware:nx [2010/02/25 22:30] (current) – More tips for a locked 'nx' account alien
Line 25: Line 25:
       - Click the Key button on the General Tab       - Click the Key button on the General Tab
       - Ensure that the key matches the key found in /var/lib/nxserver/nxhome/.ssh/authorized_keys on the server       - Ensure that the key matches the key found in /var/lib/nxserver/nxhome/.ssh/authorized_keys on the server
-  - This issue can also be caused by a locked user account for ''nx''+  - This issue can also be caused by a locked user account for ''nx''\\ You will notice a locked account by examining the ''/var/log/messages'' file for lines like these:<code> 
 +Feb 25 23:15:48 teepee last message repeated 2 times 
 +Feb 25 23:18:17 teepee sshd[11597]: User nx not allowed because account is locked 
 +Feb 25 23:18:17 teepee sshd[11597]: Failed none for invalid user nx from 192.168.0.111 port 49337 ssh2         
 +Feb 25 23:18:19 teepee sshd[11597]: Failed password for invalid user nx from 192.168.0.111 port 49337 ssh2 
 +</code>
       - Check to see if the nx account is locked:\\ ''passwd -S nx''       - Check to see if the nx account is locked:\\ ''passwd -S nx''
-      - If the password is locked unlock it with:\\ ''passwd -u nx''+      - If the password is locked, you can unlock it with:\\ ''passwd -u nx''\\ If that fails because of this error:<code> 
 +passwd: unlocking the password would result in a passwordless account. 
 +You should set a password with usermod -p to unlock the password of this account. 
 +</code> then you can assign a random password (it will never be used) to user "''nx''" using this command:\\ ''usermod -p <randompassword> nx''\\ and then unlock the account. 
  
 Linux Terminal Services using NX and FreeNX ()
SlackDocs