Question about file permission?

Posted on 2003-03-01
Medium Priority
Last Modified: 2010-04-21
Hi, guys, anyone who can answer my question? I have a Virtual Server in freebsd 3. When I login to Virtual Server through telnet, e.g. by user=kevin,password=kevin. Now I access the file "master.passwd" in /etc. But the "permission denied" error comes. NOw tell me that is there any way that I can access that file within the same login(user=kevin,password=kevin) and change the file permissions. Tell me is there any way? Or provide the solution. and also I have no access to the main user (I mean Dedicated server).

Waiting for a reply
Question by:kashif_rahman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

viporx earned 120 total points
ID: 8048345
The user Kevin cannot access master.password because the file is owned by root and in the group wheel and kevin is not in this group. If you TRUST user kevin, add kevin to the wheel group, and have him/her access /etc/master.passwd by doing su.


Expert Comment

ID: 8059730
You can also use sudo.

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question