Find the answer to your Linux question:
Results 1 to 5 of 5
Hello Everybody I am a new user to linux -can you tell me what files are read while logging into a user. I want to run a shell script when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1

    files used when loggin in


    Hello Everybody

    I am a new user to linux -can you tell me what files are read while logging into a user.
    I want to run a shell script when a user is logged in. no matter if he is on nis or not.

    Thanks in advance

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    10
    If I understand correctly your question, you should do it using the .profile file in the user home directory.

  3. #3
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    I don't know much, but I do know that when a user logs on he will show up through the "who" command.
    /IMHO
    //got nothin'
    ///this use to look better

  4. $spacer_open
    $spacer_close
  5. #4
    Banned
    Join Date
    Jul 2004
    Posts
    947
    it genreally saves the last session when u log out anyway

  6. #5
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    If you use KDE ~/.kde/Autostart

Posting Permissions

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