610 pts.
 FTPUSER Without the Initial Library List
[strong]Hi friends, How can I configure a UserProfile  without the Initial Library List.[/strong]

  This user was configured below:

User profile . . . . . . . . . . > FTPUSR        Name                     User password  . . . . . . . . .   *SAME         Character value, *SAME, * Set password to expired  . . . .   *NO           *SAME, *NO, *YES         Status . . . . . . . . . . . . .   *ENABLED      *SAME, *ENABLED, *DISABLE User class . . . . . . . . . . .   *USER         *SAME, *USER, *SYSOPR... Assistance level . . . . . . . .   *SYSVAL       *SAME, *SYSVAL, *BASIC... Current library  . . . . . . . .   *CRTDFT       Name, *SAME, *CRTDFT     Initial program to call  . . . .   *NONE         Name, *SAME, *NONE         Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB     Initial menu . . . . . . . . . .   *SIGNOFF      Name, *SAME, *SIGNOFF      Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB     Limit capabilities . . . . . . .   *NO           *SAME, *NO, *PARTIAL, *YE Text 'description' . . . . . . .   'Ftpusr test'                                                    Additional Parameters                                                                                                          Special authority  . . . . . . .   *NONE         *SAME, *USRCLS, *NONE...                   + for more values                                             Special environment  . . . . . .   *SYSVAL       *SAME, *SYSVAL, *NONE, *S36 Display sign-on information  . .   *SYSVAL       *SAME, *NO, *YES, *SYSVAL   Password expiration interval . .   *NOMAX        1-366, *SAME, *SYSVAL, *NOMA Local password management  . . .   *YES          *SAME, *YES, *NO            Limit device sessions  . . . . .   *NO           *SAME, *NO, *YES, *SYSVAL   Keyboard buffering . . . . . . .   *SYSVAL       *SAME, *SYSVAL, *NO...      Maximum allowed storage  . . . .   *NOMAX        Kilobytes, *SAME, *NOMAX    Highest schedule priority  . . .   3             0-9, *SAME                  Job description  . . . . . . . .   FTPUSR        Name, *SAME                   Library  . . . . . . . . . . .     QGPL        Name, *LIBL, *CURLIB        Group profile  . . . . . . . . .   *NONE         Name, *SAME, *NONE  Owner  . . . . . . . . . . . . .   *USRPRF       *SAME, *USRPRF, *GRPPRF      Group authority  . . . . . . . .   *NONE         *SAME, *NONE, *ALL...        Group authority type . . . . . .   *PRIVATE      *PRIVATE, *PGP, *SAME        Supplemental groups  . . . . . .   *NONE         Name, *SAME, *NONE                          + for more values                                              Accounting code  . . . . . . . .   *BLANK                                     Document password  . . . . . . .   *SAME         Name, *SAME, *NONE           Message queue  . . . . . . . . .   FTPUSR        Name, *SAME, *USRPRF           Library  . . . . . . . . . . .     QUSRSYS     Name, *LIBL, *CURLIB         Delivery . . . . . . . . . . . .   *NOTIFY       *SAME, *NOTIFY, *BREAK...    Severity code filter . . . . . .   0             0-99, *SAME                  Print device . . . . . . . . . .   *WRKSTN       Name, *SAME, *WRKSTN, *SYSVAL Output queue . . . . . . . . . .   *WRKSTN       Name, *SAME, *WRKSTN, *DEV     Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB         Attention program  . . . . . . .   *SYSVAL       Name, *SAME, *SYSVAL...        Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB 

============ Job Description ======================

                              Change Job Description (CHGJOBD)                                                                                                         Type choices, press Enter.                                                                                                                                      Job description  . . . . . . . . > FTPUSR        Name                             Library  . . . . . . . . . . . >   QGPL        Name, *LIBL, *CURLIB           Job queue  . . . . . . . . . . .   QINTER        Name, *SAME                      Library  . . . . . . . . . . .     QGPL        Name, *LIBL, *CURLIB           Job priority (on JOBQ) . . . . .   5             1-9, *SAME                     Output priority (on OUTQ)  . . .   5             1-9, *SAME                     Print device . . . . . . . . . .   *USRPRF       Name, *SAME, *USRPRF...        Output queue . . . . . . . . . .   *USRPRF       Name, *SAME, *USRPRF, *DEV...    Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB           Text 'description' . . . . . . .   'Default job description'                                                                                                                                                                                                               Additional Parameters                                                                                                                User . . . . . . . . . . . . . .   *RQD          Name, *SAME, *RQD              Print text . . . . . . . . . . .   *SYSVAL                                                                                                             More...                                                                                   Accounting code  . . . . . . . .   *USRPRF                                      Routing data . . . . . . . . . .   'QCMDI'                                                                                                                      Request data or command  . . . .   *NONE                                                                                                                                                                                                                                                                                        CL syntax check  . . . . . . . .   *NOCHK        0-99, *SAME, *NOCHK            Initial library list . . . . . .   TEST          Name, *SAME, *SYSVAL, *NONE                                       PROJECT1                                                                          TESTSRC                                                                           TESTPGM                                                       + for more values   TESTDTA                                        End severity . . . . . . . . . .   30            0-99, *SAME    

              ============ WHEN FTP EXECUTED       ======================                                                              File Transfer Protocol                                                                                              Previous FTP subcommands and messages:                                                 Connecting to host SERVER2 at address XXX.XX.X.X using port 21.                      220-QTCP at SERVER2.                                                                 220 Connection will close if idle more than 5 minutes.                             > FTPUSR                                                                               331 Enter password.                                                                  230 FTPUSR logged on.                                                                 OS/400 is the remote operating system. The TCP/IP version is "V5R3M0".              250  Now using naming format "0".                                                    257 "QGPL" is current library.

Thanks,

RoseMarie

 



Software/Hardware used:
ASKED: September 2, 2010  10:16 PM
UPDATED: September 3, 2010  11:27 PM

Answer Wiki:
<pre> Hi friends, How can I configure a UserProfile without the Initial Library List. This user was configured below: User profile . . . . . . . . . . > FTPUSR Name User password . . . . . . . . . *SAME Character value, *SAME, * Set password to expired . . . . *NO *SAME, *NO, *YES Status . . . . . . . . . . . . . *ENABLED *SAME, *ENABLED, *DISABLE User class . . . . . . . . . . . *USER *SAME, *USER, *SYSOPR... Assistance level . . . . . . . . *SYSVAL *SAME, *SYSVAL, *BASIC... Current library . . . . . . . . *CRTDFT Name, *SAME, *CRTDFT Initial program to call . . . . *NONE Name, *SAME, *NONE Library . . . . . . . . . . . Name, *LIBL, *CURLIB Initial menu . . . . . . . . . . *SIGNOFF Name, *SAME, *SIGNOFF Library . . . . . . . . . . . Name, *LIBL, *CURLIB Limit capabilities . . . . . . . *NO *SAME, *NO, *PARTIAL, *YE Text 'description' . . . . . . . 'Ftpusr test' Additional Parameters Special authority . . . . . . . *NONE *SAME, *USRCLS, *NONE... + for more values Special environment . . . . . . *SYSVAL *SAME, *SYSVAL, *NONE, *S36 Display sign-on information . . *SYSVAL *SAME, *NO, *YES, *SYSVAL Password expiration interval . . *NOMAX 1-366, *SAME, *SYSVAL, *NOMA Local password management . . . *YES *SAME, *YES, *NO Limit device sessions . . . . . *NO *SAME, *NO, *YES, *SYSVAL Keyboard buffering . . . . . . . *SYSVAL *SAME, *SYSVAL, *NO... Maximum allowed storage . . . . *NOMAX Kilobytes, *SAME, *NOMAX Highest schedule priority . . . 3 0-9, *SAME Job description . . . . . . . . FTPUSR Name, *SAME Library . . . . . . . . . . . QGPL Name, *LIBL, *CURLIB Group profile . . . . . . . . . *NONE Name, *SAME, *NONE Owner . . . . . . . . . . . . . *USRPRF *SAME, *USRPRF, *GRPPRF Group authority . . . . . . . . *NONE *SAME, *NONE, *ALL... Group authority type . . . . . . *PRIVATE *PRIVATE, *PGP, *SAME Supplemental groups . . . . . . *NONE Name, *SAME, *NONE + for more values Accounting code . . . . . . . . *BLANK Document password . . . . . . . *SAME Name, *SAME, *NONE Message queue . . . . . . . . . FTPUSR Name, *SAME, *USRPRF Library . . . . . . . . . . . QUSRSYS Name, *LIBL, *CURLIB Delivery . . . . . . . . . . . . *NOTIFY *SAME, *NOTIFY, *BREAK... Severity code filter . . . . . . 0 0-99, *SAME Print device . . . . . . . . . . *WRKSTN Name, *SAME, *WRKSTN, *SYSVAL Output queue . . . . . . . . . . *WRKSTN Name, *SAME, *WRKSTN, *DEV Library . . . . . . . . . . . Name, *LIBL, *CURLIB Attention program . . . . . . . *SYSVAL Name, *SAME, *SYSVAL... Library . . . . . . . . . . . Name, *LIBL, *CURLIB ============ Job Description ====================== Change Job Description (CHGJOBD) Type choices, press Enter. Job description . . . . . . . . > FTPUSR Name Library . . . . . . . . . . . > QGPL Name, *LIBL, *CURLIB Job queue . . . . . . . . . . . QINTER Name, *SAME Library . . . . . . . . . . . QGPL Name, *LIBL, *CURLIB Job priority (on JOBQ) . . . . . 5 1-9, *SAME Output priority (on OUTQ) . . . 5 1-9, *SAME Print device . . . . . . . . . . *USRPRF Name, *SAME, *USRPRF... Output queue . . . . . . . . . . *USRPRF Name, *SAME, *USRPRF, *DEV... Library . . . . . . . . . . . Name, *LIBL, *CURLIB Text 'description' . . . . . . . 'Default job description' Additional Parameters User . . . . . . . . . . . . . . *RQD Name, *SAME, *RQD Print text . . . . . . . . . . . *SYSVAL More... Accounting code . . . . . . . . *USRPRF Routing data . . . . . . . . . . 'QCMDI' Request data or command . . . . *NONE CL syntax check . . . . . . . . *NOCHK 0-99, *SAME, *NOCHK Initial library list . . . . . . TEST Name, *SAME, *SYSVAL, *NONE PROJECT1 TESTSRC TESTPGM + for more values TESTDTA End severity . . . . . . . . . . 30 0-99, *SAME ============ WHEN FTP EXECUTED ====================== File Transfer Protocol Previous FTP subcommands and messages: Connecting to host SERVER2 at address XXX.XX.X.X using port 21. 220-QTCP at SERVER2. 220 Connection will close if idle more than 5 minutes. > RTPUSR 331 Enter password. 230 RTPUSR logged on. OS/400 is the remote operating system. The TCP/IP version is "V5R3M0". 250 Now using naming format "0". 257 "QGPL" is current library. </pre>
Last Wiki Answer Submitted:  September 2, 2010  10:17 pm  by  PutzGrilla   610 pts.
All Answer Wiki Contributors:  PutzGrilla   610 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Sorry, When I connect with the user FTPSUR (not RTPUSR) my first current library is QGPL.

 610 pts.

 

How can I configure a UserProfile without the Initial Library List.
…my first current library is QGPL.

What current library do you want?

FTPUSR is currently set up this way:

Current library  . . . . . . . .   *CRTDFT

The definition of *CRTDFT is partially given in the <help text> for that attribute. Most system functions will use QGPL when no current library is assigned. QGPL is the system “General Purpose Library”. It’s used when nothing else fits.

If you can’t think of anything better, then create a library named FTPUSR and set it as the current library.

However, all of that is about just “current library”. A library list has a number of additional possible libraries. If you don’t want additional libraries in the user portion of the library list, then change the initial library list on the FTPUSR job description to *NONE.

Exactly what do you need to accomplish? What business purpose are you working on?

Tom

 108,330 pts.

 

Are you trying to isolate FTPUSER to the IFS? Using the HOMDIR parm in the CHGUSERPRF command can accomplished. You will also need to create a data area named
QFTPUSERIS in library QUSRSYS. The data area is a single character with one of 3 values.

A value of “0″ is equivalent to the the data
area not existing and user isolation is disabled

A value of “1″ will enable user isolation for FTP users
with a home directory in the ROOT file system; FTP users with
a home directory in QSYS, QDLS, QOpenSys, QLANSRV, or QOPT
file systems will not have user isolation and the behavior
will be as if user isolation was disabled. FTP users with a
home directory in the supported ROOT file system where that
directory does not exist will not be allowed to user FTP.

A value of “2″ will enable user isolation for FTP users
with a home directory in the ROOT file system; FTP users
with a home directory in QSYS, QDLS, QOpenSys, QLANSRV,
or QOPT file systems and users whose home directory
does not exist will not be allowed to use FTP.
source

 365 pts.