Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

580 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