Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Remote login access
April 24, 2006, 5:43 pm
rate this thread
directly to a user-id, say userA. We only want them to login to their
personal IDs and then su - to userA. This can be easily achieved by
setting rlogin to false and su=true.
However we also want our scripts to be able to execute commands
"ssh host2 <command>"
Now this kind of stuff is possible with rsh, but not with ssh. Is
there a workaround for this?
Any help is appreciated.
- Richard E. Silverman
April 24, 2006, 9:25 pm
Re: Remote login access
kedar> We have a unique situation here - we don't want people to login
kedar> directly to a user-id, say userA. We only want them to login
kedar> to their personal IDs and then su - to userA. This can be
kedar> easily achieved by setting rlogin to false and su=true.
Well, if you don't take any special pains, they will *not* be able to log
into a different account than their own. And su(do) is configured
kedar> However we also want our scripts to be able to execute commands
kedar> remotely, like "ssh host2 <command>"
You can use publickey authentication with forced commands.
- » can't turn off ssh password access on my new solaris box
- — Previous thread in » Secure Shell Forum
- » protocol question - issue with exit-status inside unfinished data stream?
- — Newest thread in » Secure Shell Forum