Re: [hlds_linux] Server with multiple user accounts start/stop/watchable?

2008-01-08 Thread drlove

Having multiple users able to attach to another user's screen session
would be a serious security issue, and it will not work in my
experience. I'd say that if you trust these three users and require
this functionality, you should have them all use the same login.

Jeff Love
Burgh Gaming

Quoting Mannis.House [EMAIL PROTECTED]:


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello.

I have some questions about the use of multiple user accounts on
one server.
For example, on my root server, there are 3 admins who have ssh/ftp access.
Let's just say user1, user2 and user3. All of these users are in the
same group server and therefor all should have the same rights.

I'm user1, and i started the server with a screen command. like e.g.
screen -A -m -d -S testservertf ./srcds_run -game tf +ip
xx.xxx.xxx.xx -port x -maxplayers 24 +map ctf_2fort.
Now i have the problem, that user2 and user3  can't watch and stop
the server. (yes threw rcon console quit i know, but that's
something else entirely!)
If user2 started the server, i and user3 cannot stop/watch the server.
Is it possible with any programs or scripts, that all users have the
 same rights to do it?
I need that for some reasons, e.g. the server hangs, and it cannot
be quit threw rcon console, and the admin who started
the server isn't there? Is it possible to kill and watch (screen -x
testservertf) another users pid?

Or i thought about, maybe there is another way, to give all 3 admins
 one account called server,
but i think this isn't a really good idea is it? Then i don't know
what admin what doesand other problems occur...

I hope someone can help me.

regards Manni
--


___
To unsubscribe, edit your list preferences, or view the list
archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux





___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Server with multiple user accounts start/stop/watchable?

2008-01-08 Thread drlove

I stand corrected, learn something new every day.

Jeff Love
Burgh Gaming

-r sessionowner/[pid.sessionname]
Used to connect to another user's screen session which runs in
multiuser mode. This indicates that screen should look for sessions in
another user's directory. This requires setuid-root.

Quoting Ronny Schedel [EMAIL PROTECTED]:

man screen



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Server with multiple user accounts start/stop/watchable?

2008-01-08 Thread Ronny Schedel


man screen



This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello.

I have some questions about the use of multiple user accounts on one
server.
For example, on my root server, there are 3 admins who have ssh/ftp
access.
Let's just say user1, user2 and user3. All of these users are in the
same group server and therefor all should have the same rights.

I'm user1, and i started the server with a screen command. like e.g.
screen -A -m -d -S testservertf ./srcds_run -game tf +ip
xx.xxx.xxx.xx -port x -maxplayers 24 +map ctf_2fort.
Now i have the problem, that user2 and user3  can't watch and stop the
server. (yes threw rcon console quit i know, but that's something else
entirely!)
If user2 started the server, i and user3 cannot stop/watch the server.
Is it possible with any programs or scripts, that all users have the same
rights to do it?
I need that for some reasons, e.g. the server hangs, and it cannot be
quit threw rcon console, and the admin who started
the server isn't there? Is it possible to kill and watch (screen -x
testservertf) another users pid?

Or i thought about, maybe there is another way, to give all 3 admins one
account called server,
but i think this isn't a really good idea is it? Then i don't know what
admin what doesand other problems occur...

I hope someone can help me.

regards Manni
--


___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux




___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


RE: [hlds_linux] Server with multiple user accounts start/stop/watchable?

2008-01-08 Thread Saint K.
You could create an account 'server1', and grant the users sudo access to
that account. So they login with their own account, then do a sudo server1,
and then can start/stop/restart the server.

Saint K.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Mannis.House
Verzonden: Tuesday, January 08, 2008 3:34 PM
Aan: hlds_linux@list.valvesoftware.com
Onderwerp: [hlds_linux] Server with multiple user accounts
start/stop/watchable?

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello.

I have some questions about the use of multiple user accounts on one
server.
For example, on my root server, there are 3 admins who have ssh/ftp access.
Let's just say user1, user2 and user3. All of these users are in the
same group server and therefor all should have the same rights.

I'm user1, and i started the server with a screen command. like e.g.
screen -A -m -d -S testservertf ./srcds_run -game tf +ip xx.xxx.xxx.xx -port
x -maxplayers 24 +map ctf_2fort.
Now i have the problem, that user2 and user3  can't watch and stop the
server. (yes threw rcon console quit i know, but that's something else
entirely!)
If user2 started the server, i and user3 cannot stop/watch the server.
Is it possible with any programs or scripts, that all users have the same
rights to do it?
I need that for some reasons, e.g. the server hangs, and it cannot be quit
threw rcon console, and the admin who started
the server isn't there? Is it possible to kill and watch (screen -x
testservertf) another users pid?

Or i thought about, maybe there is another way, to give all 3 admins one
account called server,
but i think this isn't a really good idea is it? Then i don't know what
admin what doesand other problems occur...

I hope someone can help me.

regards Manni
--


___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 1/7/2008
9:14 AM



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux