Jump to content











Photo
- - - - -

Password Prompt

password

  • Please log in to reply
8 replies to this topic

#1 Centaur

Centaur

    Newbie

  • Members
  • 22 posts
  •  
    United States

Posted 30 March 2013 - 03:41 AM

Is there any way to move the password prompt down from the upper left side of the screen to maybe the middle left?

 

 



#2 Motasem

Motasem

    Frequent Member

  • Advanced user
  • 169 posts
  • Interests:War Make's Men And Problems Make's You Expert
    MooT®
  •  
    Jordan

Posted 30 March 2013 - 03:57 AM

in where? explain what ap or os or what are you talking about ?



#3 Centaur

Centaur

    Newbie

  • Members
  • 22 posts
  •  
    United States

Posted 30 March 2013 - 04:05 AM

in grub4dos

 

password --md5 (hash)

 

when grub4dos askes for password it clears screen and prompts at top left of screen, is there any way to move it down (halfway) the screen via script or such

 

Randy



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 6629 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 30 March 2013 - 09:51 AM

You can use this, but you still get a cursor line at the top of the screen

 

title testpwd

 

echo -P:1200 Please enter your password : 
password rm > nul
 


#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 6629 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 30 March 2013 - 10:22 AM

 
This works

 

title test pwd
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
echo -e \0
password rm

 

 

Why do you want the prompt lower down? If you use echo then the prompt should appear below the last line anyway?



#6 Centaur

Centaur

    Newbie

  • Members
  • 22 posts
  •  
    United States

Posted 30 March 2013 - 09:47 PM

no reason why, i have a dell latitude 610 notebook and i like to try different things with it. i ran across the tut for installing winxpand win7 in a VHD, so i have 2 winxp installed in 2 separate VHD and win7 in a third(and runs too slow to enjoy due to limited memory and CPU) and free dos in a fourth VHD. only thing installed not in a VHD is grub4dos and the win7 bootmgr (which grub4dos calls) i also have a freedos (mem) boot image with ntfs4free for quick menu.lst and secur.lst editing

 

first menu.lst just has one WinXP and the Win7 and the random splash screen changer

 

the secur.lst has a password and has the two freedos's and the second winxp, i use this XP for image(vhd) management(replacement. defrag ect). so i was just wondering if it was possible to move the password prompt down to middle instead of top,of witch you answered.

 

the prompt has always cleared the screen and i had never tried the echo command

 

thanks Steve


Edited by Centaur, 30 March 2013 - 09:49 PM.


#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 6629 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 30 March 2013 - 10:07 PM

The password command does not clear the screen. When the title command is executed the screen is cleared and at the top you get a message

 

Booting xxxxxxxxx

 

where xxxxxxxxx is the title of your menu. So if you have a password command next in the menu, you will get the prompt near the top.



#8 Centaur

Centaur

    Newbie

  • Members
  • 22 posts
  •  
    United States

Posted 30 March 2013 - 10:14 PM

title ^F1 \n

password --md5 (hash)

configfile /secur.lst

 

thats the line in my menu.lst to load the secur.lst


Edited by Centaur, 30 March 2013 - 10:15 PM.


#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 6629 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 30 March 2013 - 10:25 PM

You can use the hiddenmenu command too - see here







Also tagged with one or more of these keywords: password

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users