LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2004, 04:41 AM   #1
jav
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Question SSH sessions locked to one program


I'm wondering, how can I setup an SSH account for a user that only has access to one program. Forexample IRSSI.

I want it to start immediatly as the user connects, so it is the only thing the user sees, and when the user quits the program, it should also quit the SSH session...

Does any one know how to do this, or what elements I should be googeling for?

Thanks // JaV
 
Old 11-17-2004, 08:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
is this user only ever ever going to use that account for this program? if so, just either set their used shell directly in /etc/passwd or edit their ~/.bashrc to include the command to run irssi and then logout
 
Old 11-17-2004, 10:06 AM   #3
jav
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
How secure would those solutions be?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[priv] in SSH Sessions stefaandk Linux - Security 2 09-22-2006 12:05 PM
SSH help, concerning sessions frokid879 Linux - Newbie 4 11-11-2005 11:22 AM
Keeping a program running between SSH sessions ark86 Linux - Newbie 2 10-01-2005 03:31 PM
dead ssh sessions babroga Linux - Networking 3 03-03-2002 06:43 PM
dead ssh sessions babroga Linux - Newbie 1 03-03-2002 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration