Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to downlaod a file from the Internet and put it in /usr/src and would like to give write privileges and own the directory to the group "users." As root, I did the following:
I used chmod 770 /usr/src to assign the privileges.
I used chown root.users /usr/src to give ownership to users.
I loged back in as myself, ran KDE 3.1. From KDE, I ran Konqueror Web Browser, went to the web site, and attempted to download the file I wanted to put in /usr/src. I was denied access to src. When I checked the directory, I found that the permissions were 750 and was told that the director was Locked.
When I logout as root, however, and login with my username and password, I cannot access /src. When I type cd src and press enter, I receive the following information:
<code>
-bash: cd: src: Permission denied
</code>
Do I need to make myself a member of the users group or am I a member of users group by default? If I need to add myself to the users group, how do I do that?
When I open Mandrake Control Center, type the root password, click on System, and then UserDrake, I am told that "The password you typed is invalid. Please try again."
I don't understand this because the password I tryped is the root password. And what is more, I don't know how to "try again." can you help me resolve this problem?
I have also been told that I can edit the groups file manually at /etc/groups. The groups file, however, is not in my /etc directory. Do you have any idea where it might be?
I will greatly appreciate your answering these two questions for me.
As I say, when I open Mandrake Control Center, type the root password, click on System, and then UserDrake, I am told that "The password you typed is invalid. Please try again." I am logged in as root, not as myself.
Also, I cannot find the groups file /etc/group. There is nothing in the /etc directory that resembles that. group does not show up in this directory when I type ls -a.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.