Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

CentOS Question: User Login Failure

This thread has been viewed 0 times
  • 1.  CentOS Question: User Login Failure

    Posted Jun 07, 2012 03:25 PM

    I am trying to upgrade our AMP but I am unable to login to the CLI that AMP is running on with the only account that has the necessary privileges to initiate a file transfer into the OS. I get an access denied message when I try logging into that account. I have logged in as the root user and changed the password, verified that the user is not locked out and verified that its' permissions were not changed. I can switch user in the CLI (su "user") when I am logged in as root and get to the locked account but I not sure what I should do to fix the user so it can be used again. Also, root or anyother users do not have permission to view anything in /etc/passwd

     

    I would appreciate any help or suggestions.   



  • 2.  RE: CentOS Question: User Login Failure

    EMPLOYEE
    Posted Jun 07, 2012 03:45 PM

    I think you probably want to add a user with sudoer privileges.  This article in our knowledgebase describes how to do that.

     



  • 3.  RE: CentOS Question: User Login Failure

    Posted Jun 08, 2012 01:38 PM

    Thanks for the comment back,

     

    So I can add a new user with sudoer privlages no problem. Its jsut that this one user account is "disabled" or at least appears to be. I have changed its password, verified its privlages and been able "switch user" into it when I am logged in as root. Its just I can't log into through the cli or when I try to ssh into AMP.



  • 4.  RE: CentOS Question: User Login Failure

    EMPLOYEE
    Posted Sep 17, 2012 11:10 PM

    It could be that the user doesn't exist in /etc/passwd.  Perhaps try deleting that user entirely and then re-add?  Just make sure it's not one of the default users that's installed by AMP.  Here's what a default /etc/passwd should look like:

     

    root:x:0:0:root:/root:/bin/bash
    bin:x:1:1:bin:/bin:/sbin/nologin
    daemon:x:2:2:daemon:/sbin:/sbin/nologin
    adm:x:3:4:adm:/var/adm:/sbin/nologin
    lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
    sync:x:5:0:sync:/sbin:/bin/sync
    shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
    halt:x:7:0:halt:/sbin:/sbin/halt
    mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
    uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
    operator:x:11:0:operator:/root:/sbin/nologin
    games:x:12:100:games:/usr/games:/sbin/nologin
    gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
    ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
    nobody:x:99:99:Nobody:/:/sbin/nologin
    vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
    nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
    rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologin
    saslauth:x:499:76:"Saslauthd user":/var/empty/saslauth:/sbin/nologin
    rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
    nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
    postfix:x:89:89::/var/spool/postfix:/sbin/nologin
    ntp:x:38:38::/etc/ntp:/sbin/nologin
    sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
    nslcd:x:65:55:LDAP Client User:/:/sbin/nologin
    tcpdump:x:72:72::/:/sbin/nologin
    apache:x:48:48:Apache:/var/www:/bin/bash
    postgres:x:498:498:PostgreSQL Server:/home/postgres:/bin/bash
    radiusd:x:95:95:radiusd user:/:/bin/false
    pound:x:497:497:Pound user:/var/lib/pound:/sbin/nologin
    visualrf:x:496:496::/home/visualrf:/bin/bash

     

     

     



  • 5.  RE: CentOS Question: User Login Failure

    Posted Sep 19, 2012 09:20 PM

    Gee, I wish I had smilies in my passwd file! ;)