Re: .profile question
From: all mail refused (elvis_at_notatla.org.uk)
Date: 08/27/03
- Next message: Alan Johnson: "Re: Samba problems sharing a drive to W2000 (with usermap and SHARE security)"
- Previous message: Will Cardwell: "sftp batched command gets mangled"
- In reply to: Philippe.Dimonte: ".profile question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Aug 2003 18:51:17 GMT
In article <biibbh$t05$1@news-reader2.wanadoo.fr>, Philippe.Dimonte wrote:
>I try to change the original shell by a program of my own but i don't know
>how to execute the .profile
>file from my program in order to keep the ENV variables created. Any idea ?
When a shell starts it conventionally looks at the argv[0] value,
which if it startes with a '-' means this is a login shell and the
.profile or equivalent is used.
man execl (among others)
Are you sure you don't just want to run another program from
.profile with a standard shell ?
-- <peter30kyari@zwallet.com> AWAIT[S] YOUR URGENT RESPONCE 5% will be use for upsetting all the expenses office@register828.com
- Next message: Alan Johnson: "Re: Samba problems sharing a drive to W2000 (with usermap and SHARE security)"
- Previous message: Will Cardwell: "sftp batched command gets mangled"
- In reply to: Philippe.Dimonte: ".profile question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|