Home directory different console vs. telnet


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Home directory different console vs. telnet
# 1  
Old 05-17-2005
Home directory different console vs. telnet

Hello,

One of the customers I suppport has a interesting problem I've never seen. I've searched the forums and found nothing relevant, so I'm hoping somebody can point me in the right direction.

He is running Redhat Enterprise Linux 3 on a Dell PC. He also uses Sun workstations. He has a home directory on the network which he gets when logging on to a Sun through the automounter. When he logs into his Linux machine he is supposed to get the local home directory in /export/home1.

The strange thing is - if he telnets into the linux box, or if I go on there as root and su - to his userid, he gets the local home directory as he should. But if he logs on at the console with Gnome he gets the automounted network home directory. He can cd into his local homedir just fine, but his home directory is set to the network one.

Does anybody have an idea how this could be happening? My first thought is something with login scripts or automounter/nfs setup. But those should affect telnet sessions as well as console logins if they were wrong. I checked through the .gconf directory but didn't find anything; however I'm not very familiar with gnome so I could have easily missed something there.

Thanks in advance for any help you can give.

Ralph
# 2  
Old 05-23-2005
We found a solution to this that worked on a test machine. I'll post it here in case anybody finds this ticket while searching on a similar problem in the future.

We copied the entire local home directory for the user having the problem to the test machine. After doing that we could re-create the problem on the test box. We could log in as him and get the directory mappings screwed up as described above. We proceeded to delete the following files/dirs from his home directory:

.gconf
.gconfd
.gnome
.gnome2
.gnome2_private
.gnome-desktop
.gtkrc-1.2-gnome2
.nautilus
.metacity

After that we logged out and back in again and the home directories mapped correctly. So apparently somehow his gnome config was screwed up in a way that made his home dir mapping incorrect. I have no idea how that happened, but deleting these objects and letting gnome re-create them on the next login fixed it.

Last edited by rhfrommn; 05-23-2005 at 12:18 PM.. Reason: fixed list of deleted objects
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies

2. UNIX for Dummies Questions & Answers

Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies

3. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

4. AIX

Not able to login as normal users through console /telnet/ssh

Hi , I am having problem,users are not able to login through ssh or telnet.Only we can login as root user in console. Restarted telnet and sshd ,no luck. Any ideas. AIX -- 5.2 ML 07 Thanks, MNK (1 Reply)
Discussion started by: mnkfre
1 Replies

5. AIX

cant telnet to aix 5.2 and not even access through serial console

I have installed aix 5.2 on aix box through serial console connected to COM 1 . I even get a login prompt after the fresh installation . But as soon as i give a root & enter i again get a login prompt.i..e I am not able to logon after a fresh installation. and even i configured IP configuration... (0 Replies)
Discussion started by: linuxnightowl84
0 Replies

6. UNIX for Dummies Questions & Answers

Connecting as CONSOLE using Telnet.

Hi, I need to connect as CONSOLE from my WinXP PC to a Solaris server (Solaris 9 SPARC) using telnet. I cannot use HyperTerminal as there is no direct link between my PC and the server (it is a remote server). How to do this? Regards. M. (3 Replies)
Discussion started by: mahatma
3 Replies

7. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

8. UNIX for Advanced & Expert Users

User Access Problem: Via Telnet or even Console

Just took over a UNIX Server from someone who left our company. Having problems with access by some existing users as well as new users. I get the following message from telnet sessions, when attempting access at the "Login:" prompt: "UX:in.login:ERRO: Login incorrect" "telnetd:Unable to... (2 Replies)
Discussion started by: Vincent Garcia
2 Replies

9. UNIX for Dummies Questions & Answers

c++ home directory??

when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files where shall i begin from root dirctory or i heve to put includet files in cpp home directory??? can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Discussion started by: user666
3 Replies
Login or Register to Ask a Question