Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
How to give users access to installed program?
I am using RH 8.0.
I found something called "Users and Groups" I do not understand what they want me to change.
The user is "me" and the group is also "me".
The directories I want to give access to are the ones that hold my Firebird program and a few other folder that are listed under "home" but were created by me when I was "ROOT".
I select "me" and I select Properties. There 4 tabs to pick from[list=1][*]User Data[*]Account Info[*]Password Info[*]Groups[/list=1]
So I pick "Groups"
It now presents a long list of "groups" that are available
Here are the first 3 choice of a long list.[list=1][*]adm[*]bin[*]daemom[/list=1]
It seems like there are about 50 so called groups
I tryed check off what I thought were the appropiate groups.
The logged out of Root then back in as the user "me" and tryed using the programs.
I tryed using KPPP but it asked me for the Root password, so I knew this was not correct.
So how do I get to the programs and files that I installed as Root when I am a regular user?
I have check the Manual for RH but it does not tell me what to change.
I have also looked thru this and other forums but I quess I just do not know the right question to ask the "Search". One person suggested using "KUSER" I did a search on my machine and could not find it. Others suggested "cron" or something like that but again I could not figure out what I was supposed to do.
there may be a reason for certain program's only being able to be run as root...
but if you need to use those as a normal user, then perhaps the easiest way to do this is to change the permissions of the program
for example kppp, just do chmod 777 /path/to/kppp to give everyone access to that program or use chown me /path/to/kppp to make your user "me" own that program
for example kppp, just do chmod 777 /path/to/kppp to give everyone access to that program or use chown me /path/to/kppp to make your user "me" own that program
Ok, I tryed the "chmod 777 /urs/bin/kppp" while and root user.[list=1][*]Logged as "root"[*]did chmod 777 /urs/bin/kppp in a terminal [*]did chmod 777 /home/mozilla/firefox/firefox[*]quit terminal[*]Logged out[*]Logged in as "me"[*]Found kppp in /usr/bin folder[*]Made a sybomlic link to my desktop[*]Next found Firefox brower program[*]Made a sybomic link on my desktop[*]Double clicked on the link for Kppp[*]It returned "Enter root password"[*] Also got an erro when I canceled " Could not start KDEinit"[*]Next tryed Firefox[*]Browser did open up
[/list=1]
I checked the properties for both KPPP and Firefox
Kppp: owner= root, group=root Linked to consolehelper
Firefox= owner=64255 group=11407
So I was able to get one out of two.
I looked for the "man chmod" there was information there but I did not see any that would tell me what to do next.
So where did I screw up? Any ideas what to do next? Am I looking in the right places?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
kppp has to access devices and other programs, like chat, i think, so
you may want to leave kppp owned by root.
search for kppp and root
maybe on this site, and you'll get different suggetions about what to do for that.
and 755 might be more appropriate for the permissions on a program.
if you are root and set a program as 755, that leaves you with
read, write, execute, and everybody else with read and execute
Originally posted by Tiyogi Ok, I tryed the "chmod 777 /urs/bin/kppp" while and root user.
I checked the properties for both KPPP and Firefox
Kppp: owner= root, group=root Linked to consolehelper
Firefox= owner=64255 group=11407
So I was able to get one out of two.
I looked for the "man chmod" there was information there but I did not see any that would tell me what to do next.
So where did I screw up? Any ideas what to do next? Am I looking in the right places?
Well I did not screw up It seem like RH 8.0 likes to install KPPP so only the root user has access to it. There also a problem with the Consoehelper both of these problem for me were solved by going to the KDE KPPP FAQ page. I just followed the steps outline below and it solved the problem. Now I can use KPPP to dail in from my "ME" user session.
How do I get rid of the password dialog (RedHat) ?
Red Hat chose to install kppp as a so-called consolehelper application. This PAM based mechanism avoids a setuid root installation. A quick and dirty solution to revert to the original behaviour is to delete the link to consolehelper and make the real binary setuid root. Open a terminal window, su to root and enter the following commands:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.