Directory Creation in Unix/Linux  using sysop group.

Hi All,
Directory Creation in Linux using sysop group.
I want to create a directory using sysop group but it default create using root:root
I have other user called test:test using test:test sysop group i want create directory
In java using test:test sysop group how to create directory.
Is it possible i have checked the File API. I did't find any information.
Please any one help me.
Thanks
Venu J

I find it worrying that you are able to create a root:root file since this implies that you are running your Java program as user root.

Similar Messages

  • Do I need and how to secure the Unix/Linux agents authentication and communication to RMS?

    Hi everybody
    We have an environment including SCOM 2012 SP1, 10 windows server, 40 linux servers and 10 HP-UX servers. all of them are joined a trusted domain. I know the authentication method between windows agents and management server is kerberos. but not for linux and
    HP-UX servers.
    Now I want to secure the Unix/Linux agents authentication and communication to RMS. some questions:
    1- how much secure and credible is current authentication method? and in a high secure environment can I trust SCOM self signed Certificates?
    2- Considering this point that Unix/linux computers are joined to active directory domain and are using Kerberos to authenticate, can I use this
    authentication method between RMS and linux Agents? 
    3- if I make a decision to use certificates should I use gateway server? (considering all servers and RMS are in same trusted domain)
    any other suggestion?
    Thanks in advance

    nothing?

  • Batch compile verify on UNIX / Linux

    Im looking for a UNIX / Linux script that will verify my forms compile.
    I would like it to show a list of Oracle Forms FMB files in the current directory that do not have a matching FMX file. Ditto for PLL/PLX, MMB/MMX, RDF/RDF.
    Thanks for any help that you can offer
    Scott

    last time i did a batch comp on a hpux
    i used the following
    for i in `ls ./*.err`
    do
    ll=`tail -1 $`
    pp=`echo ${ll} | cut -c 1-17`
    # echo ${i} ":" ${ll}
    # echo ${pp}
    if [[ "$pp" != "Created form file" ]] ; then
    echo $i
    fi
    done
    but i did not remove the .err files
    keep in mind that that script is shell dependent

  • SCOM 2012 Unix/linux agents authentication method

    Hi everybody
    We have an environment including SCOM 2012 SP1, 10 windows server, 40 linux servers and 10 HP-UX servers. all of them are joined a trusted domain. I know the authentication method between windows agents and management server is kerberos. but about linux
    and HP-UX servers? I have read :
    "UNIX and Linux agent monitoring in Operations Manager requires certificates to secure the SSL communication channel between the Management Servers and agents. The
    Operations Manager UNIX/Linux agent is a very lightweight agent implementation, comprising a CIM Object Manager (OpenPegasus) and CIM Providers.  There are two
    protocols involved in the communication between the Management Server and the UNIX/Linux agent:  ssh and WS-Management."
    Now I want to secure the Unix/Linux agents authentication and communication to RMS. some questions:
    1- how much secure and credible is current authentication method? and in a high secure environment can I trust SCOM self signed Certificates?
    2- Considering this point that Unix/linux computers are joined to active directory domain and are using Kerberos to authenticate, can I use this authentication method between RMS and linux Agents? 
    3- if I make a decision to use certificates should I use gateway server? (considering all servers and RMS are in same trusted domain)
    any other suggestion?
    Thanks in advance

    Hi Ghasem,
    Some helpful links for your questions:
    http://technet.microsoft.com/en-us/library/hh487288.aspx
    http://blogs.technet.com/b/kevinholman/archive/2012/03/18/deploying-unix-linux-agents-using-opsmgr-2012.aspx
    Natalya

  • Pls Send Usefull UNIX /LiNUX commands in SAP?

    hi,
    pls send me anybody what are the useful UNIX/LINUX  commands in SAP.
    regards,
    reddy

    Hi brother,
      the following commands will help you do it and practice it  give rewards....
    Copy files one system to another system in network
    #mount -t nfs <IPAddress> : /<Source Directory> /<Target Directory>
    To Display Clock
    #xclock
    Check Process Details:
    #top
    #ps -ef | grep user/process/servicename
    Check Memory Size:
    #free
    Check Disk space:
    #df -k (in %)
    #df -h (in GB)
    Check Subdirectory files
    #du /usr

  • Font mapping in Forms 10g on Unix/Linux

    Hello,
    does anybody have a adea how font mapping in forms 10g works on Unix/Linux.
    As far as I know I do have to have a X-Server running on the node so that forms can mapp java fonts, is this true?
    What configuration options do I have on the server.
    Can I differ strictly between development tasks (consideration of developer) and admin tasks ([configuration]considerations of Application Server Admin) referring font mapping in forms 10g?
    Is there any "Best Practices to this subject?
    Thank you.
    Regards
    Frank

    Hello Frank,
    - fontmapping takes place in Registry.dat file?!
    - According to your article "Forms: Using custom fonts in Oracle Forms Services 10g" I only have to customize fontmapping in Registry.dat file.
    -Customer developes on MS-Client and uses Arial,but is surprised about displayed font, which is´nt Arial.
    -Can I just customize font mapping in Registry.dat as follows (according your example)?
    default.fontMap.appFontnames=x,y,Arial
    default.fontMap.javaFontnames=u,v.Arial
    What do we have to consider on client site?
    What´s about java on client (JInitiator)?
    Regards
    Frank

  • How to start a particular database in unix/linux

    Hi,
    Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
    Can we use LSNRCTL tool for this??
    Regards,
    Nagarjun.

    > Could any one tell me how to start a particular database in Unix/Linux
    assuming that my server consists of 10 databases.
    There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
    10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally.

  • Adobe acrobat for unix/linux

    hello, I can't seem to find any downloadable trial adobe acrobat 3.x for unix/linux in the download page.
    can anyone provide me the correct link to download it? many thanks!
    also I need to convert PDF version from 1.2 to 1.4 in Linux environment. Can anyone suggest suitable product that I can use? Thanks!

    There are a lot of differences going from PDF 1.2 to PDF 1.4. But
    these are all extra things that MIGHT appear. Every PDF 1.2 file is a
    valid PDF 1.4 file, and the idea of converting them really makes no
    sense from a practical or administrative point of view. (Of course,
    if you had PDF 1.4 files and th company standard was PDF 1.2 it would
    be a different story).
    Adobe have some Linux software. For example, FrameMaker and the
    Distiller Server product.
    Aandi Inston

  • Report Directory Creation

    Can you please change the report object to incorporate directory creation?  I'd like to file reports by date/time and dynamic directory creation is needed to do this in Lookout.
    Another way to print screens to pdf (preferred) or html with date/time directories or filenames would be welcome.  Since the report graphic objects are not nameable (by date/time for example), new directory is needed for each report to properly file/separate them.
    Related to this is the ability to make a date object (expression, or other) dynamic included in a filename with the correct numeric format.  No luck so far.
    Ideas/experience welcome!

    Okay, I've got it.  You will need to disable images for this post page to see as typed (without smiley faces...that are NOT supposed to be in my text below)
    Key was to use expressions with embedded text functions such as:
     "cmd /c mkdir \\Domain\Share\lookout\reports\all_rad\"&left(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),10)&"\"&mid(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),12,2)
    The above is the value of an expression object that is connected to the run object's "Command line" property which writes the directory yyyy-mm-dd\hh based on a conditional pot value.
    The report's " Output directory" property uses another expression object that is similar, just without the dos command:
    "\\Domain\Share\lookout\reports\all_rad\"&left(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),10)&"\"&mid(text(if(Sw_All_Rad_Tnd_Live,now(Tmr_5sec),Pt_All_Ht_Start.value),"yyyy-mm-dd hh:mm"),12,2)
    Lookout is power, even if it is clumsy sometimes.
    A separate issue with reports is that the panels I am trying to print are full screen (normally maximized, normal panels).  Unfortunately, when the Panel.graphic is connected to the report.display parameter, it uses the screen property size and does not use the "maximized" equivalent size.
    The issue is that you cannot make a "non" maximized normal panel as big as it is when displayed maximized, so it is impossible to print the entire panel as it is displayed in Lookout.
    It would be great if this could be "fixed" some how.  Ryan....comment?
    Ed
    Message Edited by erblock on 04-28-2009 12:53 AM

  • Event 22400 in Management Server member of Unix/Linux pool

    Hi Guys, 
    I'm receiving the following alert in one of my management server member of Unix/Linux pool:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Date and Time: 5/14/2014 9:40:10 AM 
    Log Name: Operations Manager 
    Source: Health Service Modules 
    Event Number: 22400 
    Level: 1 
    Logging Computer: MYSERVER.MYDOMAIN.LOCAL 
    User: N/A 
     Description: 
    Failed to run the PowerShell script due to exception below, this workflow will be unloaded. System.NullReferenceException: Object reference not set to an instance of an object. at System.Management.Automation.PSSnapInReader.ReadEnginePSSnapIns() at System.Management.Automation.Runspaces.InitialSessionState.CreateDefault()
    at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer.GetRunspaceConfiguration(InitialSessionStateEntryCollection`1 variableEntries) at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceController.Initialize(RunspaceConfigurationContainer
    configuration, InitialSessionStateEntryCollection`1 variableEntries) at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceManager.DeliverRunspaceThreadProc(Object appDomainObject) Script Name: CopyDownloadedKits.ps1 One or more workflows were affected
    by this. Workflow name: Microsoft.Linux.UniversalD.1.CopyAgentKits.Rule Instance name: MYSERVER.MYDOMAIN.LOCAL Instance ID: {44F4A4F4-4EE3-19F1-E876-15017******} Management group: MG-SCOM  
    Event Data:
    < DataItem type =" System.XmlData " time =" 2014-05-14T09:40:10.0777054+02:00 " sourceHealthServiceId =" 44F4A4F4-4EE3-19F1-E876-15017****** " > 
    < EventData > 
      < Data > MG-SCOM </ Data > 
      < Data > Microsoft.Linux.UniversalD.1.CopyAgentKits.Rule </ Data > 
      < Data > MYSERVER.MYDOMAIN.LOCAL </ Data > 
      < Data > {44F4A4F4-4EE3-19F1-E876-15017******} </ Data > 
      < Data > CopyDownloadedKits.ps1 </ Data > 
      < Data > 300 </ Data > 
      < Data > System.NullReferenceException: Object reference not set to an instance of an object. at System.Management.Automation.PSSnapInReader.ReadEnginePSSnapIns() at System.Management.Automation.Runspaces.InitialSessionState.CreateDefault() at
    Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceConfigurationContainer.GetRunspaceConfiguration(InitialSessionStateEntryCollection`1 variableEntries) at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceController.Initialize(RunspaceConfigurationContainer
    configuration, InitialSessionStateEntryCollection`1 variableEntries) at Microsoft.EnterpriseManagement.Common.PowerShell.RunspaceManager.DeliverRunspaceThreadProc(Object appDomainObject) </ Data > 
      < Data /> 
      </ EventData > 
      </ DataItem > 
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I couldn't find any information about CopyDownloadedKits.ps1, any help would be really appreciated.
    Thanks in advance,

    Hi,
    What is your operational manager version? Did you add the action account the local admin group of linux and unix?
    I would like to suggest you get the newest management pack for linux and unix.
    In addition, here is a thread with the same error, hope it can be helpful:
    "PowerShell Script failed to run” alert in OpsMgr 2012
    http://blog.tyang.org/2013/03/04/powershell-script-failed-to-run-alert-in-opsmgr-2012/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    Yan Li
    Regards, Yan Li

  • PAS/AAS JAVA instances on UNIX/Linux - database component

    Hi SCN,
    Firstly consider this is all UNIX/Linux based...
    In the past when creating AS (or AAS now) SAP dialog instances for ABAP systems I rarely ran a SAPINST process. It was simpler to copy existing profiles and NFS mount the kernel. There is no database component relating to the instances so you could easily add/remove them
    However in Java it seems there is instance data inside the database Java schema, meaning that you have to install/re-install AS/AAS instances using SAPINST/SWPM to ensure these are properly created; otherwise the instance will not connect.
    Does anyone have any details on what constitutes this database component? I would like to look at it with my own eyes and see what makes it up.
    Regards all, Jamie
    AKA doonan_79

    Hi Jamie,
    In case of JAVA, there we have BOX number. If you have a logical host on top of your physical host, then you can go with over scheme. Otherwise, because of BOX number, you have to go with export/import option.
    Refer this thread: Understanding the Java Instance ID issue
    Divyanshu

  • Sessions Not Closed After 'Execute Unix/Linux SSH Script' Activity

    Hello,
    Wondering if anyone out there has some experience with running "Execute Unix/Linux SSH Script" activities against a "Unix/Linux System" target and able to help?
    We have a process that runs an ssh script on a Unix/Linux target and in the 'Target' tab we specify to open a new session on the target we want.  It was our assumption that once the script is executed successfully that the session would be closed, however, that does not appear to be the case.  It seems the target receives a "disconnect" from CPO but if we run "who -a" on the host, the session still exists.  We are trying to run our activity/script in a while loop with a 60 second pause in between, and after 30 loops (30 minutes) the next call fails.
    What appears to be happening is, the session opens on the Linux target and every occurrence of the "Execute Unix/Linux SSH Script" activity is merely connecting and disconnecting using the same session that was originally opened.  But after the 30 minute idle timeout on the Linux host, the session is closed and the next occurrence of the SSH Script activity fails with the following error:
    This activity xyz did not return within the expected time period and was abandoned.
    Is there a setting in the target properties or activity properties that we're missing here??
    Thank you for any feedback or suggestions that may be out there!
    Neil

    Neil,
    I will discuss with you through email to find what exactly happened in your case.
    Thanks,
    James

  • Using Dynamic Groups in Ldap for Accounts and Roles

    Does anyone currently use dynamic groups in LDAP for accounts and roles? I have set up a dynamic group in ldap (we are using OID Oracle internet Directory 10.1.2.0) , ldapsearch returns the correct list of unique names, but the account does not appear on my profile page when I log in to UCM (10.1.3). I cannot find any documentation so I'm asking myself if it is supported .....

    Thanks tim ... will check, but Oracle are saying :
    Oracle Universal Content Management - Version: 7.5.1
    Information in this document applies to any platform.
    Product: Content Server
    Version: 6.0
    Goal
    Can the Content Server's LDAP provider support, or can it be configured to support, dynamic LDAP groups?
    Solution
    The Content Server by itself is unable to process dynamic LDAP groups since the filter that is used cannot read dynamic groups. However, dynamic groups can still work in the Content Server if the permissions for the queried user are generated on the LDAP server side. For example: Novell and Active Directory both have this functionality.
    to which I have replied you suport 3rd party ldaps, but not your own? Shurely shome mishtake ..... if ldap search works in a seamless way, surely provider should too ....
    Billy, you may well be right, just got a cashflow problem over here !

  • Problem using a group which has a space in it's DN when using LDAP Group mappings in UCS 1.4

    Hey,
    We've been implementing LDAP authentication (Active Directory) using LDAP group mapping in UCS 1.4, and we've noticed that when using a group which has a DN with a space in it (such as "UCS Admins") it wouldn't authenticate the user with the appropriate role.
    Using a DN without spaces (such as "UCSAdmins"), works just fine.
    I should mention that having a base DN with spaces works just fine as well, it's just the group mappings that doesn't work.
    I should also mention that Cisco's "Quick guide to configuring ldap for ucs 1.4" shows an example in which the group's DN doesn't include a space.
    Is there a workaround available which can make it possible using a group which has a space in it's name?
    Thanks,
    Dor

    Hey Roman,
    Thanks for your prompt reply.
    We've tried putting quotes using UCSM which is not possible at all - not for the entire entry nor for the part with spaces.
    We've also tried using CLI ("scope security/ldap/ldap-group") where you have to put quotes if you use a DN with spaces, and it still doesn't work. Furthermore, we tried adding quotes only to the part with the spaces, i.e. - CN="UCS Admins",OU=TEST,DC=TEST. It adds the entry without an error, but shows like we would use "CN=UCS Admins,OU=TEST,DC=TEST". Anyway, it doesn't work either.
    Thanks again,
    Dor

  • Show Running Rules and Monitors for this Health Service task for Unix/Linux agents?

    I know there is a way to do this for Windows agents, but is there a way to do this for Unix/Linux agents?  When I click on the agent I dont see the option in the task pane.  Is there something else that I can use?
    If you're going to answer my question with pretentiousness or disrespect, move on to another question. I don't need your help. Thank you

    Figure it out after some digging
    http://blogs.technet.com/b/daniels_opsmgr_blog/archive/2011/05/14/troubleshooting-mp-fix-wrong-roll-up-monitor-state.aspx
    I didnt have the MP imported.  Although it works now, not very useful.
    EFD
    If you're going to answer my question with pretentiousness or disrespect, move on to another question. I don't need your help. Thank you

Maybe you are looking for

  • Home sharing sync with other computers

    I have two computers with iTunes. They are logged into my account with Home Sharing setup. We have downloaded asps on the main PC but they don't appear on the other. I assume Home Sharing can make it where both PCs show the same apps. Isn't that righ

  • I recently deleted and reinstalled by Photoshop CS2 and the CS4 update  I purchased.

    Once the CS4 package up been opened, I tried to update it, but the updates all failed. One major problem I am having: I can not open RAW files...what should I do?

  • I keep getting connection timeouts

    Intermittently, I my MacBook loses its internet connection and I have to restart the computer to get back online. It happens every so often, not at set intervals, but enough that in an hour, I can have to restart everything several times. Read: ANNOY

  • How to create an Undefined Code Combination from API? (Urgent)

    Hi All, I used the following API to create the code combinations in a Inventory custom form. SELECT CHART_OF_ACCOUNTS_ID INTO :PARAMETER.CHART_OF_ACCOUNTS_ID FROM ORG_ORGANIZATION_DEFINITIONS WHERE ORGANIZATION_ID = :PARAMETER.ORG_ID; FND_KEY_FLEX.DE

  • Keyboard shortcut for editing titles and captions

    Hi there, I'd like to edit the titles and captions of a bunch of photos (the contents of an album, for example), and I'd like to know if there is some combination of keyboard shortcuts so that I can do it which constantly using the mouse. In other wo