PDA

View Full Version : Need the file name....



veda87
July 21st, 2009, 12:14 PM
whenever I switch from graphical environment to any one of the virtual console... it will prompt like
ubuntu 8.10 veda-desktop tty1

veda-desktop login: I knew that
ubuntu 8.10 veda-desktop tty1 is present in the file /etc/issue....

I wanted to know in which file
veda-desktop login:
Password:

Can anyone tell me the name of the file....

and where is the Last login details are been stored...

iponeverything
July 21st, 2009, 01:43 PM
whenever I switch from graphical environment to any one of the virtual console... it will prompt like
ubuntu 8.10 veda-desktop tty1

veda-desktop login: I knew that
ubuntu 8.10 veda-desktop tty1 is present in the file /etc/issue....

I wanted to know in which file
veda-desktop login:
Password:

Can anyone tell me the name of the file....

and where is the Last login details are been stored...


veda-desktop

is coming from /etc/hostname


login:
Password:

are coming from the /bin/login binary -- they are hard coded.

run the command "last" to see previous logins.