LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   xubuntu guest account (http://www.linuxquestions.org/questions/linux-desktop-74/xubuntu-guest-account-4175480144/)

maskiepop 10-09-2013 06:43 AM

xubuntu guest account
 
I am using xubuntu 12.04 with xfce. This allows someone to login as a guest using a guest account that gets generated dynamically -- I mean the guest account suffix (6 characters) seem like a randomly generated number during each logon.

I want to be able to allow this guest account to write to a particular folder in the system -- one that is not part of the set of folders generated for the guest account. For example, if I create a a /home/share/guest folderfor all users of the system I would like the guest account to be able to access and write to it.

How do I do that?

Ideally I would like the guest account to have a symbolic link to the /home/share/guest folder.

Thx

m

tux360 10-10-2013 06:12 AM

I am not familiar with this guest account system of xubuntu but you can make a folder world writable by executing "chmod 777 /home/share/guest" on the commandline with sufficient privileges (might need to use sudo or a root shell).
This will make the folder have read, write and execute permissions for everyone.

maskiepop 10-20-2013 09:57 PM

xubuntu guest account
 
Hi tux360,

Thx for your reply; sorry I was not able to get back to you sooner.

The xubuntu guest account is actually created inside the /tmp folder. I can see the various directories used by the guest account inside the /tmp directory of the system. Another interesting thing about the xubuntu guest account is that the guest user, as far as I can see, is not a normal user -- a "normal" user being one created via the useradd command and is known throughout the system.

The most obvious consequence of this is that the guest account cannot access any files in the system other than his own. In addition, the guest account can only create files and folders within the /tmp folder; nowhere else. These files and folders will disappear once the guest account logs off.

I like this feature; mainly because I think it is a smarter and safer way of allowing guest access to my desktop or notebook; it also allows me to surf the net without worrying about most of the net's nasties. But every now and then I do want to be able to create a persistent file within the guest account and keep that file after I logged out from my guest account. Right now, I simply upload to a pastebin on the net. I think that's about it. I was hoping there are other ways a guest account can create a persistent file or folder.

m


All times are GMT -5. The time now is 01:24 AM.