Create FTP account for user in Solaris 10

Hi,
I am new to Solaris and I need to create a n FTP account so user can have access to certain folder ie /opt/www/docs/newfiles/ (only for upload or download).
user should not be able to go up the defined folder and have access to upper folders.
I tried # useradd -d /opt/www/docs/newfiles/ testuser and then # passwd testuser but this user can navigate up and also can telnet to server.
Please help me to fix the problem. I may not even doing the right thing.
Thanks

Hi.
You can configure the /etc/ftpd/ftpaccess file, to do that, an a lot of things more.
Check ftpaccess man page.
Don´t forget restart your ftp service when you made changes to this file.
For example, modify the following lines, previos backup of the file:
Declare a guestuser:
guestuser testuser
The
user's home directory must be set up exactly as
anonymous FTP would be. The home directory field of the
passwd entry is divided into two directories. The first
field is the root directory that will be the argument to
the chroot(2) call. The second field is the user's home
directory, relative to the root directory. Use a "/./"
to separate the two fields. For example, the following
is the real entry in /etc/passwd:
testuser:x:100:92:Guest FTP:/opt/www/docs/./newfiles:/bin/false
Check for permission capabilities.
The following permission capabilities are supported
chmod yes|no typelist
delete yes|no typelist
overwrite yes|no typelist
rename yes|no typelist
umask yes|no typelist
Example:
delete yes guestusers
Define a directory with dirglob that permits or denies uploads.
upload absolute [class=classname]... [-]
root-dir dirglob yes|no owner group mode
dirs [d_mode]
Example:
upload class=guestuser * /opt/www/docs/newfiles yes testuser nodirs

Similar Messages

  • I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put

    I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put for my ipod touch and itunes?

    Try these previous discusssions:
    recover answers to security questions: Apple Support Communities
    how do i change apple ID security...: Apple Support Communities

  • How can I make (automatic) accounts for users of my adobe muse site?

    Adobe, google, facebook and more site haves accounts for his users, but how can I make a system with accounts for users of my adobe muse site?

    Hi,
    Try some suggestion given in this thread
    http://forums.adobe.com/message/5362643#5362643

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • Can't  create mail account for gmail

    Can't  create mail account for gmail in my new man pro 15 retina later 2013 ME294

    I'm having trouble settinng up my @mail.com account on mac's default mailing service. When i et to tthe incoming mail server part I'm lost. I don't know what to put.

  • Create a screen for user input in BI

    Hi Experts,
    I want to know can i creat a screen for user input in BI with module pool programing
    and i want to store the data in ztable in SAP-BI.
    Moderator message: please search for available documentation, these forums are no substitute for ABAP training.
    Edited by: Thomas Zloch on Dec 10, 2010 8:37 PM

    I'm afraid that I cannot get it. I had a look at the docs you suggested before posting, and still, no luck (...)
    JOptionPane.showMessageDialog(dialog, "Please input info");Can you please tell me what I'm doing wrong and I cannot add the JDialog to the JOptionPane?Re-read the API and tutorial. JOptionPane is meant specifically to spare you from instantiating manually a JDialog. The showXxxDialog(...) methods do create a JDialog of their own, based on the contents supplied as arguments.
    In particular, using the 2-arguments variation showMessageDialog(Component parentComponent, Object message):
    - The first argument parentComponent is not be the dialog you want to display, but the component over which you want the dialog to appear. The most typical value are this or null.
    - The second argument is the "message" to display, but as described in the API, it can be a JComponent, that is, even a JPanel with child widgets (in a word, a JPanel containing the specific form you'd display in the dialog if you were writing the dialog manually).
    Again, at the risk of insisting densely, I'm only quoting the API an tutorial, so please read them attentively.
    Edited by: jduprez on Nov 2, 2009 2:29 PM - Sorry Kevin, hadn't seen you latest reply. I completely subscribe to the thought process you recommend.
    Edited by: jduprez on Nov 2, 2009 2:32 PM
    Thinking about it further, I don't completely subscribe... Indeed it looks like a bad idea to make the OP wonder about dialog.setVisible() when JOptionPane enables him to forget about the hand-made dialog. I stand by my own advice ("JDialog" should not even appear in this code extract).

  • Creating management accounts for protected accounts and groups in Active Directory

    I'm following step-by-step instruction for creating management accounts for protected groups that I found in Microsoft book "Best Practise for Securing Active Directory", published april 2013.
    What is confusing me is the "Enabling management accounts to modify the membership of protected groups" step. When I use DSACLS command:
    Dsacls "CN=AdminSDHolder,CN=System,DC=MyDomain,DC=com"/G
    [email protected]:RPWP;member
    what I have to type insted of "member".
    When I use previous command with simple "member" at the end I dont get this:
    Verify that the account has been granted only Read Members and
    Write Members permissions on the DA group, and click OK.
    My account have flag on all properties.
    I hope You understand me.

    The last field is for the attribute to delegate. You can read about it here: https://technet.microsoft.com/en-us/library/cc772662%28v=ws.10%29.aspx
    You can also refer to this for updating AdminSDHolder container: http://social.technet.microsoft.com/wiki/contents/articles/22331.adminsdholder-protected-groups-and-security-descriptor-propagator.aspx
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • I am trying to create a account for my I pad. It's asking for postcode what I shout give. I am from Dubai uae

    I am trying to create a account for my I pad. It's asking for postcode what I shout give. I am from Dubai uae

    I am trying to create a account for my I pad. It's asking for postcode what I shout give. I am from Dubai uae

  • Yoga 11 - can not create an account for the App store,

    I can not create an account for the App store, I live outside of the USA and the only address option is in the USA. Can you help me
    Moderator Note: Edited subject to match content.

    Hi
    Welcome To Lenovo Community
    We are really sorry to hear about the issue you are facing,
    I have verified the Microsoft windows 8 app store has different regions listed
    And you can connect app store using an existing Microsoft account like Hotmail, msn etc.
    Please refer below link
    http://windows.microsoft.com/en-US/windows-8/explore-windows-store#1TC=t1
    Also if you can share the link or screen shot of the app store to help you further
    Do give this a try and let us know  
    Hope This Helps
    Cheers!!!
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
                            English Community   Deutsche Community   Comunidad en Español

  • I'm trying to create an account for my daughter so she can download free apps herself but it is saying that she can not create an account because of birth date?

    I'm trying to create an account for my daughter so she can download free apps herself but it is saying that she can not create an account because of birth date?

    Why dont you create an account on your name and share the password with your daughter then she can download free apps whenever she needs!

  • How can i create an accounts for me kids?

    hello all,
    does anyone know how to create an account for kids under age of 15? they all want to have iPod and iPhone and I am not sure how to add them an apple account

    Open the Mail app and navigate back to the top level of the Mailboxes list. Tap Edit. Find the All Inboxes mailbox and tap it to check. Tap done.

  • ORA-31637: cannot create job SYS_IMPORT_SCHEMA_01 for user SYSTEM in impdp

    Hi All,
    During impdp i am getting this below error:
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_IMPORT_SCHEMA_01 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20090507123340" and "KUPC$S_1_20090507123340" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-04031: unable to allocate 56 bytes of shared memory ("streams pool","unknown object","streams pool","fixed allocation callback")
    Also increase shared memory hence creating the same problem.
    Can anyone sujjest me what would be the cause?
    Thanks in advance...

    Increase parameter streams_pool.
    Set it for example to 100MB
    Then try again.

  • I need to create an account for my daughter and I keep getting the message that the user id already exsists. When I checked to see if the user id was in the system it told me that it didn't find one. How can I create another account for her?

    I do not want to have to assign her another email address because this is the one she has used as long as long as she has had the ipod. She is under my email account but has her own address.What do I need to do to fix this? She got a card for Christmas that I can't put in to an account for her and she cannot use. Any insight would be appreciated. Thanks!

    You must create the account using an Apple device, a Mac (Lion or greater) or an IOS device (IOS5 or greater). Having done that you will be able to sign in from your Windows machine.
    FYI, iCal is an application that can display calendars from iCloud (and others) it is not a calendar itself, merely a calendar client. In Windows Outlook is the calendar client.

  • Apple tech helped me 60 min ago. Told me to create new account for wife. Wiped out her ipod music--now iTunes wont let me download it in her new account so I can restore her music!  Help!!

    Today an Apple tech helped me 60 min ago. Although my wife and I have diff apple ID's, our music was mixing and syncin back and forth.  The tech told me to create new comp user account for wife which I did. I wiped out everything on her ipod and signed in under her ID.  When I tried to put it back I got a message that I couldn't download her purchased music for 90 days because there was another apple ID associated with my computer.  Not sure wether that means mine or hers.  What I am sure of is that I'm dead if I can't get her music back.  Please help.  Thanks,  Craig

    I can understand how that would be frustrating. If you created a brand new Apple ID for her, your Apple ID should not have been affected any more than anyone else's. They are as separate from one another as your Apple ID is from mine.
    Since you just bought your MacBook Air, you can certainly contact AppleCare for this, and I encourage you to do so. They will straighten it out.
    Until then, if you want to troubleshoot this on your own, sign in to your Apple ID here:
    https://appleid.apple.com/
    Click the blue "Manage your Apple ID" button. If it says it no longer exists or gives you other hassles, it's probably not worth your effort to pursue. Have Apple fix it.
    Contact Apple starting with this link - never Google it: http://www.apple.com/support/
    Navigate the pages as follows:
    Under "Contact Us" click the blue "Contact Support" link
    Click the blue "Get Started" button
    Click "More Products & Services"
    Click "Apple ID"
    Click "iTunes Store, App Store or Mac App Store"
    Continue with the appropriate options and choose the contact method most convenient for you.

  • Assigning  of g/l account  for  user defined  field

    IN  the  sales invoice   i am creating the user difined field
    for manual  tax( i.e manual tax the customer how much tax  amount  he will give that much amount he will feed  in that field  )in  the row level  and i want to assign   the g/l account for that  user defined  field 
    please explian what is the  procedure
    Edited by: Philip Eller on May 23, 2008 10:11 AM

    Hi,
    Do you want the G/L account input automatically or manually ? if manually try to use this query FMS:
    SELECT T0.[AcctCode], T0.[AcctName] FROM OACT T0
    In the UDF, just press shift+F2 and select the account code you want to input.
    Rgds,

Maybe you are looking for

  • APEX Application Export/Import

    Hi, I have my application build in APEX on 10.2.0.4 database which now i want to migrate to 11.2. Name of schema on the back of my application is DBADMIN. What i have done is, i just exported the application from my current apex on 10.2.0.4 and tried

  • Unable to open PDF documents on web pages

    Installed Adobe Reader most recent version on a new Windows 7 Pro 64-bit computer. When attempt to open .pdf files found on work related websites, it launches a window that just has a box with a black "x" in it. Checked the Edit, Preferences settings

  • My "r" key needs to be held down

    i just got my brand new macbook pro 13inch i7 today and the letter "R" wont wok, i have to hold it down until it appears and its annoying and i dont want to go through the hassle of retuning it does anyone know how i can avoid that

  • Integration model activation

    Hi All Goal : To activate the Integration model Right now, we are working on quality systems (both ECC and APO). There is a Int.Model for masterdata from ECC to APO. The Integration model is not getting activated. Reason: In APO under /sapapo/cq we h

  • New Version of Flash Player Won't Install Properly

    Cannot install new version of Adobe Flash Player. Windows 7, 32 Bit. I use Firefox. Firefox is updated. Old version was working fine. Tried to install new because old one was slow and I received prompts to update. Uninstalled old one. Now, I cannot w