Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

Call Of Duty Server; User To Run?

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

Call Of Duty Server; User To Run?

  • Quote

Post by Shiner_Man » Tue May 31, 2005 3:32 am

I've been messing around just trying to get a Call Of Duty United Offensive server up for my home lan. Suprisingly, it was very simple. I'm wondering though, if I was to ever make this a public server how I would actually run the server as another user besides root. If COD ever got exploited I don't want people having root access. So I guess I'd want to run the game as maybe user 'nobody'. But doesn't this user have low priority? I'd want the application to run with the highest priority.

So, what are your suggestions? I guess what I'm asking is, how do you run a process as an unprivelaged user with high priority.

Thanks in advance.
My Site
Top
br0mGreV
Apprentice
Apprentice
Posts: 265
Joined: Wed Jul 28, 2004 8:07 am
Location: Paris, France

  • Quote

Post by br0mGreV » Tue May 31, 2005 4:44 am

nice is your friend.
Rien n'est éternel, pas même les problèmes...
Top
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

  • Quote

Post by Shiner_Man » Tue May 31, 2005 3:43 pm

Yes I'm aware of the nice command. I'm also aware of the sudo command but, as the nice man pages state, non root users can only lower the priority. I'm thinking if I run this command it will work:

Code: Select all

# nice -n -20 sudo -u nobody /opt/call_of_duty/coduo_lndxed
I'll have to try it out when I get home.
My Site
Top
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

  • Quote

Post by Shiner_Man » Wed Jun 01, 2005 10:41 am

The above command does not work because, for some reason, it tries to create /root/.callofduty every time its run. Anybody know why this happens or how to change the path?
My Site
Top
bobpaul
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Aug 09, 2005 8:55 am

  • Quote

Post by bobpaul » Thu Dec 01, 2005 10:44 pm

Shiner_Man wrote: non root users can only lower the priority.
You can use

Code: Select all

bash# ps aux | grep coduo_lndxed
to find the process ID of you're call of duty server.

Then you can use

Code: Select all

sudo renice -20 [ProcessID]
to give you're process higher priority after it's started.

Not sure how to make it run as the "nobody" user, but this might help you change the priority once you get that working
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic