Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amuled permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
maca
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2003
Posts: 84
Location: Perth, Australia

PostPosted: Fri Aug 26, 2005 11:21 pm    Post subject: amuled permissions Reply with quote

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
View user's profile Send private message
Fiesch
n00b
n00b


Joined: 23 Jan 2005
Posts: 24
Location: Germany

PostPosted: Sat Aug 27, 2005 3:33 am    Post subject: Reply with quote

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
View user's profile Send private message
maca
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2003
Posts: 84
Location: Perth, Australia

PostPosted: Sat Aug 27, 2005 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Fiesch
n00b
n00b


Joined: 23 Jan 2005
Posts: 24
Location: Germany

PostPosted: Sun Aug 28, 2005 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum