OpenSUSE Install :: Guest User Able To Read Home Directory
Sep 17, 2010
I've created a guest user in the group "user." I'd like to limit its read access to its own home directory. However, by navigating through File system>home it's able to read my home directory. I was under the impression that users were limited to their own home directories. Am I missing something, or is there a group I can assign this guest to, to limit its read access to its own home directory? I've read about Pessulus (I use Gnome), but that seems to be geared toward limiting access to applications, not directories.
Ideally, I'd like to create a group that cannot navigate through any files except its own home directory. But it seems that if I try to do that, the guest user will not be able to execute any applications. I've read all the posts (and other forums) I could find about creating such a limited account, but the chroot jail is beyond my understanding. I get the feeling that it's geared toward networks.
root user won't be able to read the "active" xguest home directory (ll /home/xguest will only show an almost empty folder with content from /etc/skel). How can a root user list the folder of an the xguest home directory (while xguest is logged in)?
I am new to deb package. I have read some docs, but did not know how to specify the destination for to-be-installed files. For example, I want to install under user's home directory. How to specify that?
1.User login/authentication via a single NIS server. 2. User home directory should also be on the Same NIS server. 3. If possible to setup a single shared home directory for all users.
OpenSuse version 11.2 There are twelve workstations from which users will login using the NIS authentication. I have succeeded in setting up NI server. However login fails as the home directory is not accessible.
Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.
By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me] [me]@[machine]'s password: Last login: Wed Jan 6 18:34:33 2010 from [machine] Could not chdir to home directory /home/[me]: Permission denied [[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??
I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.
I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.
i have rhel 5.2 and i want to create user using useradd command without creating user home directory and not throwing any warning/error about not creating any home directory.i have tried useradd -u "$NEW_UID" -g <gid> -d "/home/$1" -M "$1"where $1 is user name and $NEW_UID is i am calculating.it throws error as useradd: cannot create directory /home/$1which i dont want to come , how to prevent this?
i'm new to linux and just installed Ubuntu and decided to play around with it. i just executed
Code: useradd test which supposedly creates a folder in the home directory '/home/test' but when i look in there i can't see it i also did a
Code: grep test /etc/passwd which returns: 'test:x:1001:1001::/home/test:/bin/sh' which i believe means it is meant to exist.
Addendum: I have also now noticed that when i log in and log back in i have the option to login as 'test' but it prompts me for a password which i did not set :s
I get this error when I boot opensuse default and fail safe. It takes me to a console log in, which works. This happened after new kernel install in Linux Mint, which is unbootable atm. I can boot windows, bsd but no Linux.
Not sure what the problem is, but my home directory or /home partition is acting up so that I cannot see the hidden directories in my home directory.
If I type "ls" I get the display of all my files and directories.
If I type "ls -l" I get the display of files and directories.
If I type "ls -a" or "ls -la", the terminal hangs.
Any thoughts? I have tried creating myself a new account and moved all my files over, then changed the ownerships to the new account. However, now the new account is acting the same way.
I have a problem from time to time. Now is such a time. Nautilus is not able to read/enter my own home directory. It can enter/read ANY other directory, but my own home directory. Killing the Nautilus process, doesn't help. Logging out doesn't help. I need to reboot to get nautilus to read my home directory. Sometimes, it suddenly appears after a couple of minutes, but not always. What is taking so long time or causing the hanging? What should I do?
I have just followed the instructions here: Upgrade/Supported - openSUSE to upgrade from version 11.1 to 11.2. When it was upgrading the system, by using: It had problems with a couple of rpms (one oppenofice extras and the other i cant remember). I went away for a moment and when i returned the computer was blocked. I whaited to no avail. I pushed the power button and turned of the PC. I started it again, and in the boot menu it still said version 11.1, but the background was not that of 11.1, but that of 11.2. I booted but did not started X windows, worse still my /home/ directory is empty!
I am having a problem setting up an encrypted home directory with openSUSE 11.3. I used Yast User and Group Management to edit an existing user to encrypt the home directory and the user.key and user.img files were created in the /home directory. I tried it out and logged in as user and created a new file. I logged out and logged in as a different user and was able to see the newly created file in the first users home directory.
I figured I did something wrong so I went back to Yast and deleted the user. I deleted the /home/user directory using file manager su mode. I tried again to create a new user with an encrypted home directory using Yast and now when Yast tries to write the changes I get an error: "pam_mount is already setup for user. Use --replace to replace the existing entry." I do not know how to proceed from here except to try with a different user name as I do not understand what the error message means and what command to use --replace with.
My machine telling me that my home directory is running out space,It is said 95% in usage.Try to delete the big unwanted files in users (just two user in my machine),df ing, but the home usage status keep on 95%.
One more thing, as you can see I also set that only the owner of the directory (which is me again) can read and cd (the execute bit) to the directory. how come user 'root' can read the content of the file ?
Code:
# id uid=0(root) gid=0(root) groups=0(root) # cat /tmp/testperm/file.txt Hello world
I want to do something that would make my life easier. Problem:
1. I use OpenSUSE as my main OS for over 2 years now. BUT I like playing with a flavor of the month OS.
2. Virtual OS installs are not my cup of tea. a) You don't get a "true" feeling for the OS without it being installed on metal. b) I have a OLD cpu and virtual anything is painfully slow.
Solution: Split the /home directory into three partitions.
1. Shared /home partition holding all visible data files
2. OpenSUSE /home partition having all the hidden .files and .directories for its configuration.
3. Flavor of the month OS /home partition having all the hidden .files and .directories for its configuration.
Reasoning: I can therefore install another OS or Distro and just format and install to 2 partitions. I still have all my documents and files in a separate shared partition.
Issues: 1. I understand why they made the configuration files in /home for multiple users, but when someone wants to keep trying out different things it causes problems. 2. I don't want to place my files on my NAS. I have the same issue. My config files are saved in the NAS/home/and I can't share it without headaches. Doesn't solve my issue. 3. A symbolic link (soft) won't work since it will not update itself if files are moved. 4. Drop Box won't solve my issue and just take up space. 5. Syncing the /home/ folders between the two would take double the space. Just an issue with videos music and pictures. 6. If I make any changes won't this causes issues with the operating system and applications placing .config and defaults to the wrong place?
Solution I can't figure out how to process:
1. Save my .config files on a separate partition.
2. Making a link for each folder from the SUSE or Flavor of the month's /home folder to the storage /home folder located on a separate partition.
I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:
Code: dyn-0a2a1f40:/ # df -h .....
That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of
Code: dyn-0a2a1f40:/ # du -sk /home 10548452 /home
I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:
I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.
I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.
I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.
However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?
Using SUSE 11, I'm trying to change my existing login user id HOME directory to use encryption. I use YAST to do this, just by clicking the ENCRYPTION box inside the USER AND GROUP MANAGER tool.I receive this error message -- "Not enough disk space left to copy existing data".Which file system do I need to add space to?Here are the filesystem existing sizes --
I have no ACLs in place yet but want to use a user called ldap-auth-user to bind to the ldap servers directory from the client servers. However I keep on getting ldap_bind: Invalid credentials (49). Error. I know the UserPassword is correct because I can log into a server using that id and password through the LDAP directory. I am guessing it has something to do with the way I created the account.
iam learning to setup a NFS server with fedora14. I have gone through couple of materials for this topic. I have a doubt. Say if i have user1 till user5 on my NFS server with their home directory under the /home and the /home directory is shared. If user1 logs into a client machine then will he be able to see home folders for the other users or just his own home folder. Because in the /etc/exports file there was an option saying "subtree" and according to my understanding this means that the subdirectories under /home will also be shared. Does that mean all the users should be able to see all other users home directory and its contents but not read/write?? Correct me if iam wrong.
I've a user account in a remote machine. but it doesn't have a home directory in that machine.Is it possible to create a home directory without having root account details. If yes, how it can be done.