Yes, we can use /etc/ instead of /etc but still in directory list automatically system added /SYSTEM/etc as prefix, which is not correct and it make /etc as symbolic and I am not able to delete sub directory like SSh under /etc etc.

Please suggest me the way to solve this problem.

Regards
Saurabh


                                 Directory List

Select one or more files with / or action codes. If / is used also select an action from the action bar otherwise your default action will be used. Select with S to use your default action. Cursor select can also be used for quick
 navigation.  See help for details.
 EUID=0   /SYSTEM/etc/
Type Filename Row 1 of 27
 _ Dir   .
 _ Dir   ..
 _ Dir   bpa
 _ Dir   cmx
 _ Dir   cron
 _ Dir   dce
 _ Dir   dfs
 _ File  inetd.conf
 _ File  inetd.pid
 _ File  init.options
 _ Syml  ioepdcf
 _ Dir   ldap
 _ File  log

On 6/1/2011 2:32 AM, Neubert, Kevin wrote:
For such symbolic links in ISHELL add the trailing slash (e.g., /etc/, /var/, 
etc.).

Regards,

Kevin

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
saurabh khandelwal
Sent: Tuesday, May 31, 2011 10:28 AM
To: [email protected]
Subject: Delete Sub directory under /Service

Hello,
              We are in the process of installing IBM Ported Tool. To be
on safe side we changed DDDEF  from  *  to /Service* and mounted root
file system on this.

              This installation process create couple of sub directory
like SSH under /etc and  RUN directory under /var.  But these sub
directory  ( RUN and SSH) were already existing under ( /VAR and /ETC).

              So we wanted to delete it . But when I tried using ISHELL
and checking the structure of  /etc , I got surprised and seen below result.

                         Symbolic Link Attributes

   Pathname : /etc
   External link  . . : 0
   File size  . . . . : 12
   File owner . . . . : STCUSER(0)
   Group owner  . . . : STCGROUP(1)
   Last modified  . . : 2008-10-17 11:55:58
   Last changed . . . : 2008-10-17 11:55:58
   Last accessed  . . : 2008-10-17 11:55:58
   Created  . . . . . : 2008-10-17 11:55:58
   Link count . . . . : 1
   Device number  . . : 1
   Inode number . . . : 3238
   Seclabel . . . . . :
   Symbolic link contents:
                                                            More:     +
*    $SYSNAME/etc
*
   In this it has created the symbolic link for /etc and incorporated
$SYSNAME before that. I am not sure how system did it .

The same when I see directory structure of /etc/ssh



*Directory List*

Select one or more files with / or action codes.  If / is used also
select an
action from the action bar otherwise your default action will be used.
Select
with S to use your default action.  Cursor select can also be used for quick
navigation.  See help for details.
EUID=0 *  /SYSTEM/etc/ssh/*
    Type  Filename                                                  Row 1
of 13
_ Dir   .
_ Dir   ..
_ File  moduli
_ File  ssh_config
_ File  ssh_host_dsa_key
_ File  ssh_host_dsa_key.pub
_ File  ssh_host_rsa_key
_ File  ssh_host_rsa_key.pub
_ File  ssh_known_hosts
_ File  ssh_prng_cmds
_ File  sshd.sh
_ File  sshd_config
Command ===>
_________________________________________________________________

   It  has incorporated  /SYSTEM  before /etc/ssh automatically.


Also when I try to see*/Service/etc/ssh* path, System open below detail

                                  Directory List

Select one or more files with / or action codes.  If / is used also
select an
action from the action bar otherwise your default action will be used.
Select
with S to use your default action.  Cursor select can also be used for quick
navigation.  See help for details.
EUID=0 */SYSTEM/etc/ssh/*
    Type  Filename                                                  Row 1
of 13
_ Dir   .
_ Dir   ..
_ File  moduli
_ File  ssh_config
_ File  ssh_host_dsa_key
_ File  ssh_host_dsa_key.pub
_ File  ssh_host_rsa_key
_ File  ssh_host_rsa_key.pub
_ File  ssh_known_hosts
_ File  ssh_prng_cmds
_ File  sshd.sh
_ File  sshd_config
Command ===>
_________________________________________________________________


Because of automatic symbolic link creation, we are not able to delete
ssh and run directory under /etc and /var.

Can you please help me, what are changes I have to make to complete my
process, so that I can delete my ssh and run sub directory.


Regards
Saurabh



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to