Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
having issues chrooting

 
Post new topic   Reply to topic Printable version
 View previous topic  help with as3 Post :: Post FG_WZ -> Flagging Game  View next topic  
Author Message
all_shall_perish
Newbie


Joined: Jul 26 2007
Posts: 2
Offline

PostPosted: Thu Jul 26, 2007 10:32 pm    Post subject: having issues chrooting Reply to topic Reply with quote

i've tried chrooting asss multiple ways, both using the --chroot flag, and also just using the chroot command. if i do use the chroot command i end up getting it to chroot, but it won't daemonize as i have also passed that flag


this is what i'm trying

Quote:

./run-asss
*** chroot enabled
*** asss started
asss 1.4.3 built at Jun 8 2006 23:34:16
can't chroot to '.': Operation not permitted
Unrecoverable error (6): error changing root directory or dropping privileges


EDIT: i'm not sure why i posted this in asss custom project, feel free to move to the correct forum, sorry and thanks.
Back to top
View users profile Send private message Add User to Ignore List
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Sun Jul 29, 2007 5:56 am    Post subject: Reply to topic Reply with quote

I would recommend not chrooting and instead running asss using an unprivelaged user.
_________________
Rediscover online gaming. Get Subspace | STF The future...prehaps
Back to top
View users profile Send private message Add User to Ignore List
all_shall_perish
Newbie


Joined: Jul 26 2007
Posts: 2
Offline

PostPosted: Sun Jul 29, 2007 4:30 pm    Post subject: Reply to topic Reply with quote

that'll work too i suppose, thanks for your help.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Jul 29, 2007 4:55 pm    Post subject: Reply to topic Reply with quote

Ew, why? I'd recommend all server software be run under specific users which don't have unauthorized access to any other part of the system... especially with asss where you have the ability to put/del/get files.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Jul 29, 2007 11:18 pm    Post subject: Reply to topic Reply with quote

Problem with chrooting asss is that it's tricky to get perfect, and anything less is worthless. Chroot will only stop someone who knows exactly what they're doing from compromising a slightly insecure setup. If you've got an insecure setup, it's better to devote your time to fixing it rather than perfecting your chroot jail.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Tue Jul 31, 2007 12:53 am    Post subject: Reply to topic Reply with quote

I wouldn't say it's worthless. Chroot won't solve all your problems, but it adds another layer of security, just like running as different users does. I would recommend doing both.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 139 page(s) served in previous 5 minutes.

phpBB Created this page in 0.484377 seconds : 30 queries executed (89.6%): GZIP compression disabled