View previous topic :: View next topic |
Author |
Message |
maca Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/7724033733f52a060b7316.gif)
Joined: 26 Jun 2003 Posts: 84 Location: Perth, Australia
|
Posted: Fri Aug 26, 2005 11:21 pm Post subject: amuled permissions |
|
|
I am using amule to do a little downloading but I would like to turn amule off during certain hours of the day due to ISP restrictions. My issue is Ive written a little BASH script to start amuled in the background and a to kill I do a little ps -ef | grep amuled | awk out the prosses then kill -9 it .........
Now to my issue, The deamon can be started by /etc/init.d/amuled start but my user doesn't have permission to the init scripts now do I put my user in a group that has access to the init or do I sudo it for my user ???? what is the best way ????
I dont want to run amuled as root ... cause all my shared files are under my users ~/ ...
I know there are lots of ways of doing this I could just leave it as it is .... but I dont like stopping services with a kill -9, I'd much prefer to do a /etc/init.d/amuled stop ...
????????????????????????? _________________ You can take nothing from me that I will more freely give, except my life
William Shakespeare
Hamlet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fiesch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mustafa.gif)
Joined: 23 Jan 2005 Posts: 24 Location: Germany
|
Posted: Sat Aug 27, 2005 3:33 am Post subject: |
|
|
well using the unstable 2.03 (i guess it is) of amuled you can "kick off" amuled as root and
it still does run as a user you can specify in /etc/conf.d/amuled
so there is not really a reason to mess around with permissions here.
if you still want other users to be abled to start amuled i would suggest introducing a "p2padmin" group
and granting that group rights to that particular init.d script and attached scripts.
br
[edit] btw - there is a guide how to emerge the unstable portage build for amuled (in gentoo) on the amule-wiki. _________________ From all the things I've ever lost i miss my mind the most - S.Tyler |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maca Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/7724033733f52a060b7316.gif)
Joined: 26 Jun 2003 Posts: 84 Location: Perth, Australia
|
Posted: Sat Aug 27, 2005 8:10 am Post subject: |
|
|
Thanks ... i had forgotten about the config file ..... Ill have a play .....yeah I am running the unstable version ... the stable version doesnt have the deamon i dont think .... anyway thanks _________________ You can take nothing from me that I will more freely give, except my life
William Shakespeare
Hamlet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fiesch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mustafa.gif)
Joined: 23 Jan 2005 Posts: 24 Location: Germany
|
Posted: Sun Aug 28, 2005 12:12 pm Post subject: |
|
|
oh i forrgot - please attach the [SOLVED] tag to the post's title if this worked for you _________________ From all the things I've ever lost i miss my mind the most - S.Tyler |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|