How can I add user from C program?

I need to add, change, remove users and change passwords from my application on Solaris 2.6.
How can I do it?

Hi,
I do not think there is a direct API for accomplishing this.
You can try calling "useradd" through Std C library function
system (3C).
"useradd" has a limitation that you can set/change password. Bundled
with Solaris 2.6 and higher, there is a functionality called
'admuseradd' which allows the passwd to be set on the command line. You will need to install Adminsuite from the 'Solaris Internet
Extension CD' to get the functionality.
Hope this helps.
Thanks,
Gopinath
Sun - DTS.

Similar Messages

  • How can I add contacts from my computer to my Icloud?

    How can I add contacts from my computer to my Icloud?

    http://help.apple.com/icloud/?lang=en#mmfba7481b

  • How can l block users from backing dating transactions

    1. How can l block users from back dating transactions in SAP B1. It was discovered that, in production dept there is this allowance given to them to keep producing for the previous month in the new month; this according to line staff is to enable them meet up their monthly target, after a meeting with the management it was resolved to block that right of backdation of enteries. how can l  correct  this.
    2. How can l change the decimal places backward in the general settings of administration of SAP B1( iniatially it was set to be 5 under Quantity now want to correct it to 3 how do l go about this).
    Joel

    Joel,
    By forum rule, one question for one thread.  I will answer you the second:  If you are using 2007 version, the option to decrease decimal place is not available.  Check this thread to know more:
    Re: REDUCE NUMBER OF DECIMAL PLACES
    Also note: this forum is just for B1 system administration.  Please post it on the main forum.
    Thanks,
    Gordon

  • How can i add character from RSKC?

    Hi Experts,
    can anybody epalin wht is the use of transaction  RSKC. and How can i add character  from RSKC?
    please explain step by step..
    Thnx in advance,

    RSKC transaction is whenever you want to allow special characters in your data.
    If they are not entered in RSKC then your data load fails because of these characters.
    So whichever characters you want to allow, you need to mention over there...
    Usually the standard list is as below :
    '~!"%&''()+,-./:;<=>?#_$@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ "^`['

  • What are user parameters? and how can i add user parameter

    Hi Experts,
    what are user parameters? and how can i add user parameter and how can i add a user parameter
    HR_DISP_INFTY_NUM with value X?

    user parameters are used give reference grps and counntry grouping use SU3 tcode as amite said

  • How can i add songs from my ipod onto a new computer

    How can I add songs from my Ipod onto a new computer

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • HT4427 how can l add song from my mac itunes to my iphone

    how can l add song from mac itunes to my phone

    Hey Adel Andic,
    Welcome to Apple Support Communities, and thanks for the question. If your music is already in iTunes, all you have to do is sync your iPhone with iTunes on your Mac by following these instructions, and you should be able to easily get your music on there:
    iOS: Syncing with iTunes
    http://support.apple.com/kb/ht1386
    Have a great day,
    David

  • How can I add photos from Camera Roll to the Photo Stream album?

    How can I add photos taken during the past month from my Camera Roll to the Photo Stream album?

    Hi,
    It's easy to do in iPhoto11 (click on a photo in iphoto and select share in the bottom right corner, then select Photo Stream), I'm not sure you can do this on the iphone.
    Regards
    Keith

  • How can I add music from itunes to my slideshow in premiere?

    How do I add music from itunes to my slideshow in premiere?

    What have you tried, and do you receive an error message?
    In general, itunes has DRM (copy protection) so it will only work according to the license... and as far as I know, Apple's license does not allow use in a new product, only in the Apple player... new product being the video you want to create

  • How can I add users after archive and install

    Hi Gang,
    I had a crash on Sunday and had to do an archive and install to get this computer back up and running.
    It's a PowerBook G4 and I am running 10.4.
    I reinstalled from my OS X 10.4 disc. After the install, the Login screen had none of my families user names. I had to go back to the disc and create a new password for a System Administrator.
    I did a software update to OS X 10.11.
    I am in now and can see the "Users" folder with everyone in it, but I can't figure out how to move it back into the system.
    Please help.
    Thanks,
    Tom

    Hi Gang,
    If you go to "Users" in System Preferences, and add the user with the same name, it found the user and asked me if I wanted to import the data.
    It worked beautifully.
    Thanks,
    Tom

  • .How can I add data from one list to other in Jsp Page

    Hi..I have three multiple selection ListBox..I want to add the selected item from 2 list boxes to 3rd list box how can i do that..do i need to write javascript? If possible then suggest me some link where i can get help?
    Thanks
    Regards
    Chintan

    Yep, Javascript.
    Unless you want to post the data to the server and then rewrite the page (ie. jsp/servlets) then you are going to need to use a client side script to modify the page.
    Javascript. You need to get the onClick() event of one list box and get the item that was clicked. then you can rewrite the 3rd list box.
    If possible, try doing a search on google. Or do you want someone to hold your hand.

  • How can I add songs from my internal library to my external backup library without losing ratings and comments?

    Hi, I have some 30.000 Songs in my constantly growing internal library and another 25k in my external backup library. I noticed that I lost all my ratings when fusing my libraries the last time.
    As ratings and comments are essential for my work as a radio dj: How can I fuse libraries or add songs from my internal to my external library and keep ratings and comments and: How can I make sure, iTunes adds ratings and comments from songs I still have in my internal library to the same songs (without ratings and comments) in my external library? Thanks a lot for your help!

    I use http://decimus.net/Synk to keep my iMac's iTunes synchronized with the backup iTunes folder on an external disk.  Any changes I make are automatically synced to the backup.  You might find it useful.

  • How can I add photos from my mac to my ipad without deleting the photos on my ipad, How can I add photos from my mac to my ipad without deleting the photos on my iPad, How can I add photos from my mac to my ipad without deleting the photos on my iPad

    I have photos on my Ipad that I copied from my PC (that I am selling) & now want to add my photos from my Mac to keep them all in one place.  When I try to sync it says it will delete the photos on my Ipad unless they were taken with the Ipad.  How can I just add what is on my Mac to my Ipad without deleting what is on my Ipad?

    "OK, so how do I transfer images to my computer? "
    This has been answered.  The sync is one way - computer to ipad.  You can e-mail them to yourself.
    " Whenever I connect the iPad to my Mac I get a message telling me that all the photos on the iPad will be replaced. Why?"
    This is the design of the product.  It will sycn with one computer.  Sycning to anotehr will erase hte current content.  The ipad simply mirrors the selected content of the computer to which it is synced.
    "When I connect my mp3 player to my PC, at home, I can find the player in Explorer and edit the contents, move or delete files, add files from my computer etc. All under my controll, simple and easy."
    OK.  This is not the case with the  ipad.  It is not designed as a storage device.

  • How can we restrict users from changing the data in HFM.

    Hi All,
    We have requirement from users where, They don't want the base data being loaded from SAP to HFM via FDM through ERPi to get changed in HFM at <Entity Currency>. They want data to be read only and no body should be able to change neither Grid nor Forms and neither Smart View. If we restrict by Shared services access then again they can't change ownership management value.
    Regards,
    Sushil

    Hi Thanos, Thanks for your reply.
    Yes i am aware of the security class, so your suggestion is to use security classes to restrict users? And how can i use the phased submission for the same?  I am new to HFM so please bear with me.
    I have one more question that my Application is HFM EPMA application. So is it necessary to have Application Administrator to change hierarchy and Deploy the Application from EPMA?
    Thanks,
    Sushil

  • How can I add media from an external hard drive into Premiere Elements? Please answer.

    Alright, so I have looked all over the website and the way adobe's frequently asked questions about adding media did nothing for me. I am editing a large full length video in premiere elements 13 and so I would like to add media from my external hard drive and edit from that location. Is that possible? Because I do not have enough space on my laptop to keep hundreds and hundreds of GB of videos on my internal hard drive. I have looked on how to add media from the hard drive location and adobe says to add it using the files and folders tab, but when I select it to add it, it says I need to use the Video Importer. So I go to use the video importer and have no way of figuring out how to select my hard drive. Any ideas?

    Spencer WhiteOut
    Thank you for the follow up with the information
    it is a MacBook pro retina . OS X Operating system. External hard drive is connected by the USB cable. fat32.
    It is my understanding, whether you have Premiere Elements on Windows or Mac, if you have files on an external hard drive,  you do not select
    Add Media and head for a choice that includes Video Importer. Instead, you select Add Media/Files and Folders and navigate to the external hard drive to select your file(s) for import into the project.
    But, you seem to be saying that when you do you are met with a message to use the Video Importer. Does the message give you any other related information on why you are being detoured to Video Importer since Video Importer does not import from an external hard drive for me or you. It does for me using Add Media to get the files from my external hard drive into a project.  I am strictly an Elements Windows user, so my Mac information is from what I have read. Based on that...
    1. Please evaluate the format of your external hard drive. Please review the following if you have not considered this point before.
    http://www.cnet.com/how-to/how-to-set-up-an-external-hard-drive-for-use-with-os-x/
    There are many online articles on this matter which would point you away from Fat32 as the format for a external hard drive Mac.
    2. From what you wrote, you are not dealing with a DVD drive so I see no way to implicate one of them in this issue. You are dealing with an
    USB external hard drive and not a USB external DVD/CD drive. Correct?
    Please review and consider.
    We will be watch for further news from you.
    Thank you.
    ATR

Maybe you are looking for

  • Links to external files don't work

    Hello Using RH 8.02 and converting linked Word docs (Word 2002) to WebHelp. These are policies and procedures that reference external documents. In my Word doc I have a hyperlink to an external document. This doc is on a network server. In Word I add

  • I am wanting info about a offer I saw this weekend

    I live in the US & want to speak to someone in the US, when I call I get people in INDIA. I have Adobe Cloud with Lightroom, this weekend ya'll had a bundle deal where you could get Lightroom & Photoshop together for the same price that I'm paying fo

  • Period Logic

    Hi I have requirement below, In the standard way the application includes the transaction values that belong to the calendar associated to the SOB. In Colombia, the 1st SOB has associated the corporate Fiscal Calendar (APR-MAR) and legally is necessa

  • Basic ARC Tool question

    For drawing arc like shapes, what is the difference with doing this with the Arc tool VS. using the pen tool to draw the same type of shapes? Is it just an easier way to do it? OR is there some other advantage?

  • Can't send SMS (with TPG) - Error 4027

    I have just changed my mobile phone provider from ISIM to TPG (which uses Optus).  I have tested the SIM card in another phone and it works perfectly, but in my Treo650 I am unable to send and SMS.  I now get this error message "An error occurred (40