• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

SUN login problem

Hi

I have a problem login to my SUN server. Whenever, I login, i get the following message:
login: login account failure: Permision denied

I am sure that my password is correct. Resetting my password doesn't work either from root.

I'm using Solaris 7.

Thanks

0
joekwchen
Asked:
joekwchen
  • 4
  • 2
  • 2
  • +7
1 Solution
 
kawinCommented:
Hi,
   Are you problem occur on all user or only your user?

   Are you try "admintool" to check your account setting?

   Are you check permission of home directory of your account?

   If problem occur on your user please check content on your login in file /etc/shadow and /etc/password. It have something extra?

Kawin.
0
 
yuzhCommented:
Hi  joekwchen,

     Are you runing NIS+? or the Server configured as a stand alone system.

     please check the permission of you home whatever Kawin tell you
to check.
0
 
joekwchenAuthor Commented:
Hi all,

The problem only occur on some user. As i don't have admintool as i down have openwin, how do i check. From what i see, the passwd and shadow is OK.

it seems that i have to remove the ID and recreate back then only i can login.

PLs advise. Izit something to do with pam configuration.

tqvm.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
paulqnaCommented:
Try to update security databases with "pwconv"... (can be made undone with "pwunconv".
0
 
k.kidambiCommented:
Do you have any kind of security (like kerberos / pam etc) enabled on this box. what you can do is comment out the entries of the loginId's who has the problem and copy the same ID and then set a new password. As told by Kawin if you have any extra charecters or blank spaces in /etc/passwd or /etc/shadow files can cause the problem or if you are using security stuff you need to check your security configurations.

Post your comments here.

Kidambi
0
 
akehCommented:
You can run "pwck" to check that the /etc/passwd is correct.
0
 
joekwchenAuthor Commented:
Have tried pwck,pwconv but still the same. I don't use kerberos. I think i used pam (izit by default) but what is the statement to lookout for and where is the file?

Many Thanks
0
 
paulqnaCommented:
Does the user has read/execute permissions on his home directory?
0
 
jonkeCommented:
Does this happen if you are logged into the box already and you su - to the user, or only when logging in remotely?

0
 
msnrCommented:
IF you have nis settup,
ask the user to login with oldpassword.

cheque the slave name in nis sever, if you are not using broadcast mode.

0
 
joekwchenAuthor Commented:
Hi,
msnr, I don't have nis installed

jonke, I did not use su to the user, it is just a simple logon (either thru console or telnet).

paulgna, yes the user has read/write permission.

Thanks a lot.

Hope to here more opinion.
0
 
jonkeCommented:
But do you get the error when you log in as root and su - to the user? DO you get the same error?
0
 
khaled022498Commented:
- Check that you have created a defualt directory for this user

- Check Premissions on your home directory to be (+r +w +x)

- Check that you have permission on execute your shell.
0
 
ahoffmannCommented:
listening ..
0
 
joekwchenAuthor Commented:
Hi all,

Regarding the problem above, it seems that when i type the following command, the user can login again.
usermod -f 0 -l xxx

I suspect when the account is created, the user never logon for a period of time. What does -f 0 means? Does it means by setting to zero, the account will never get inactive?

tqvm.
0
 
msnrCommented:
f0 means, account will not be deactivated...
its active forever even he doesnt change password.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
  • +7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now