[Bug 826] RFE: scp and ssh should have an option to set the group-id at login time

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Mar 31 10:41:30 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=826





------- Additional Comments From roland.mainz at nrubsig.org  2004-03-31 10:41 -------
Ben Lindstrom wrote:
> I really don't see a need for this.
> ssh -t site  script  will force a TTY so newgrp will work.  

"newgrp" doesn't work even for "rsh" - and definately not for "ssh". "newgrp"
doesn't allow to pass any arguments which will be executed. "newgrp" just starts
a new shell and then does nothing until the EOF comes in. This is one of the
oldest defects in Unix currently not being fixed (finally, the next version of
the Single Unix Spec should fix that. Just took twenty years... ;-/ ... I hope
OpenSSH will be slighly faster... :-))) ).

> sftp supports 'chgrp' for scripting.

Can you explain how I can use that from the ssh client side ?

> Plus I'm not sure we could enforce such behavior accross all the different 
> security methods

Uhm... login and then change the "egid" before invoking the command to execute ?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list