Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Password screen session

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?

Old 04-15-2008, 09:29 PM   #2
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, 03:22 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 6

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


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 11:45 AM
Creating a screen session in an existing session Frits of waterplant Linux - Newbie 4 01-18-2007 04:53 AM
Session/Password Prompt at Startup Rayek SUSE / openSUSE 3 01-09-2006 06:03 PM
running X in a screen session jumanji Linux - General 2 04-22-2004 01:57 PM
Running a command in a screen session ifan Linux - Newbie 0 07-16-2003 07:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:50 PM.

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