Operating System - Linux
1828844 Members
2651 Online
109985 Solutions
New Discussion

repeat require login password

 
Jack Fan
Regular Advisor

repeat require login password

After I change server name from file /etc/sysconfig/network, then this server repeat require login name and password, even this login name and password is correct.

Are there somewhere needed modification if I want to change this server name?

Regards,

Jack Fan
7 REPLIES 7
Fred Ruffet
Honored Contributor

Re: repeat require login password

Changing init conf won't help until you re-run init scripts (service network stop ; service network start). This will be done on next startup.

Changing name for current run will, you will need to use hostname command (man hostname for options)

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
HGN
Honored Contributor

Re: repeat require login password

Hi

After you change the name on the /etc/sysconfig/network do a /etc/init.d/network restart,also you can do a ps -ef|grep inetd and do a kill -HUP on the process id.

Rgds

Gopi
Jack Fan
Regular Advisor

Re: repeat require login password

I have restart this server, but problem still there....

1. telnet from client and login, OK
2. logon from KDE, failed...it repeat request user name and password...
Jan Sladky
Trusted Contributor

Re: repeat require login password

hi Jack,

try edit file .Xauthority in $HOME, there still should be the old HOSTNAME ...

post result, br
GSM, Intelligent Networks, UNIX
Fred Ruffet
Honored Contributor

Re: repeat require login password

As Jan says, this is an X/KDE issue. You may have old hostname still mentionned in a config file.
How do you connect ? Directly to server with gdm/kdm/xdm, or with XDMCP (remote) ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Jack Fan
Regular Advisor

Re: repeat require login password

Hi Fred,

I direct connect from server..

Jack
Jan Sladky
Trusted Contributor

Re: repeat require login password

hi Jack,

you can also try to find all files containing old hostname

find / -exec gprep -i old_hostname {} \;

try them, change them, it should be ok after

br Jan
GSM, Intelligent Networks, UNIX