Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I'm new to (K)Ubuntu. Can you anyone please advice me to create a profile settings and network drive can be mapped automatically when user login to the (like ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    Logon Profile and Network Drive

    Hi All, I'm new to (K)Ubuntu.
    Can you anyone please advice me to create a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    54
    When you are log into your unix system, a file called .profile is read from your home directory, which you can create/modify to perform any tasks you would like upon login. So you would put things like your mount command for mounting your network drive here.

    Additionally, most shells also have a dot-rc file, e.g. .bashrc, .kshrc, etc. which is run when that shell is launched. So if your shell (as defined in /etc/passwd) is bash, you could also put your startup stuff in the .bashrc file in your home directory.

Posting Permissions

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