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. ...
- 05-29-2011 #1Just 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.
- 05-30-2011 #2Just Joined!
- Join Date
- May 2011
- Location
- Malaysia
- Posts
- 39
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
- 06-01-2011 #3Just 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
- 06-01-2011 #4Just 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


Reply With Quote
