Fedora :: How To Change Users /home
Jul 7, 2011
Right i did a clean install of Fc15 and used a custom layout with separate /home partition. when it all installed It had created /home in the /root partition. so I then moved the /home directory to the partition I intended, added the relevant fstab entries and re granted permissions etc to the relevant files. All done with a live cd.
the problem is when i rebooted all settings worked as the partitions mounted with all the /home directories and all my user settings are in tact but when i click home in KDE's kick off it tried to open root? So all im wondering is how could i change the default /home back to my user account? as all i seem to find online is how to specify a /home with useradd
View 3 Replies
ADVERTISEMENT
Nov 8, 2010
how to change when running command "adduser" or "useradd" the placement of the users home directory. Have tried editing the /etc/default/useradd file with no results.
I want it to be placed in /var/www And I would also want to know how more folders and files can be created in the home directory automatically.
View 6 Replies
View Related
Jan 20, 2010
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
So far I have created:
chroot_list
user_list
[code]....
View 1 Replies
View Related
Aug 24, 2010
How to identify how large the home volume of users? I wanna know how large are the volumes of each users and I also want to limit one of the users. I just want him to have about 500mb. How to I do this?
View 3 Replies
View Related
Jan 25, 2011
I'm a refugee from WindowsXP, running Fedora 14 with three user accountsMy problem is that I need the primary user (userd 500) to be able to have full access all other users' files in their home directories so that user can copy, move, delete, etc.I tried making that user a member of the other users' groups - but I still get the 'not got permission' error when I try to access their home directories
View 8 Replies
View Related
Apr 5, 2011
CentOS 5.5
I am trying to add new users, when I use the command: # useradd newuser
I get: useradd: cannot create directory /home/users/newuser
I went to my /etc/skel and when I use the command ls it displays:
home
and when I go into /etc/skel/home I have the two directories that I created.
I am logged in as root, and when I ls cd / it shows /home, when I cd into /home everything looks normal.
How do I get this error to stop so I can add new users?
View 7 Replies
View Related
Nov 1, 2010
We are trying to set up a classroom training environment where our SIG can hold classes for prospective converts from Microsoft/Mac. The ten machines will have /home/student01..10 and /home/linsig01..10 as users. We want /home/student01 to be able to explore and sudo so they can learn to administer their personal machines at home. We don't want them to be able to modify (sudo) /home/linsig01. I've seen the tutorial on Access Control Lists but I'd like other input so we get it right the first time.
View 3 Replies
View Related
Jun 19, 2010
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?
View 10 Replies
View Related
May 21, 2010
I have an SFTP server using OpenSSH on a server running Fedora 12. I want to chroot my sftponly users into their home directory but I want to let them have write access to their upload/ folder. Right now users can log in and view & download items, but for some reason I can't get write access to work. Here's some info:
username: testuser
group: sftponly
from /etc/passwd:
testuser:x:501:501::/home/testuser/:/bin/false
[code]...
View 1 Replies
View Related
Apr 12, 2011
I see this questioned asked a lot and figured this tutorialThis tutorial explains how to create an SFTP server which confines (or chroot) users to their own home directory and deny them shell access.
View 1 Replies
View Related
Sep 1, 2010
My Fedora box is giving me an SELinux security error:
Code: Summary:
SELinux is preventing the samba daemon from reading users' home directories.
Detailed Description:
SELinux has denied the samba daemon access to users' home directories. Someone
is attempting to access your home directories via your samba daemon. If you only
setup samba to share non-home directories, this probably signals an intrusion
attempt. For more information on SELinux integration with samba, look at the
samba_selinux man page. (man samba_selinux)
Allowing Access: If you want samba to share home directories you need to turn on the
samba_enable_home_dirs boolean: "setsebool -P samba_enable_home_dirs=1"
Fix Command:
setsebool -P samba_enable_home_dirs=1
Additional Information:
Source Context system_u:system_r:smbd_t:s0
Target Context unconfined_u:object_r:user_home_dir_t:s0
Target Objects /home/micah [ dir ]
Source smbd
[code]....
View 2 Replies
View Related
Feb 19, 2010
I have squid server running FC7. i have created a ncsa authentication for windows user to use internet through squid proxy.
My problem is that the each created user should be able to change their password.
- Is there a way, using NCSA authentication, to allow users to change their passwords?
- Is there a way to use windows AD password for squid authentication. if so how?
View 3 Replies
View Related
Feb 3, 2011
I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords. I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution.
View 1 Replies
View Related
Sep 22, 2010
I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?
View 2 Replies
View Related
Apr 16, 2010
I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?
View 5 Replies
View Related
Nov 2, 2009
When I booted up this morning the contents of my Home directory are all showing up on my desktop, and there is no single Home folder. How did this change, and how can I change it back so that the Home folder is on my Desktop with the contents inside of *it*?
View 5 Replies
View Related
Dec 19, 2009
I was playing with some gtk2 themes and , unaware of the consequences, i manually changed folder icons from folder properties for some of the folders (desktop, document, music, etc) in my home directory. The problem now is that these folder icons do not change when i change the icon theme. how can i bring it back to normal?
View 1 Replies
View Related
Mar 31, 2011
I don't quite understand /etc/skel. I know that everything in /etc/skel will effect all NEW users, and that's about it.
Basically, what I'm trying to do is add the directories "home" and "work" to the users /home directory.
How do I do this?
View 2 Replies
View Related
Dec 16, 2010
How would i go about restricting users to there home dir in sftp and in ssh so that they can not go poking about other dir and files thats above there home dir ?Operating systemCentOS Linux 5.4 Kernel and CPULinux 2.6.18-194.8.1.el5.028stab070.5PAE on i686
Also it will have to be a low resource usage as i dont have much memory on it
View 3 Replies
View Related
Apr 20, 2010
I want to backup all the data in my /home folder/partition (before upgrading).
1. In How to migrate to a new openSUSE version - openSUSE it is only written how to backup *one* users data.
If you know the path to your external harddisk, just open a konsole and do:
Code:
$ su
1. cd /home
2. cp -b -vvv username_to_be_backed_up /media/<folder_of_your_external_harddisk>
How can I backup *all* users' data in one folder "home-double"?
2. Has the external disk have to have any special file system?
I have an 500 GB disk in fat with some data already on it. Can this be used? Or do I have to make an new (ext3?) partition on my external hard disk to preserve permissions? Do I have to worry about big files under FAT?
3. Should I make anything to get sure that all data is the same in "home-double" as in "/home"?
Now I am using (on my Samsung X20) openSuse 11.1 and Gnome 2.24.1 (mostly, 1 account is using KDE) and Kernel Linux 2.6.27.45-01.1-pae. "/home" is on an separated partition (as part of an extended partition). I have also 2 NTFS partitions for Windows XP (System and Data), and a FAT, a root (/) and a swarp partition.
View 9 Replies
View Related
Sep 19, 2010
After working with a more or less stable system I decided to install 11.3 on my system. Atm I am working with a updated 10.3 (prop state is 11.2 now after kernel update) Installed is Gnome, KDE3 and KDE4 - using KDE3
Now the question can I reinstall Opensuse 11.3 to my root partition and keep /home successfully? It is on a separate partition (Doing backup atm also). I understand that I will have to set it as mountpoint during installation. When asked to create user I stopped as I am scared if I add a user with the same name as on my old install it will overwrite the current folder in mounted /home... I seriously like my old username and want to keep it - can i safely add the user during install? will my stuff be still there?
View 6 Replies
View Related
Jan 29, 2010
is it possible for two users to share a home folder? the idea is to allow for my home directory which is also my web server document root to be shared with another user on the FTP i currently have vsftpd which is set to allow local users to access their home directories but i dont want to give my password away, but i dont mind them having access to the files and folders
View 1 Replies
View Related
May 30, 2011
I have two partitions on my HD partition1 mount point / and partition2 mount point /home. I had ubuntu 11.04 32bit installed and wanted to switch to 64bit so i reinstalled ubuntu and chose the same boot points. Since i reinstalled i had to create a new user and it created a new home folder. Now i want to replace my current users home folder with the previous home folder i had.Would a simple rename work?
View 2 Replies
View Related
Aug 3, 2010
I don't know what i have done by mistake.
[root@server1 ~]# su - user
su: warning: cannot change directory to /home/user: Permission denied
-bash: /home/user/.bash_profile: Permission denied
-bash-3.2$ cd ~
-bash: cd: /home/user: Permission denied
-bash-3.2$
View 2 Replies
View Related
Jan 3, 2011
Having been converted to using "Linux" about 8 months ago, and gaining confidence to try different distros, and figuring out how to 'keep' my Home folder, I've had great fun trying them out and learning as I go. The latest distro I'm trying is Kubuntu, which I really like and will keep for a while. However, when I was partitioning in the set-up, I omitted to create my home folder. Instead I now have is a partition the size of my "old" home folder, and to which I have to sign into to gain access. The files are all there so that is no problem.
1. What i would like to know is if this set-up is OK, or should I change it so that it is actually in the home folder (if so how?( a re-install?))
2. If I should decide to try out another distro in the future will this be safe to change to "home"?.
View 3 Replies
View Related
Feb 11, 2010
I have a debian-based ftp server running that I have created a few user accounts on. I will have clients uploading files to the server via ftp soon, and I need a way to restrict their access to only their home folders. I am not familiar with chroot, but from what I read, it can be used to restrict a user to their home folder, and that sounds perfect. How can I do this?
View 4 Replies
View Related
Jul 8, 2010
I have a box with multiple users on it and I want everyone to be able to have full access to their home folders, but not be able to see the contents of /home/ or another user's home folder (I.E. bob has full access to /home/bob but cannot access or even see the contents of /home/john)Right now users can see other user's home folders but can't modify what's inside. How do I prevent them from seeing the contents at all?
View 1 Replies
View Related
May 19, 2010
I used the command sudo chmod 0750 /home/Gianni to make my home folder private. Now, I would like that another user in my pc can read files in a subdirectory of my home. I was running several commands with chmod and chown and I tried with Nautilus too, but without success. I just would like to place a link on the second user's desktop, that he can click on and access my subdirectory.
View 7 Replies
View Related
Nov 25, 2010
how can i increase my user's home folder size to 3Gb or more? of-course with using webmin
View 5 Replies
View Related
May 29, 2011
How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.
I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.
View 9 Replies
View Related