Find the answer to your Linux question:
Results 1 to 4 of 4
hi there, am new to linux. i have installed centos 5.3 and rhel5 on vmware. CentOS in my server and Rhel5 is the clinet. i can ping both the systems. ...
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    12

    Only root can login but not anyother user

    hi there,
    am new to linux. i have installed centos 5.3 and rhel5 on vmware. CentOS in my server and Rhel5 is the clinet. i can ping both the systems. i have created a group n added few users on centos and i want to login from rhel5 using those user ids. but whenever i try that i get a message login incorrect. tried to reset the password, but still nothing works, tried to check the password details by using tail -5 /etc/gshadow. lets say deep is the user, so the result is deep: !::, i think it shd show me the encripted format of the password isn't it, am no sure. so atlast i cannot get any user i have created to login from rhel5, ofcourse they can login on centos system. i mean to say users cannot login from client system.

    centos system details: ip:192.168.0.1, dns:192.168.0.1,gateway:192.168.0.254
    dns search path: galaxygroup.com,hostname: station1.galaxygroup.com

    Rhel5 system details: ip:192.168.0.2,dns:192.168.0.1,gateway:192.168.0.2 54
    dns search path: galaxygroup.com, hostname:station2.galaxygroup.com

    Am sorry if its a silly question, i just started learning linux. some1 Kindly help me out plz.

  2. #2
    Just Joined!
    Join Date
    May 2011
    Location
    Malaysia
    Posts
    39
    Quote Originally Posted by dsr_deep View Post
    hi there,
    am new to linux. i have installed centos 5.3 and rhel5 on vmware. CentOS in my server and Rhel5 is the clinet. i can ping both the systems. i have created a group n added few users on centos and i want to login from rhel5 using those user ids. but whenever i try that i get a message login incorrect. tried to reset the password, but still nothing works, tried to check the password details by using tail -5 /etc/gshadow. lets say deep is the user, so the result is deep: !::, i think it shd show me the encripted format of the password isn't it, am no sure. so atlast i cannot get any user i have created to login from rhel5, ofcourse they can login on centos system. i mean to say users cannot login from client system.

    centos system details: ip:192.168.0.1, dns:192.168.0.1,gateway:192.168.0.254
    dns search path: galaxygroup.com,hostname: station1.galaxygroup.com

    Rhel5 system details: ip:192.168.0.2,dns:192.168.0.1,gateway:192.168.0.2 54
    dns search path: galaxygroup.com, hostname:station2.galaxygroup.com

    Am sorry if its a silly question, i just started learning linux. some1 Kindly help me out plz.
    Hi Deep.

    Not sure if I understood your problem but let's start with the basic stuffs first.
    On the server that does not allow you to login as deep, can you do the following and post back:

    getent passwd |grep deep
    getent shadow |grep deep

    Just in case this is an iptables thingy, can you post this

    iptables -L -nv |grep ssh

  3. #3
    Just Joined!
    Join Date
    May 2011
    Posts
    12
    hi ya, thanks for ur help. basically i am very much aware of windows environment but not linux, i started learning linux administration recently, it was my mistake i haven't installed NIS till now, now i have installed it and all the users can login. Once again thanks for ur help

  4. #4
    Just Joined!
    Join Date
    May 2011
    Posts
    12
    sorry to bother u guy again.now i have a new problem, users can login as superuser, but let say if i try to get a user login after bootup this is the error message."User's $HOME/.dmrc file is being ignored. This prevents the default sessin and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users."

    i did Boot into recovery mode from GRUB menu and at the prompt, let say log in name is john. chmod 644 /home/john/.dmrc. but when ever i try this i get another error saying cannot access /home/john/.dmrc. i can see the dir john in /home dir but cannot access it as root. kindly help plz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...