[Discuss] root privileges
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Fri Aug 18 17:15:36 PDT 2006
On 2006-08-18 08:01-0700 SJF wrote:
>
> Below is the output (on Konsule) when I wanted to see what the order of my DNS
> search was.
>
> fisher at fishhead:~> su
> Password:
> fishhead:/home/fisher # /etc/resolv.conf
> bash: /etc/resolv.conf: Permission denied
> fishhead:/home/fisher #
>
> I don't understand why the 'permission response' comes up? Does not 'su' plus
> the password take me into root privileges? What am I missing please.
Any time you type a name with nothing in front Linux will try to execute
that file as a shell script or programme. Thus, you tried to execute
/etc/resolv.conf which the system wisely restricted you from doing.
Instead, look at that file (e.g., less /etc/resolv.conf).
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
More information about the Discuss
mailing list