Find the answer to your Linux question:
Results 1 to 3 of 3
is it possible to create a user (eg, john) account without a home directory for that user (eg, /home/john) and yet he is able to perform tasks on that desktop ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11

    working without a Home directory

    is it possible to create a user (eg, john) account without a home directory for that user (eg, /home/john) and yet he is able to perform tasks on that desktop gracefully? for example, surfing on the internet, using googledocs etc.

    i created such an account but i can't even log into it smoothly.
    the reason for wanting to do something like this is to disallow the user to do any writes to the filesystem at all.

    how do LiveCDs work in that sense? they do not have a writable disk. How difficult would it be to do modify a linux OS in the hard drive to do something like that?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Hello,

    LiveCDs usually employ ramdisks for this. These are filesystems created only in RAM. The home directory is then created in that filesystem.

    This way, the user can write anything he wants to his temporary home directory. When she logs out or the computer is shut down, the memory is freed and everthing that has been written to it will vanish.

    Linux Ramdisk mini-HOWTO
    Debian GNU/Linux -- You know you want it.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11

    Solved

    thank you! i followed the HOWTO and i think it works for my problem!

Posting Permissions

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