Menu

#5 bash noprofile

Stable
open
teletele
None
2019-09-30
2019-09-30
teletele
No

Oprion "noprofile" looks not working.
It is used with "--nologin" for run bash script more safe.
Exist file
/etc/skel/.bash_profile:PATH=$PATH:$HOME/bin
and the same profile file in home directory.
When I'm trying run script
bash --noprofile script
$PATH contains "/home" path.

Related

Bugs: #5

Discussion

  • teletele

    teletele - 2019-09-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,8 @@
     Oprion "noprofile" looks not working.
     It is used with "--nologin" for run bash script more safe.
    +Exist file
    +`/etc/skel/.bash_profile:PATH=$PATH:$HOME/bin`
    +and the same profile file in home directory.
    +When I'm trying run script
    +` bash --noprofile script`
    +$PATH contains "/home" path.
    
     
    • Adriano Morselli

      Sorry but I am very busy, I am moving to my new house, bricklayers, elctricians, plumbers, painters.....my pressure skyrocketed. I do not know when it will be done ;)
      See you

      Inviato da Tablet Samsung.

      -------- Messaggio originale --------
      Da: teletele teletele@users.sourceforge.net
      Data: 30/09/19 16:12 (GMT+01:00)
      A: "[uplos32:tickets]" 5@tickets.uplos32.p.re.sourceforge.net
      Oggetto: [uplos32:tickets] #5 bash noprofile

      • Description has changed:

      Diff:

      --- old
      +++ new
      @@ -1,2 +1,8 @@
      Oprion "noprofile" looks not working.
      It is used with "--nologin" for run bash script more safe.
      +Exist file
      +/etc/skel/.bash_profile:PATH=$PATH:$HOME/bin
      +and the same profile file in home directory.
      +When I'm trying run script
      +bash --noprofile script
      +$PATH contains "/home" path.


      [tickets:#5]https://sourceforge.net/p/uplos32/tickets/5/ bash noprofile

      Status: open
      Stable: Stable
      Created: Mon Sep 30, 2019 02:05 PM UTC by teletele
      Last Updated: Mon Sep 30, 2019 02:05 PM UTC
      Owner: teletele

      Oprion "noprofile" looks not working.
      It is used with "--nologin" for run bash script more safe.
      Exist file
      /etc/skel/.bash_profile:PATH=$PATH:$HOME/bin
      and the same profile file in home directory.
      When I'm trying run script
      bash --noprofile script
      $PATH contains "/home" path.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/uplos32/tickets/5/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5


Log in to post a comment.