LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-25-2011, 07:59 PM   #1
kolp
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Users login via ssh - Debian


Friends, I am trying to configure the users of my system like the example on the link below ..
I want to know how to put a;
* Number of users in the system,
* Server uptime,
* The User's IP
* The time that the User is online
** I use Debian 5 64 bits. SSH port 22.
** Conect via putty

I'm in this business a short time, and I need your help.
thank you

Link example:
http:////imageshack.us/f/502/sloganx.jpg

Last edited by kolp; 11-28-2011 at 08:45 PM. Reason: link example
 
Old 11-27-2011, 11:40 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Most of what you're asking for can be found with the two commands: 'w' and 'uptime'.
--- rod.
 
Old 11-28-2011, 08:47 PM   #3
kolp
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
No sorry, the image link did not show up ..
It is a command such as uptime, but have to appear when the person connects.
When people connect on the server, he can not write anything that already did .. However need to have this information below.
 
Old 11-28-2011, 09:01 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

sounds like you are looking for motd (message of the day). Put into any decent search engine for information.

Cheers,

Evo2.

---------- Post added 2011-11-29 at 12:01 ----------

Hi,

sounds like you are looking for motd (message of the day). Put into any decent search engine for information.

Cheers,

Evo2.
 
Old 11-28-2011, 09:23 PM   #5
kolp
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi EVO2, MOTD is to edit the "slogan", this I know .. I want to put the information below, I got some putting "uptime" on the part of (. Profile) for each user .. I need to know now where I set the file (uptime), in which folder it ta to general changes .. And how do I color this part ..
 
Old 11-29-2011, 12:01 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
So you have your starting point. The motd does not have to be static. There seem to be plenty of examples of generating a dynamic motd on the web. Google "dynamic motd". Please don't ask me for a ready made solution, I have not actually done this myself.

Evo2.

---------- Post added 2011-11-29 at 15:01 ----------

So you have your starting point. The motd does not have to be static. There seem to be plenty of examples of generating a dynamic motd on the web. Google "dynamic motd". Please don't ask me for a ready made solution, I have not actually done this myself.

Evo2.
 
  


Reply



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
Passwordless-SSH login between different users instances AErin Ubuntu 1 07-01-2010 08:08 AM
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
HOW TO CHROOT SSH Users on Debian Etch / Mepis 7 cam34 LinuxAnswers Discussion 1 12-05-2009 07:09 PM
SSH logins and limiting remote users login rights. redgore Linux - Networking 2 07-16-2002 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 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
Open Source Consulting | Domain Registration