I had to copy /bin from one server to another because i accidently removed /bin ... now all copied and working but some of the soft links seems to have been created as file and their permissions set to 777 by default.. how can i recopy those ones? or change their permission to be same as the source server?
on the source the owner is mail but here it created it as root!! still the l in the beggining of the line is missing ( lrwxrwxrwx )
and didnt create it as a link
I get screen saying (none)login: ... if I enter root and press enter it comes back with the same prompt again and again!!
it also mentioned of init=/bin/sh and init cant execute /etc/x11/prefdm
init id x respawning too fast…
tried rebooting from the console by doing ctrl + alt +del but comes back with /cant open /var/run/shutdown.pid
I tried the following but no joy!
Inserted the linux installation cd.. ( rescue mode)...
Checked the permission on /bin and it was set to ?r- -rw-rx tried to do chmod –R 775 but got error operation not permitted ...
Already had backup of /bin so Untar’d the /bin/bin.tar and tried to over write the /bin but got this error: can not overwite /bin bin not a directory...
For some strange reason /bin is not own by root the owner and group name are both numeric, So i tried chown –R root but keep getting user root does not exist!
If I do id.. i can see that i have logged on as root and it does exist in /etc/passwd
Hi ! all I am just trying to check range in my datafile
pls tell me why its resulting wrong
admin@IEEE:~/Desktop$ cat test.txt
0 28.4
5 28.4
10 28.4
15 28.5
20 28.5
25 28.6
30 28.6
35 28.7
40 28.7
45 28.7
50 28.8
55 28.8
60 28.8
65 28.1... (2 Replies)
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
I'm trying to get a number of old disks on HP-UX 10.2 copied over to a new Debian machine which has a NAS on it.
The HP does not have rsync, but does have scp. Scp unfortunately does not always preserve permissions, and does not save links which were on the disk.
Apparently rsync has a flag... (3 Replies)
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
I am doing a scp (directory)from one solaris box to another.The problem is that all links present in that directory also get copied .I do not want the links to get copied .currently I am using
following syntax
scp -rvp pcserver info@appudemo.sea.us.wam.net:/home/info
I checked the man... (1 Reply)