Nexus - enable remote logging of entered commands

Hi all!
Is there same way to enable remote logging of entered commands on Nexus platform? I found only how to do it with aaa and tacacs+, but we do not have such? In classic IOS it was quite easy to do.
Thanks.

Hi Igor
Nexus has internal accounting log: sh accouting log
But it can be sent only to the accounting server, not to a syslog server.
If you want - you man manually export it to some log.
HTH,
Alex

Similar Messages

  • ACS SE 4.01 crashing when enabled remote logging

    We are running acs se 4.01 and whenever i turn on the remote logging to our agent, the ACS itself becomes unusable until I turn logging off again. Any ideas?

    Hi
    If you mean, that as soon as you enable remote logging, authentication starts failing, then there are some issues with remote logging.
    Also consider upgrading to latest ACS version, rather then being on 4.0(1)
    CSCeg40355 : Authentication failures when remote logging fails
    I am pretty sure its resolved in 4.1.1
    http://tools.cisco.com/Support/BugToolKit/action.do?hdnAction=searchBugs
    Be sure to use same remote agent version, as your ACS server software version.
    Regards,
    Prem

  • ARD 3.6.1 remote log in Unix command failure

    Hello, I am using 10.7.5 and ARD 3.6.1 and cannot figure out how to remotely log in to another computer
    I wish to remotely log in using ARD to multiple computers in my network, up to 30 at a time for elementary students.  I can observe, control and send Unix commands to the machines when they are at startup log in screen or in use. This is the Unix command I am trying to use to log into the comptuer using ARD and Unix command function.
    osascript -e 'tell application "System Events" to keystroke "login"'; \
    osascript -e 'tell application "System Events" to keystroke tab'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "password"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    **and yes I am changing the login and password keystroke**
    I have tried the above Unix command and several others but I get a message saying "A console user is not logged in on “studnetmacbook""  so I click the button to run command as user admin but then get the message below. 
    36:50: execution error: An error of type -10810 has occurred. (-10810)
    36:49: execution error: An error of type -10810 has occurred. (-10810)
    36:54: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    Could someone explain these errors.  Is ARD not compatible with remote log in with the versions I have?  I have seen on sites this is posted and other sites that this needs to be run as the root user...Should I know how to run this as a root user and if so could someone help me with how to do this? 
    Or if anyone else has a working command could you share it with me for remotely logging in using ARD.
    Thanks!

    Hi
    Don't quite recognise what it is you're using. Maybe try:
    osascript <<EOF
    tell application "System Events"
    keystroke "whateverusernameyou'reusing"
    keystroke tab
    delay 0.5
    keystroke "whateverthepasswordis"
    delay 0.5
    keystroke return
    end tell
    EOF
    Instead. Works every time for me.
    The above are all on separate lines.
    HTH?
    Tony

  • Copying Files From a Remote Machine through "rcp" command not working.

    Hi All,
    I'm a new comer to this famous forum. I was trying to go through the PDF "Solaris Advanced User's Guide" .So in chapter 9-"Using the network" i came across "Copying Files From a Remote Machine". And the syntax was "rcp machinename:source destination" . And i got another note. It is like
    "The rcp command enables you to copy files from one machine to another. This command uses the remote machine's /etc/hosts.equiv and /etc/passwd files to determine whether you have unchallenged access privileges. The syntax for rcp is similar to the command syntax for cp.".
    But i maintained remote machine's IP address in my system's /etc/hosts file. But still i am unable to do the rcp from remote system to my system or vice versa.
    Always i am getting error message " **Connection refused**".
    Therefore please some one guide me how to perform the " Copying Files From a Remote Machine" through rcp command.
    Reghards
    Kartik

    Hi
    The inconvenience of using scp is that you have to type the password every time you stablish a connection. You can work around this, adding a key into the remote hosts_allow file. This implies in more maintenance.
    From the rcp man page:
    +rcp does not prompt for passwords. It either  uses  Kerberos authentication which is enabled through command-line options or your current local user name must exist on  hostname  and allow remote command execution by rsh(1).+
    From the rsh man page:
    + If you omit command, instead of executing a single command, rsh logs you in on the remote host using rlogin(1).+
    By default, rlogin is disabled on Solaris 10
    [SunOS 5.10/bash] root@wgtsinf01:/store/sun/operating-systems
    # svcs -a|grep -i rlog
    disabled       May_11   svc:/network/login:rloginSo, to use rcp you have to enable the rlogin service and set up all the configuration files. Particularly, as already suggested, I too suggest you to use scp. :)
    Cheers
    -- Andreas
    Edited by: Bank_Of_New_Zealand on 15/06/2009 13:09

  • Error "Failure enabling remote wakeup" with USB driver

    Hi all,
    I have an strange issue with an USB device, used to manage PCMCIA cards.
    Running 'cfgadm' command, the OS (Solaris 10 Sparc) recognizes the USB device:
    Ap_Id Type Receptacle Occupant Condition
    c2 scsi-bus connected configured unknown
    usb0/1 usb-device connected configured ok
    usb0/2 unknown empty unconfigured ok
    But when I try to access the PCMCIA tokens with the client app, it returns errors like "card not found".
    The /var/adm/messages shows these errors:
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 429894 kern.notice] Luna USB Driver 2.3.0.1 Aug 12 2009 15:47:08
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 129115 kern.notice] parse_level set to dump everything
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 926692 kern.notice] attach: Disabled endpoint (ep3intr)
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 420010 kern.notice] init_power_mgmt enter
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 734669 kern.notice] initpower_mgmt: failure enabling remote wakeup
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 995346 kern.notice] initpower_mgmt: end
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 332559 kern.notice] attach: Could not initialize power mgmt
    Oct 1 16:58:51 FSS0X022 usba: [ID 912658 kern.info] USB 2.0 device (usb4b9,f200) operating at full speed (USB 1.x) on USB 1.10 root hub: device@1, lunausb0 at bus address 2
    Oct 1 16:58:51 FSS0X022 usba: [ID 349649 kern.info]      lunausb-lh7 000000000000
    Oct 1 16:58:51 FSS0X022 genunix: [ID 936769 kern.info] lunausb0 is /pci@83,4000/usb@a/device@1
    I have restarted the "/system/power:default" service and rebooted. I have tried to disable the service, too.
    But the driver always show the message "Failure enabling remote wakeup/Could not initalize power mgmt", and the client application still shows the access error.
    Can anyone help me, please.
    Thanks and regards.

    Hi all,
    I have an strange issue with an USB device, used to manage PCMCIA cards.
    Running 'cfgadm' command, the OS (Solaris 10 Sparc) recognizes the USB device:
    Ap_Id Type Receptacle Occupant Condition
    c2 scsi-bus connected configured unknown
    usb0/1 usb-device connected configured ok
    usb0/2 unknown empty unconfigured ok
    But when I try to access the PCMCIA tokens with the client app, it returns errors like "card not found".
    The /var/adm/messages shows these errors:
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 429894 kern.notice] Luna USB Driver 2.3.0.1 Aug 12 2009 15:47:08
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 129115 kern.notice] parse_level set to dump everything
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 926692 kern.notice] attach: Disabled endpoint (ep3intr)
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 420010 kern.notice] init_power_mgmt enter
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 734669 kern.notice] initpower_mgmt: failure enabling remote wakeup
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 995346 kern.notice] initpower_mgmt: end
    Oct 1 16:58:51 FSS0X022 lunausb: [ID 332559 kern.notice] attach: Could not initialize power mgmt
    Oct 1 16:58:51 FSS0X022 usba: [ID 912658 kern.info] USB 2.0 device (usb4b9,f200) operating at full speed (USB 1.x) on USB 1.10 root hub: device@1, lunausb0 at bus address 2
    Oct 1 16:58:51 FSS0X022 usba: [ID 349649 kern.info]      lunausb-lh7 000000000000
    Oct 1 16:58:51 FSS0X022 genunix: [ID 936769 kern.info] lunausb0 is /pci@83,4000/usb@a/device@1
    I have restarted the "/system/power:default" service and rebooted. I have tried to disable the service, too.
    But the driver always show the message "Failure enabling remote wakeup/Could not initalize power mgmt", and the client application still shows the access error.
    Can anyone help me, please.
    Thanks and regards.

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • Error while trying to enable remote on hd insight cluster

    I'm trying to enable remote on our hd insight cluster, but every time I do, I get this error:
    "An invalid passthrough request payload was submitted"
    Any ideas?

    Hi,
    Are you enabling remote on your HDIsight cluster via the management portal or .NET SDK?
    Are you following the following steps?
    To enable Remote Desktop
    Sign in to the Azure portal.
    Click HDINSIGHT on
    the left pane. You will see a list of deployed HDInsight clusters.
    Click the HDInsight cluster that you want to connect to.
    From the top of the page, click CONFIGURATION.
    From the bottom of the page, click ENABLE
    REMOTE.
    In the Configure Remote Desktop wizard, enter a user name and
    password for the remote desktop.  Enter an expiration date in the EXPIRES ON box. 
    The expiration time of day is assumed by default to be midnight of the specified date. Then click the check icon.
    You could refer the following link for details:
    http://azure.microsoft.com/en-us/documentation/articles/hdinsight-administer-use-management-portal/#connect-to-hdinsight-clusters-by-using-rdp
    Please Note that the user name must be different from the one used to create the cluster (admin by
    default with the Quick Create option) and that the expiration date must be in the future and no more than a week from the present.
    Hope this helps.
    Regards,
    Malar.

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How to enable JCo logging

    I know I've seen this somewhere, but now that I need it, I can't find it.  I've spent two hours searching all the forums.  Can someone tell me how I enable JCo logging?  I have a JCO/Java program that works fine from the command line, but doesn't work when I try to use it in a Tomcat servlet.  None of the log files that I can find have any errors in them, but it appears that the call to JCO.createClient fails in the servlet.  I've read all of the posts about putting the JCo jar file in the servlet's lib directory and copying sapjcorfc.dll to Tomcat's bin directory, but no luck.  I'm hoping that there is some way that I can get JCo to give me a log that will indicate what is going wrong.  Thank you for your help.

    <b>SAP Note 723562</b>
    2. Runtime loading mechanism
    When an application references a JCo class for the first time it will be loaded by the associated class loader. During this process JCo's static initializer will be executed. This routine will search and load the JCo JNI library by using the following algorithm:
    1. Try to load the sapjcorfc library from the same directory where the sapjco.jar file or the JCo class files are located.
    2. Search the sapjcorfc library along the directory path defined in the java.library.path system property from left to right and if found load it from there.
                Note: If this property is not set manually, the JVM will usually set the OS specific library path environment variable as the default java.library.path system property at startup.
    1. Let the JVM handle the loading of the sapjcorfc library by delegating this task to its System.loadLibrary(String) method.
    JCo's JNI library is linked with the native RFC library. So when it is loaded the operating system will try to resolve its dependencies by loading the native RFC library, too. Usually, this will be done by searching for the first occurrence of the rfccm | librfc32 library along the directory path defined by the OS specific library path environment variable from left to right and load it.
    If the sapjcorfc library and/or the rfccm | librfc32 library cannot be loaded, you will get an ExceptionInInitializerError from the JCO. <clinit> method saying that it could not load the middleware layer com.sap.mw.jco.rfc.MiddlewareRFC. This error message may be caused for one of the following reasons:
    The sapjcorfc library cannot be found by using the above described algorithm, because you unintentionally installed it to the wrong directory or forgot to specify its directory in the OS specific library path environment variable or alternatively in the java.library.path system property.
    The rfccm | librfc32 library cannot be found because you unintentionally installed it to the wrong directory or forgot to specify its directory in the OS specific library path environment variable.
    The version of the sapjcorfc library found via the sapjco.jar directory or the java.library.path system property is not the required version (the version numbers and dates of the JCo middleware and the JCo library must be equal).
    The version of the rfccm | librfc32 library found via the OS specific library path environment variable is too old (for example you forgot to copy the librfc32.dll to the <WinDir>\system32 directory and an older version is loaded from there).
    The sapjcorfc library, the rfccm | librfc32 library or both lack the execute permission flag.
    The sapjcorfc library, the rfccm | librfc32 library or both do not have the same bit width as the JVM.
    The sapjcorfc library, the rfccm | librfc32 library or both were from a different JCo distribution and are not for use with your operating system and/or your hardware processor.
    The sapjcorfc library, the rfccm | librfc32 library or both require a higher operating system version.

  • Remote Log in

    Hi
    I wanna remote log in a Linux server and compress/uncompress a file using my Java app
    Any suggestion regarding this ..............????

    Can FTP be used to un/compress a file ... how???
    As far as i know there is no ftp command for un/compressing a file

  • How do I enable remote desktop for my free trial of azure?

    I have a free trial with Azure, which I am trying to setup remote desktop access to.
    Following these instructions (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-nodejs-enable-remote-desktop/) I see that I am to enable remote destop using the following cmdlets
    (under the project directory)> Enable-AzureServiceProjectRemoteDesktop 
    and then
    Publish-AzureServiceProject
    However the second step is asking me to specify the subscription:
    publish-azureserviceproject : No current subscription has been designated. Use **Select-AzureSubscription -Current <subscriptionName>** to set the current subscription.
    However, I don't know the name of my subscription. It is listed as Free Trial in the azure management portal, however the following command cannot find any such named subscription
    > Select-AzureSubscription -Current "FREE TRIAL"
    Message:
    Select-AzureSubscription : The subscription named 'FREE TRIAL' cannot be found. Use Set-AzureSubscription to initialize the subscription data.
    The error message also advises that I use the Set-AzureSubscription cmdlet, but again, I don't know what my subscription is named.
    > Set-AzureSubscription "Free Trial"
    Set-AzureSubscription : Cannot bind positional parameters because no names were given.
    Thanks for any help!

    hi James,
    you can either manually configure your Windows Azure Subscription with the Windows Azure PowerShell Cmdlets or you can use a publish settings file.
    Please follow this
    blog post by Michael Washam
    Hope this helps
    Please mark as answered if it helped
    Vishal Narayan Saxena http://twitter.com/vishalishere http://www.ogleogle.com/vishal/

  • How enable remote desktop gateway manager server 2012 essentials

    how enable remote desktop gateway manager

    There is a DISM command,
    dism /online /disable-feature:Gateway-UI
    http://support.microsoft.com/kb/2472211/en-us
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Script that enables Remote Management and adds user

    I need to make a script that can enable Remote Management and add a user to control it.
    I have tried to watch which plist files it uses so I could edit those.
    It writes some text in com.apple.RemoteManagement.plist and com.apple.ARDAgent.plist bit I can't find where the user is added.
    Any ideas guys
    Thanks

    No need to mess around with .plists. ARD has a command-line admin tool. The syntax is a little funky, but this should give you an idea:
    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -activate -configure -access -on -users john -restart -agent -privs -all
    This is all covered in more detail in Apple's technote.

  • Remotely enable "Remote Login"

    I need to enable "Remote Login" on several hundred macs. I am wondering if this can be done in bulk via ARD or by pushing out a script?
    The computers are currently not bound to Open Dir - that server failed and will be replaced in the near future
    Thanks for any info!
    Dennis

    This is done using several specific arguments for the serveradmin command. ...... you can use this feature to push them out to multiple workstations at a single time.

  • Script to enable remote login

    In my job I am constantly required to SSH into other computers to fix problems via terminal. Is there any known script that I can use to enable remote login on my computer quickly rather than having to go to system preferences every time?
    Thanks for your help!

    I'm not sure I understand this request.
    In my job I am constantly required to SSH into other computers to fix problems via terminal.
    OK, fair enough...
    Is there any known script that I can use to enable remote login on my computer
    Enabling SSH/remote login on your computer isn't going to help at all. You need to enable remote login on the remote computer.
    It may be possible to have an AppleScript execute commands on a remote machine, if that's what you mean, but in order for this to happen the remote machine has to have Remote Apple Events enabled. In my experience, there are even fewer machines with Remote Apple Events enabled than there are with Remote Login - it's disabled by default and is unlikely to be enabled by most users.
    So if Remote Login isn't enabled, your only solution is Remote Apple Events, but if that's off you're pretty much out of luck (unless you have some kind of screen sharing setup running).

Maybe you are looking for

  • How do I use a Sequence component in a separate file?

    I have my TileList control in the following code, and the data effect code in a separate file. I can't link them together. Here is the example I read (http://livedocs.adobe.com/flex/3/html/help.html?content=createeffects_5.html), but it's in flex 3 v

  • Deferred patching broken for machines with zones

    For a while I've noticed that Ive had trouble patching a couple of machines. I've managed to determine the significant characteristic identifying them. All the machines with a non global zone have the problem. To confirm, I added a test zone to a mac

  • External monitor showing black screen

    I just got an LG external monitor with DVI cable and the mini-DVI to DVI adapter. When I plug it in, my MacBook sees the display but nothing shows up on the display. Any ideas as to what the issue might be? Could it be the port on my MacBook? This is

  • Updated to iOS 6.1 now my SMS messages won't send

    I updated to iOS 6.1 over the air yesterday afternoon. I got some good news so I sent out a couple messages to people but kept getting failure to send notifications. Before 6.1, I did not have any problem sending SMS messages. iMessages still works p

  • Autocomplete in CF 8

    I was able to create an autocomplete with CF8 AJAX, but when typing in the search it stops a couple seconds before the list of autocomplete shows up. it's like freeze up, are there anyways to prevent this problem? I'd prefer to type in continous whet