defaultrouter permissions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers defaultrouter permissions
# 1  
Old 06-28-2011
defaultrouter permissions

Ok ... I've relocated a SUN box and I've managed to change all of the IP addressess successfully ... both the local IP addresses and those that the box needs to connect to remotely. I was able to get the box to accept the default router's IP address using the command "route add default xx.xx.xx.xx" but upon reboot the default router goes away. A little research brought me to /etc/defaultrouter and that file contains the OLD default router IP address. I've attempted to change the address with vi but I get a permissions denial. Additionally, I cannot chmod the file (even though I'm logged as root). The error "chmod warning can't change defaultrouter" ... and now I'm stumped.

What's my next step, Oh Guru's of the World's Most Stable Operating System?

regs,

.al.
# 2  
Old 06-28-2011
Can you run the following commands and provide the output:

uname -a
ls -l /etc/defaultrouter
id
Also please attempt your chmod and vi of /etc/defaultrouter and let me see the output.

Also to make sure i understand you are just trying to set the default route on your solaris machine ?

Thanks
# 3  
Old 06-28-2011
jtwcarboy: Thanks so much for your reply. However, I just logged off, logged back on, and was able to change the file. Too bizarre.

regs,

.al.
# 4  
Old 06-28-2011
Strange, Have fun !!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Help with permissions

i am trying to write a simple script to move files from one folder to another and when i try to run the script i get permission errors. I am still new to all of this and permissions still confuse me. Can anyone shed some light? I have attached screenshots of my script in the middle. (which i... (3 Replies)
Discussion started by: kcrist84
3 Replies

2. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

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)
Discussion started by: right_coaster
3 Replies

3. Shell Programming and Scripting

permissions

My /tmp is set with the following permissions (777) and a 't' at the end. My umask is set to 022. When I create a directory under /tmp (tmp/xx) it gets created as 755 as expected. Yet when I create a file within that directory (/tmp/xx/yy) the permissions are not 755 they are 644. ... (1 Reply)
Discussion started by: BeefStu
1 Replies

4. Solaris

Defaultrouter not changing !!

Hi experts I have to change the default router of some system I tried changing by deleing the existing route by following line #route delete default 172.24.2.101 then I added executed the below line to add the new router #route add default 172.24.1.254 ... (9 Replies)
Discussion started by: kumarmani
9 Replies

5. HP-UX

To give the "unzip" permissions & "create" file permissions

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)
Discussion started by: Mike1234
3 Replies

6. UNIX for Dummies Questions & Answers

Permissions

Hi everyone, I'm looking for some information concerning Unix permissions. I am new to Unix and am doing research for a graduate class. Given the permissions below, can anyone give me five unique exploits that would be available to a hacker/cracker given this configuaration? -rw-rw-rw- 1... (1 Reply)
Discussion started by: skeeter
1 Replies

7. Solaris

different defaultrouter

can i specify more than one defaultrouter on the same solaris 9 box .??? If yes what are the side effects if any .? thanks (1 Reply)
Discussion started by: ppass
1 Replies

8. UNIX for Dummies Questions & Answers

/etc/defaultrouter change without reboot

Hi I have had to change the defaultrouter of a production server. I have ammended /etc/defaultrouter to point to the new address but when I do a netstat -rn , it hasnt updated. Is there anyway I can apply this change without rebooting the system ?? regards (3 Replies)
Discussion started by: hcclnoodles
3 Replies

9. UNIX for Dummies Questions & Answers

help with permissions

Can anyone help explain the "s" in the below permissions example. I was reading about the "sticky bit" (t) but I am a little confused. On file "test" wolf% chmod 4777 test wolf% ls -l total 4 drwx------ 2 john staff 512 Mar 19 21:34 nsmail -rwsrwxrwx 1 john staff ... (2 Replies)
Discussion started by: finster
2 Replies

10. UNIX for Dummies Questions & Answers

Location of defaultrouter file in Red Hat

Where is the file containing the default router in Red Hat 7.0? (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question