Re: Installation of SCREEN with multi access



Harry <harryooopotter@xxxxxxxxxxx> wrote
On Oct 3, 7:11 am, Ken Andrews <nowh...@xxxxxxxxx> wrote:

I can't find any program named "suid" to run, so I neither ran "suid
root" nor "suid alpha".

What I did do was cd to the binaries directory and then "chmod +s
screen".  Ownership of screen is mine, both user and group.

I also just found out that the system has been configured to
automatically reset things at night.  screen's status of "rwsrwsrwx"
had reverted to "rwxrwxrwx" when I logged on this morning.

suid is not a command.
"suid root" on screen means that the screen binary should be owned
by root, and then it has been "chmod u+s".

Confirming (in re the chmod) what I found up above.


$ su - root
$ cd where_to_find_screen
$ chown root screen
$ chmod u+s screen

Found out about the "root" ownership the hard way, so now I've got
screen correctly owned and chmodded.



Now for a related problem.

I've a detached screen whose existence gets checked every 5 minutes.
It's supposed to be owned by user beta, but with multi set "on" so alpha
can attach.

I've set up a crontab entry for beta that does the checking and, if it
doesn't see the session, restarts it. So far, so good, it does in fact
restart it.

On an RHE system, this works perfectly. The session starts, it's tagged
with the name SVB (title we apply with -S option), and it's multi.
Users alpha and beta can both attach to it.

On the Solaris box, however, it's flagged Private. User beta can
attach, user alpha cannot. This is despite the fact that screen is now
correctly owned by root and correctly chmodded.

If I kick the session manually from a beta login, it's flagged multi and
both can access. If it's kicked from crontab, it's flagged private and
only beta can access.


--
Reyder Axeman, EQ1, Xegony, 52 Paladin (Retired)
Reyder Armoursmith, EQ2, Permafrost, 80 Armoursmith
.



Relevant Pages

  • Re: Sphere packing in six dimensions, root system for E6, Wikipedia article
    ... root systems. ... For the E7 root system, I had the program try each of the 240 roots ... alpha if and only if beta is also orthogonal to -alpha. ...
    (sci.math)
  • Re: Possible system breach due to an improper command
    ... As stated in anther thread this is a very silly use of chmod. ... lock you out of your own home directory and will ... try to lock the directoy one level up as well. ... ]Well, the next thing I know I am out of my locked shell and in root, ...
    (comp.unix.admin)
  • Re: Possible system breach due to an improper command
    ... As stated in anther thread this is a very silly use of chmod. ... lock you out of your own home directory and will ... try to lock the directoy one level up as well. ... ]Well, the next thing I know I am out of my locked shell and in root, ...
    (comp.security.misc)
  • Re: A spot of advice needed - OP reports back
    ... latest version and give you a list of progs it can upgrade. ... Do I use chmod to do this? ... You need to be the root use to do this - you did make a not of the root ... a web site dedicated to linux newbies. ...
    (uk.comp.os.linux)
  • Re: Not enough permissions to read and write
    ... "Michael Soibelman" wrote in message ... >> issue the chmod command (i.e. chmod root myfile). ... >> become the superuser first. ...
    (alt.os.linux.suse)