The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ssh permission denied gefa AIX 3 12-04-2008 10:52 AM
Permission Denied howeezy UNIX for Dummies Questions & Answers 0 09-14-2005 09:52 AM
tar : permission denied big123456 UNIX for Advanced & Expert Users 0 09-09-2005 04:32 AM
rcp 'permission denied' Kevin Pryke UNIX for Dummies Questions & Answers 6 04-24-2002 04:20 AM
Permission Denied using VI on my NFS jennifer UNIX for Dummies Questions & Answers 4 08-08-2001 06:34 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-08-2001
justchillin justchillin is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 28
permission denied??

i'm trying to set up my internet connection and i was told i need to edit the file
/etc/ppp/pap-secrets
but i get a permission denied message...why??
  #2 (permalink)  
Old 08-08-2001
DPAI's Avatar
DPAI DPAI is offline
Registered User
  
 

Join Date: Jul 2001
Posts: 112
Maybe u did not login as root
or maybe u do not have write access
  #3 (permalink)  
Old 08-09-2001
justchillin justchillin is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 28
i did login as root...but i'm not sure if i have write access...how can i check?
  #4 (permalink)  
Old 08-09-2001
Jayathirtha Jayathirtha is offline
Registered User
  
 

Join Date: Aug 2001
Location: Bangalore
Posts: 16
hi justchillin,

if you do a "ls -l" at your promt, you will get to see something like this...

"drw-r--r-x" or "-rw-r--r-x".

Here after 'd' next 3 characters represent the root. In the above case "rw-" indicate that the root has Read, and Write permissions.
Similarly you can check for your desired file as

ls -l {filename}
In your case it should be
ls -l pap-secrets

Jay.

Last edited by Jayathirtha; 08-09-2001 at 01:40 AM..
  #5 (permalink)  
Old 08-09-2001
joetech joetech is offline
Registered User
  
 

Join Date: Jun 2001
Location: Mass
Posts: 9
Cool factoid "caution on root logon"

A word of caution....... it is NOT adviseable to surf the internet or to be logged on for extended periods of time with "Root" permissions.

Why? :???

Well, if somebody gains control of your machine, and you have "super-user" powers, they do too! Think of the implications here.

Solution
You can open a terminal and temporarily logon as "root" and do what you need to do, then close that terminal and/ or logoff the terminal and you have an ordinary account again.

Tip
Most folks do a dual boot to a unix flavor so as to keep the windows partition. If this windows partition was compromised prior to the unix install then, the unix partition is also open to exploit.
One should try to do a clean install on a machine without a dual boot partition if one possibly can,however; this is not always possible.


joetech



  #6 (permalink)  
Old 08-09-2001
justchillin justchillin is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 28
thanks for the replies i will try that out when i get home tonight...
  #7 (permalink)  
Old 08-10-2001
justchillin justchillin is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 28
ok well i tried and it didn't work...i have edited all the individual files but how do i get them to run each time i try to connect to the internet (i think that is what is supposed to happen)...i still get "modem is busy" messages???

oh, and how do i know if my ethernet card is configured properly??

i don't know any unix guru's so i'm relying on you all...

thanks

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0