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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to connect to the internet as a normal user, not as root.
I just couldn't manage to do that, I must be doing something wrong.
Starting kppp as normal user an error message pops up:
... make sure root has the ownership and that the SUID bit is set.
How do I give a normal user the permission to use kppp?
To summarise for your situation; you should execute (as root):
Code:
# chown root `which kppp`
# chmod +s `which kppp`
which will make sure that root owns the file, then set the SUID bit so that all users run it with root's priviledges. (By the way, the `which kppp` bit [note those are backticks and not regular single quotes] simply returns the full path to the kppp command, so that it can be edited like a regular file. If you know that it's located at, say, /usr/bin/kppp feel free to use that instead.)
linux:~ # ls -l `which kppp`
-rwxrwxrwx 1 root root 802852 Oct 5 2004 /opt/kde3/bin/kppp
what I found interesting is that changing permissions by right clicking on kppp icon and selecting properties>permissions and changing them the "-rwxrwxrwx" doesn't change. Is that normal?
Quote:
Originally posted by Tinkster What is the output of
ls -l `which kppp`
?
The code solved the thing, I managed to connect with it as normal user, great! Sorry for bothering the forum with such basic things, I'm a downright newbie but linux is getting to be my new obsession, I can't resist asking for help whenever i have a problem.
Also thx for the link to the description of the SUID bit even though I can't understand a "bit" of it yet hahaha
Thanks again, you guys give folks like me a lot of confidence and strength to explore linux and call ourselves linux users..
almalaci
To summarise for your situation; you should execute (as root):
Code:
# chown root `which kppp`
# chmod +s `which kppp`
which will make sure that root owns the file, then set the SUID bit so that all users run it with root's priviledges. (By the way, the `which kppp` bit [note those are backticks and not regular single quotes] simply returns the full path to the kppp command, so that it can be edited like a regular file. If you know that it's located at, say, /usr/bin/kppp feel free to use that instead.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.