Setting username and password

Hello,
I'm trying to create local users in my Switch /Routers with different privileges. My requirement is when the user telnets to Switch /Router , he should get a screen with username rather than using login command from unprivileged mode . Now to to login , I telnet to Router and from there(unprivileged mode) I use login command to put the user name and then password.
Regards,
Raju

Try this:
username helpdesk prvilege 1 password helpdesk
username admin privilege 15 password admin
line vty 0 4
login local
line con 0
login local
Of course change the usernames and passwords according to your schema, but the key to this config is the 'login local' command on vty and con. This will prompt the user for username and password before even allowing them to access the user prompt.
HTH,
Jason

Similar Messages

  • How set  UserName and Password for HTTP Basic Authentication for a servlet

    Hi..
    How set UserName and Password for HTTP Basic Authentication for a servlet in JBoss server?
    Using Tomcat i can do it .(By setting roles in web.xml, and user credintails in tomcat-user.xml).
    But i dont know how do it in JBOSS..
    I am using Netbeans and Eclipse IDEs.. Can we do it by using them also!?
    Thank u

    Hi Raj,
    You can do this by creating a Login screen for the users and check the authentication of each user in PAI i.e. PROCESS AFTER INPUT.
    Store the user information in a database table and check the username and password when the user enters it.
    You can display password as *** also. For this double click on input box designed for password and goto Display tab. Select Invisible in the list and check it.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
        WHEN <fcode for submit>.
          SELECT SINGLE uname pwd
           FROM <DB table>
           INTO (user, pass)
           WHERE username = user AND
                   password = passwd.
          IF sy-subrc = 0.
    <Go to next screen for further processing>
          ELSE.
    <Display Error message and exit>
          ENDIF.
      ENDCASE.
    Regards,
    Amit
    Message was edited by:
            Amit Kumar

  • How to set username and password at line vty 0 4?

    hi guys,
    would like to know how i can set username and password so when i telnet to the router, i can login as username and password..?
    thks,
    ken

    Hi,
    for a simple telnet password with user name & password, find the steps below,
    aaa new-model
    username password
    line vty 0 4
    password
    login local
    if you wanted different types of users to login with different privilagez,do the following
    username privilege 15 password
    username privilege 5 password
    privilege exec level 15 conf t
    privilege exec level 5 show
    line vty 0 4
    password
    login local
    in the above statement "privilege exec level 15 "will have full access, "privilege exec level 5" will have the limited like "show" related
    hope this helps.
    rate this post if cleared.

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

  • How to set username and password before redirecting to a RESTful webservice

    I am a .Net developer who has developed a webservice used by my ColdFusion colleagues. They are using ColdFusion 9 but I'm not sure if they have incorporated any of the newer features of ColdFusion in their apps. Here is a snippet of how they have been invoking the webmethods:
    <cfscript>
                         ws = CreateObject("webservice", "#qTrim.webServiceName#");
                         ws.setUsername("#qTrim.trimAcct#");
                         ws.setPassword("#qTrim.trimpwd#");
                         wsString=ws.UploadFileCF("#qTrim.webserviceurl#","#objBinaryData#", "#qFiles.Filename#", "Document", "#MetaData#");
                </cfscript>
    As I understand things, the .setUsername and .setPassword correspond to the Windows credentials the CF Admin set when the URL of the .Net webservice was "registered" and given its "name" (for the CreateObject statement above). I have 4 webmethods that are all invoked in this manner and this SOAP protocol works adequately for us. Please note that this ColdFusion web app authenticates anonymous remote internet users by prompting for a username and password and compares them to an application database (i.e. Microsoft calls this "forms authentication"). Because only a few Windows domain accounts are authorized to call this .Net webservice, the above code always uses the same username/password constants and it all works.
    My question involves the newest webmethod added to the .Net webservice. It requires that callers must invoke it as a RESTful service which means it must be invoked by its URL. Here is a snippet of C# code that invokes it from an ASP.NET webclient:
                string r = txtRecordNumber.Text;
                string baseurl = "http://localhost/sdkTrimFileServiceASMX/FileService.asmx/DownloadFileCF?";
                StringBuilder url = new StringBuilder(baseurl);
                url.Append("trimURL="); url.Append(txtFakeURLParm.Text);
                url.Append("&");
                url.Append("TrimRecordNumber="); url.Append(txtRecordNumber.Text);
                Response.Redirect(url.ToString());
    I assume a ColdFusion script could easily build a full URL as above with appended querystring parameters and redirect. Is there some way for the CF code redirecting to a RESTful webservice (by way of its URL) to set the Username and Password to this Windows account mentioned above? When the DownloadFileCF webmethod is hit it must be with the credentials of this special Windows domain account. Can that be set by ColdFusion someway to mimic the result of the SOAP technique (the first snippet above).
    I hope my question is clear and someone can help me make suggestions to my ColdFusion colleagues. Thanks.

    Can you clarify what you mean by "establish a different Windows identity"?  Usually passing identity to a web site or service means adding something to the request's HTTP headers.  This could be a cookie in the case of .NET forms authentication or the "Authorization" header in the case of basic authentication.
    The SOAP web service invocation code you posted does use basic authentication, according to the CF docs "ColdFusion inserts the user name/password string in the authorization request header as a base64 binary encoded string, with a colon separating the user name and password. This method of passing the user name/password is compatible with the HTTP basic authentication mechanism used by web servers."
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec13a13 -7fe0.html
    If you need to mimic the SOAP techinque you should have basic authentication enabled for your REST service endpoints.
    If your authentication method is different then CF developers will need to add the appropriate HTTP headers to their service calls.  Note that calling a REST service from CF would probably be accomplished using the CFHTTP tag if the service is designed to be consumed by the CF server.

  • Logged in thru facebook now cant set username and password for PS3

    I signed up a year ago. Logged in thru facebook. Now i see a spotify app has been added to my PS3... Im trying to login but its asking for a username / password. I got to my account and am given a # of 126681961 as my user name and i attempt to activate a password, it says an email has been sent to the hotmail account associated with my facebook account but I have not recieved any email and have attempted mulitple times. How do I set my username and Password without all the frustration or by changing my FB info??? thank you

    I'm not sure about the status of that bug in 2.2.5, but it has been
    resolved in our internal 2.3 builds.
    I think that you can work around this problem by enumerating your
    persistent types in system.prefs instead of in the data store. See our
    documentation for more information on how to do this.
    Basically, if I recall correctly, the problem is when retrieving the
    list, but not when connecting to the data store for other purposes.
    -Fred
    Weidong <[email protected]> wrote:
    We are using KODO 2.2.5 right now and We have business requirement that we
    should not keep database user name and password in system.prefs. I
    followed the instructions that you wrote in Feb 12 2002 post. But it still
    has the error that exactly like Bug #76. When we leave the user name and
    password out of system.prefs, we get the error.
    Is this bug(#76) fixed for 2.2.5? And how can we work around it?--
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com

  • Can you set username and password when using OWA_UTIL.REDIRECT_URL?

    If you have a PSP that runs under a DAD that includes username and password and therefore doesn't require users to log in and you want it to do OWA_UTIL.REDIRECT_URL to another PSP that runs under another DAD that normally requires login using basic database authentication and the first PSP already "knows" the user's username and password, is there any way to use them to skip the login dialog of the second page? Maybe hack into the request and use UTL_HTTP.SET_AUTHENTICATION somehow...?

    That doesn't seem to work, and trying that kind of url directly from the browser says "invalid syntax error", so maybe Oracle appserver just doesn't let you do that.
    I got the idea of trying to add an authorization header:
    OWA_UTIL.MIME_HEADER(BCLOSE_HEADER => FALSE);
    HTP.P( 'Authorization: Basic mybase64encodedcredentials' );
    OWA_UTIL.REDIRECT_URL('myurl', FALSE);
    OWA_UTIL.HTTP_HEADER_CLOSE;
    ...but it didn't work either and with a little further thought I guess it's obvious why: any code here modifies the response header for this request, not the request header for the redirect.
    Message was edited by:
    psalmu

  • How to set username and password for a tcode ?

    Dear Gurus,
              Greets..................
    Pls provide me solution for my scenario. My program is module pool program.It has been assigned by a Tcode.when the end user enter the tcode in command box,I should display a small screen with username and password(****).If username and password is correct,it should allow the end user to execute that particular tcode.If not i should display warning message that he is not eligible to access that program.
    Thanks & Regards.
    Raj

    Hi Raj,
    You can do this by creating a Login screen for the users and check the authentication of each user in PAI i.e. PROCESS AFTER INPUT.
    Store the user information in a database table and check the username and password when the user enters it.
    You can display password as *** also. For this double click on input box designed for password and goto Display tab. Select Invisible in the list and check it.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
        WHEN <fcode for submit>.
          SELECT SINGLE uname pwd
           FROM <DB table>
           INTO (user, pass)
           WHERE username = user AND
                   password = passwd.
          IF sy-subrc = 0.
    <Go to next screen for further processing>
          ELSE.
    <Display Error message and exit>
          ENDIF.
      ENDCASE.
    Regards,
    Amit
    Message was edited by:
            Amit Kumar

  • How to set Username and Password to a URLConnection?

    My applet is supposed to access a servlet that is only accessible when username and password are correct.
    I've made a URLConnection object to connect to the servlet, but the problem is that I don't know how to add the username and password details to this connection.
    Can anyone please help?
    Terry

    Does any one know how to do it?
    Please, it's quite urgent...
    And there's 10 DD as award if someone points me in the right direction, please help.

  • Not set userName and password in system.prefs for 2.2.5

    We are using KODO 2.2.5 right now and We have business requirement that we
    should not keep database user name and password in system.prefs. I
    followed the instructions that you wrote in Feb 12 2002 post. But it still
    has the error that exactly like Bug #76. When we leave the user name and
    password out of system.prefs, we get the error.
    Is this bug(#76) fixed for 2.2.5? And how can we work around it?
    The error is:
    java.sql.SQLException: invalid arguments in call
         at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:99)
         at
    com.solarmetric.kodo.impl.jdbc.schema.DB.getPersistentTypes(DB.java:197)
         at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.loadPersistentTypes(JDBCPersistenceManagerFactory.java:313)
         at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDBCPersistenceManagerFactory.java:288)
         at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.privateSetup(PersistenceManagerFactoryImpl.java:872)
         at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:59)
         at com.sabre.apd.dao.JDOFactory.getPersistenceManager(JDOFactory.java:144)
         at com.sabre.apd.dao.JDODAO.<init>(JDODAO.java:33)
         at com.sabre.apd.dao.JDODAO.<init>(JDODAO.java:28)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:296)
         at java.lang.Class.newInstance(Class.java:249)
         at
    com.sabre.apd.dao.ConfigurableFactory$Tool.makeObjectForClass(ConfigurableFactory.java:105)
         at
    com.sabre.apd.dao.ConfigurableFactory$Tool.make(ConfigurableFactory.java:81)
         at
    com.sabre.apd.dao.ConfigurableFactory$Tool.getToolObject(ConfigurableFactory.java:62)
         at
    com.sabre.apd.dao.ConfigurableFactory.getTool(ConfigurableFactory.java:236)
         at com.sabre.apd.dao.DAOFactory.newDAO(DAOFactory.java:101)
         at com.sabre.apd.dao.DAOFactory.newDAO(DAOFactory.java:87)
         at
    test.com.sabre.apd.core.ActualConnectionDetailBrokerTest.getDAO(ActualConnectionDetailBrokerTest.java:38)
         at
    test.com.sabre.apd.core.ActualConnectionDetailBrokerTest.tearDown(ActualConnectionDetailBrokerTest.java:43)
         at
    test.com.sabre.apd.core.ActualConnectionDetailBrokerTest.setUp(ActualConnectionDetailBrokerTest.java:32)
         at com.intellij.execution.a.br.main(br.java:12)
    Thanks
    Weidong

    I'm not sure about the status of that bug in 2.2.5, but it has been
    resolved in our internal 2.3 builds.
    I think that you can work around this problem by enumerating your
    persistent types in system.prefs instead of in the data store. See our
    documentation for more information on how to do this.
    Basically, if I recall correctly, the problem is when retrieving the
    list, but not when connecting to the data store for other purposes.
    -Fred
    Weidong <[email protected]> wrote:
    We are using KODO 2.2.5 right now and We have business requirement that we
    should not keep database user name and password in system.prefs. I
    followed the instructions that you wrote in Feb 12 2002 post. But it still
    has the error that exactly like Bug #76. When we leave the user name and
    password out of system.prefs, we get the error.
    Is this bug(#76) fixed for 2.2.5? And how can we work around it?--
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com

  • I can not accessed J2EE Server because i dont know username and password

    I set username and password as tutorials but not successful.
    and after that i can't access J2EE server with localhost:4848.
    please tell me the way access J2EE server.Or Default username and password of it.
    Thanks your help!

    Hi,
    Can you please send more infomation on exactly what is failing? Are you trying to execute asadmin commands?
    Also, which platform are you running the appserver on? Does the appserver show up in the list of currently running processes?
    I believe that the default username is "admin" and the password is "adminadmin".
    Thanks,
    Kyle

  • I am unable to connect to my RackSpace Windows Server via ARD. I have added a computer entering the ip address, username, and password but I can't establish a connection. I am missing a setting or to step that is different in ARD?

    I am unable to connect to my RackSpace Windows Server via ARD. I have added a computer entering the ip address, username, and password but I can't establish a connection. I am missing a setting or to step that is different in ARD?

    ARD only works with Windows computers if the Windows computer is running VNC server software.  Even then it can only control and observe.  Do you have this installed?

  • Lately I have been getting a rectangular screen titled Login Setting, with my Username and Password and asking me to Login.  This screen shows up on opening the computer and has never been seen before the last month or so.

    Lately I have been getting a rectangular screen titled Login Setting, with my Username and Password and asking me to Login.  This screen shows up on opening the computer and has never been seen before the last month or so.  It has one box titled Login Credentials with a username and password field and a second box titled Login Status at the bottom where it says "Profile not found" in red.   I've never seen this before and ignoring it does not effect any operations.   Is this legitimate or some kind of identity fishing?

    Hello,
    Have you done the recent Security updates?
    Is this from Sleep or on bootup?
    Timing is about right for the FlashBack attack.
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link

  • Setting up SafePoint on NAS, myCloud doesn't ask for username and password

    I couldn't find an answer to this in the forum.  I'm trying to set up a Safepoint on a Synology NAS. I have it configured so that you need a user name and password to access this share the safepoint should go to. When I try to set the Safepoint up in MyCloud it will find my NAS, but will then say "Retrieving Shares", but won't show any.I believe this is where I shoudl be asked for a username and password. Maybe the MyCloud can't see the share because I haven't eneter the credentials yet, but I don't know where else to enter them. I tried it in different browsers in case it's some sort of JavaScript problem, but it also doesn't work in other browsers either. For security reasons I'm not keen on having the share public, without user name and password.  How can I create a Safepoint on my other NAS?

    According to the WD My Cloud User Manual it appears that one has to select the NAS where they want to save the share first before they are possibly given a screen where they can enter in a user name and password. See Chapter 11 in particular Steps 3 and 4 under "Creating a Safepoint". Step 4 shows an example of the username/password screen. If the Synology NAS is not being detected by the WD My Cloud user interface then obviously there is either a problem with how the Synology NAS is detected on the local network or a problem with the WD My Cloud detecting specific NAS devices on the local network. It goes without saying that both devices should be on the same local network and have IP addresses in the same IP range. For example both should have IP addresses in the 192.168.1.x range. Edit to add: There are also the following relevent WD Support links:List of NAS drives validated by WD to work as a SafePoint backup for a WD NASHow to create a Safepoint backup of a WD My Cloud drive on another device Edit to add 2: Per this earlier thread that also discusses using a Synology NAS as a backup location for Safepoint, it appears you may have to enable the option "Enable Local Master Browser" in the Synology DSM before the WD My Cloud will see the Synology NAS on the local network. 

  • Username and password setting

    There are a few web sites that for some reason the menu to save username and password did not come up. Is there a way I can save these setting for certain websites?
    Thanks

    As Templeton says, it depends on the coding of each site.
    Many bank sites, for example, removed that capability as a security measure.
    What I usually do in such cases is manually add an item to my Keychain (via the Keychain Access app in Applications/Utilities), using the full or partial name or address. Then I can find it in my Keychain when needed, and it's as secure as any "real" Keychain entry.

Maybe you are looking for

  • IPhone send me back a message I just sent

    Hi all, my iPhone, when I text to sertain people, it send me back messages I just sent to them. Frequently happened, time delay is variant, could be several seconds or several minutes. I already searched the community when I tried to fix this problem

  • IDOC_INPUT_SBINV error...

    Guyz, i'm trying to simulate SBINV (incoming invoice for self billing from customer to vendor) and have been trying to input values to this idoc via WE19 but getting following error : The billing document for external document EXT_INV_NO has not been

  • Urgent - STO - Third Party Carrier ex: FedEx / UPS - Outbound Delivery

    Hi Gurus, I am working on an issue in which when an UB/UD order type STO is created, the Third Party shipping-Carrier info. ex: FedEx 1 day, 2 days, 5 days / UPS 1 day, 2 days, 5 days, etc., is entered in the Partner Tab. This needs to be pulled into

  • To compare value node

    Hi, i need to compare two value, one it comes to LeadSelection (nodePo_Items) and another comes other table (nodeTemp_GetdetailSerivce_Output), but the comparison <b>(if)</b> don't work. ex: int m = wdContext.nodeZbapi_Po_Getdetail_Input().nodeOutput

  • Flash Slide Show Presentation Question

    I have created a slide show presentation in Flash format. On some of my slides, I have animations that run when the slide first loads. However, as I do not want the animation to continue looping preventing the viewer from reading the slide, I used ac