quarta-feira, 27 de agosto de 2014

HOW TO EXECUTE ANY PROGRAMS WITH ANOTHER USER (POST 3)

To resolve this issue and not execute some programs by "administrator" you can use the command  RUNAS also know “run as” in us interface.
Open the properties shortcut of  software of you wanna used by administrator.

runas1

By destiny, before the path of executable include the command Runas /savecred stay
runas /savecred /user:administrador “C:\Windows\System32\cmd.exe”

Now you shold click on shortcut , and ask a password, after you put the was memorize per windows and don't ask again this password.
On screem above you can see that the prompt stay running by administrator.
runas2
OBS: In this example i used  the prompt of command afteri  possible show the user that was running, however do not recommend this in real life.
Case is necessary  remover our change the password type the password using console  “ user acount” type  “control userpasswords2” on run .
In the guide “Advanced” set  in “manager password ”runas3
Click  in credential of windows, and change the credential that you want.
runas4

The another password will saved too  in this console with password of remote desktop.

source: http://www.cooperati.com.br/2013/03/01/executando-programas-com-credenciais-de-administrador/

terça-feira, 12 de agosto de 2014

HOW TO RESET FORTINET APPLIANCE WITOUT ADMIN PASSWORD (POST 2)

**You have two minutes (2 minutes) after you plug it in to the power…….**
  • 1.      Start Putty
  • 2.      Connect the cisco cable (rj45 to DB9)
  • 3.      Open word, then type in the Serial Number: (example) FG300B3908605531
  • 4.      Then make sure you add bcpb to the beginning of the
Serial Number: (example) bcpbFG300B3908605531
  • 5.      Copy the Serial Number with the bcpb, make when you copy it no blank spaces are copied:
    • §  bcpbFG300B9998605531 Bad
    • §  bcpbFG300B9998605531 Good
  • 6.      When the login appears type in:
    • §   :maintainer
  • 7.      Now the password:
    • §  Password:bcpbFG300B9998605531
    • §  Just right click the mouse to paste in the ‘password,’ and hit return.
  • 8.      Now follow instructions below…
    • §  : execute factoryreset
    • §  : y
Allow it to run its course….
If it was a success? The Reboot should look like this….
Example: FG300B9998605531 login:
  • 9.      Type admin to test:
    • §  : admin
  • 10.  No password is the factory set:
    • §  : “press enter”
  • 11.   Now you should be in executive level
    • §  #
  • 12.  Success! Now exit and shutdown
    • §  #exit
Done

Add:

The password is bcpb + the serial number of the firewall (letters of 

the serial number are in UPPERCASE format)


HOW TO CHANGE FORTINET FROM SWITCH MODE FOR INTERFACE MODE (POST 1)

Basically 3 steps involved in this process.

1) Complete the prerequisites to change the mode

2) Change the mode from Switch mode to interface mode

3) Configure the network and allow access to a particular network port.


1) Prerequisites to change the mode

You must disable DHCP service on the Fortigate device and remove the any policies related to internal interface.

Below is the Fortigate device 80C in switch mode. All interfaces are combined together as single ‘internal’interface. In this case, we can’t have different settings ( IPs, policies etc) for every port in this device.


a) To remove DHCP, click on the ‘internal’ and press edit. unselect the check box of DHCP server as shown below.

b) Remove any policies which are related to ‘internal’ port, normally you will find only one policy.

Now we are ready to change the mode.

2) Changing from Switch mode to interface mode.

As said earlier, we should use CLI to complete this task. Use serial cable and any telnet client software for this purpose. If you like to use built in telnet client of Windows 8 or 8.1, check this guide.

Login with default default credentials which username is admin and no password.

Type following command,

config system global
  set internal-switch-mode interface
end


And accept put "Y" of yes.

Once the device is rebooted, it will not have any network settings. Therefore, we must configure IP address and allowed access (http or https) to a particular network port which can be accessed through network cable and internet browser later.


3) Configure the network and allow access to a network port

Earlier we have changed switch port mode to interface mode. Now the device will have n number of individual network ports which can have individual settings and policies. After changing the mode, these ports will not have any settings, even no default IP address. Use the same CLI to configure IP and allow http or https access to a particular network port so that can be accessed via network.