/home/home now contains home directories. If you get rid of /home/home you also lose /home/home/twood. Ditto for any other home directories in /home/home. You need to log off as twood and get any other affected users off the box. Then login as root and do:
Do that for any other affected users as well. Once /home/home is empty you can do:
What is listed in /etc/passwd as your home directories? You may need to edit that as well.
Was /home part of the root filesystem and did you move the content of /home to the new filesystem with something like this:-
I would always do this booted from media so I could ensure that the disks were all idle. You may well find that home directories point to /home/twood etc. but when you log in it tells you that it's not found.
If you have done this, then a better way to have achieved this would be:-
Boot from media, no network, start a shell. Then:-
Reboot the server.
If this all works then you can dispose of /oldhome when you are happy.
Of course, it depends where you are now. Can you tell us what was actually done?
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)
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)
Hi
I need to get the home directory of current user who is running the program, also i need to store the value in a particular variable and pass to the function.
thanks in advance (4 Replies)
hello
i want shell script.
as root , i want to untar specific.tar.gz to all home user directory
and after untar , there is 1.txt 2.txt ~~ 26.txt in/public_html/test1/
i want randomly selected 6 text files in 1.txt 2.txt ~26.txt to be renamed
newword1.word , newword2.word , ~~... (8 Replies)
I have SunOS 5.8.
Yesterday when i tried to log in I got message:
Could not chdir to home directory /export/home/blahblah: No such file or directory
Instead of the home directory i used to get in, I was bounced to the root directory. I searched through the filesystems but could not find my... (2 Replies)
Hi
what is the difference between the directory named /home and the user's home directory?
can anyone plz reply?
really confuse about it!!!!!!!!
thank you (1 Reply)
I'm trying to cd into a home directory with
cd ~username_here
and I'm getting the following error:
~username_here: does not exist
The directory exists and I can directly go to it via cd /export/home/username_here without any problems.
Any suggestions? (4 Replies)
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)