Re: Installation of SCREEN with multi access
- From: Ken Andrews <nowhere@xxxxxxxxx>
- Date: Sat, 04 Oct 2008 21:14:48 GMT
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
.
- References:
- Installation of SCREEN with multi access
- From: Ken Andrews
- Re: Installation of SCREEN with multi access
- From: Harry331
- Re: Installation of SCREEN with multi access
- From: Ken Andrews
- Re: Installation of SCREEN with multi access
- From: Harry
- Installation of SCREEN with multi access
- Prev by Date: Re: Solaris 8 very bizzare root fs problem
- Next by Date: Re: Thunderbird 2.0.0.16 doesn't launch firefox?
- Previous by thread: Re: Installation of SCREEN with multi access
- Next by thread: Re: Installation of SCREEN with multi access
- Index(es):
Relevant Pages
|