Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
oah man configuring sudo is very hard i think.
but isnt there any way to change the execulteable binary,s permission?
and can you tell the line we have to write in/etc/fstab?
thanks a lot for your reply.
in fstab you will normally specify the "user" option. as for the kppp one, well you can set suid bit on the binary (chmod +s /../kppp) but things like that are often checked for by security related programs
chmod 4777 worked on some like "shutdown". but not on a lot of them.so i think now that reading about sudo is necessary.
thanks a lot for your help acid_kewpie and mara .
no doubt i am lazy.
thats why i am on forum. and as i have come so reply my this question.
with sudo can we bound a user to use some commands like "passwd" with witch user can even change root password.
If its not possible then i think that it is better to do :0: in /etc/passwd in front of user ID.than sudo.
thanks
Well, when you configure sudo, you allow a user to run a certain program as root (or another user). If 'passwd' is not included in the list, the user won't be able to run it as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.