LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Users login via ssh - Debian (https://www.linuxquestions.org/questions/linux-newbie-8/users-login-via-ssh-debian-915572/)

kolp 11-25-2011 07:59 PM

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

theNbomr 11-27-2011 11:40 AM

Most of what you're asking for can be found with the two commands: 'w' and 'uptime'.
--- rod.

kolp 11-28-2011 08:47 PM

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.

evo2 11-28-2011 09:01 PM

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.

kolp 11-28-2011 09:23 PM

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 ..

evo2 11-29-2011 12:01 AM

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.


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