06-07-2012 12: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.
06-08-2012 10:38 AM
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.
09-17-2012 08: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:
vcsa:x:69:69:virtual console memory owner:/dev:/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
nslcd:x:65:55:LDAP Client User:/:/sbin/nologin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company