Re: Calling User Program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks got it working.

my /etc/profile "cd" to /home instead of /home/$USER

after editing this file things are working fine as expected.

Thanks for your support.

On Wed, Aug 26, 2009 at 10:12 AM, linux newbie<linux.newbie79@xxxxxxxxx> wrote:
> Thanks for suggestion.
>
> On logging from remote-host to my server, It takes me to HOME
> directory of root instead of /$USER directory. Hence even after
> editing .profile in the user-directory, its not working.
>
> Can you please suggest how to configure sshd to user-directory?
>
> On Wed, Aug 26, 2009 at 9:54 AM, Alberto Mijares<amijaresp@xxxxxxxxx> wrote:
>> On Tue, Aug 25, 2009 at 6:41 PM, linux newbie<linux.newbie79@xxxxxxxxx> wrote:
>>> Hi,
>>>
>>> I am running sshd (version 5.2.p1) in my embedded platform and I can
>>> succesfully login
>>> from ssh client in remote host.
>>>
>>> I like to do some modifications. i.e. After typing username and
>>> password, I want to run a application program directly instead of
>>> prompt. I like to know, which file has to be modified?
>>>
>>> Thanks in Advance
>>>
>>
>> For wide-system setting:
>>
>> /etc/profile (sh & bash)
>>
>> Per-user settings:
>>
>> ~/.profile (sh & bash)
>> ~/.bash_profile (bash)
>>
>> Regards
>>
>>
>> Alberto Mijares
>>
>

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux