Find the answer to your Linux question:
Results 1 to 7 of 7
dear all, I have problem to access with ftponly1 , here below the comands result: xalot1# xalot1# su - ftponly1 su: warning: cannot change directory to /home/ftponly1: Permission denied -bash: ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    4

    permission denied !

    dear all,

    I have problem to access with ftponly1, here below the comands result:

    xalot1#
    xalot1# su - ftponly1
    su: warning: cannot change directory to /home/ftponly1: Permission denied
    -bash: /home/ftponly1/.bash_profile: Permission denied

    thanks !

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    ftponly1 doesn't have +x on his home directory.

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    4
    it's already done here the proof,

    xalot1#
    xalot1# ls -ltr
    total 32
    drwx------ 2 sjs sjs 4096 Jul 6 2005 sjs
    drwx------ 2 mailsrv mail 4096 Jul 6 2005 mailsrv
    lrwxrwxrwx 1 root root 13 Jul 6 2005 wapuser1 -> /usr/wapuser1
    lrwxrwxrwx 1 root root 12 Jul 6 2005 wsbconf -> /usr/wsbconf
    lrwxrwxrwx 1 root root 13 Jul 6 2005 ppguser1 -> /usr/ppguser1
    drwxr-xr-x 4 remsupp wapgroup 4096 May 11 2006 remsupp
    drwx------ 4 admin admin 4096 Aug 22 2006 admin
    drwx------ 2 ftpuser ftpuser 4096 Jan 3 09:06 ftpuser
    drwxr-xr-x 2 16004 16004 4096 Jan 18 10:36 ftponly1
    drwx------ 2 help help 4096 Feb 22 12:30 help
    drwx------ 3 vasdev vasdev 4096 Feb 24 13:17 vasdev
    xalot1#
    xalot1#

    but the problem is when this user try to connect via FTP tools to this server, he will get indentification error

    thanks !

  4. #4
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    His home directory isn't owned by him, that's a little weird, it's actually not owned by anyone. Type
    Code:
    id ftponly1
    at a command prompt.

  5. #5
    Just Joined!
    Join Date
    Apr 2007
    Posts
    4
    this is the result:

    xalot1#
    xalot1# id ftponly1
    uid=16007(ftponly1) gid=100(users) groups=100(users)
    xalot1#
    xalot1#
    xalot1# su - ftponly1
    xalot1> pwd
    /home/ftponly1
    xalot1>
    xalot1>
    xalot1>

    thanks !

  6. #6
    Just Joined!
    Join Date
    Apr 2007
    Posts
    4
    by command line is working as you have seen, but when i tried with WinSCP i get the following message:

    **********************************************
    Unauthorised access prohibited ---
    This is a closed-access system. If you do not have permission
    to access this system, then log off now. If you remain logged on
    you consent to monitoring of your actions.
    ***********************************************

    thanks !

  7. #7
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    That looks just like an MOTD warning you not to do something stupid ont he system because you are being monitored. What happens when you try to copy a file, do you get an error?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...