LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2008, 07:17 PM   #1
alfr
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Password screen session


Hi,
I was wondering how I could set a password on a detached screen session, to require user to enter a password before getting access to it?

Thanks,
 
Old 04-15-2008, 10:29 PM   #2
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Rep: Reputation: 15
The easiest is perhaps start the screen session

$ screen -S somescreen

and then press 'C-a' followed by ':'. At this point you can type in so called customization commands. One one them is 'password' and screen will simply prompt you for a password.

There's loads of things you can do with screen sessions, check out the 'man screen'. The possibilities are endless
 
Old 04-17-2008, 04:22 AM   #3
alfr
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Perfect, thanks a lot.
 
  


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
When session locked by kde screensaver, password not recognised vdemuth Slackware 7 12-12-2007 12:45 PM
Creating a screen session in an existing session Frits of waterplant Linux - Newbie 4 01-18-2007 05:53 AM
Session/Password Prompt at Startup Rayek SUSE / openSUSE 3 01-09-2006 07:03 PM
running X in a screen session jumanji Linux - General 2 04-22-2004 02:57 PM
Running a command in a screen session ifan Linux - Newbie 0 07-16-2003 08:12 AM


All times are GMT -5. The time now is 07:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration