Red Hat :: Mounting Network Drive Under A User's Home Folder, Possible?

Apr 25, 2011

This is the command I tried using:Code:mount -t cifs //NAS1/reports /home/user/public_html/reports -o rw,umask=0338,uid=587,gid=584,username=admin,password=passwordIt looks like the user can't access the files on the NAS drive. Is there any way to do this?

View 6 Replies


ADVERTISEMENT

General :: Lock A User Into Websites Folder Not Home Folder?

Jan 9, 2009

id like to lock a user into his websites folder not his home folder. and i dont want him to be able to veiw anything outside that folder, only be able to play with whats inside that folder. is this possible?

View 4 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

Ubuntu :: Copy User Settings / Folders From One User Home Folder To Another?

Jan 10, 2010

I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried

Code:

sudo cp -nRv /home/user1/* /home/user2
but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.

im talking about the .adobe, .amsn ..........

How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.

View 4 Replies View Related

Fedora :: Set Up User's Home Folder Away From Home?

Mar 10, 2010

Wondering if its possible to have a User's home folder that resides in a different partition (could be ntfs or ext). I don't mean mounting /home on a different partition. The home directory will still be available for adding more users but I'd like to have a specific User's folder away from /home

How can one achieve this?

View 6 Replies View Related

General :: Limit Every User To His Own Home Folder Only

Jul 12, 2011

i have a linux server which users connect to with SSH. my users only upload and download content from their /home folder.

Basicly, I want them to be limited to see and use only their home folder.

I read that it might not be a good idea to do so, since they nead read premissions to run programs and scripts, but again: they are only downloadinguploading content to their home dir.

How can I do it?

View 2 Replies View Related

Ubuntu :: Restore A User For A Home Folder ?

Mar 13, 2010

I messed up, and was forced to reinstall the system. my user data ws stored on another partition /home/Andre I installed as a new user "test" How do I make a new user "Andre" such that it uses /home/Andre ?

View 9 Replies View Related

General :: Customized Home Folder For The Every New User?

Jul 8, 2011

I am looking the changes of the home folder location. if create the new user, automatically home folder will assigne to customized location.

View 2 Replies View Related

Fedora :: Mounting 2nd Drive With Permissions For Any User?

Feb 25, 2010

I looked through the guides and didn't find what I was looking for. Here is what I have so far:

[Code]...

That's the drive I am wanting to mount with full permissions for anyone. Right now the folder only has root permissions. Is there a specific group ID I assign this in fstab so it's automatically mounted with full permissions for anyone who logs in?

View 14 Replies View Related

General :: Ubuntu - Limit Every User To His Own Home Folder Only

Aug 29, 2011

Limit every user to his own home folder only.I have a web server running 10.04 LTS and as a newbie in the world of server administration, I'm in a bind.Right now, I have three users. Root, which obviously has access to everything, and two other users that each own a website.For these two users, their website is located in their respective home folder in an extra folder they each have Read, Write & Execute permissions on. This is the only folder they can write to. They cannot delete it, or change anything outside the folder.

So far so good, except that by default, they can also read any file in the system, meaning they can navigate to my other websites' folders and read, for instance, the database passwords from WordPress config files.This is obviously problematic.The users access their files and folders through SSH with FileZilla.

How can I prevent these users from reading sensitive data, i.e. how can I restrict their access to only their home folder?The users must continue to login through SSH with FileZilla (i.e. no FTP solutions)Apache must still be able to access the user's folders (i.e. cannot chmod to 750)Folder containing the command line tools (/bin/bash I think) will probably have to be symlinked in the user's home folder?

View 1 Replies View Related

Ubuntu :: Samba User's Home Folder Is Not Visible?

Feb 16, 2010

I'm having some trouble with the user's home folders in Samba, ubuntu clients.I have a Samba server (Ubuntu Server 9.10)nd a bunch of windows clients and ubuntu clients too.On windows clients, each usercan see his home folder without problems, and the other shared folders too of course.The problem appears in ubuntu (i'm using gnome desktop with nautilus and the plugin for I enter Places->Network->Windowsetwork->DOMAIN->SERVER I only see the public shared folders, but no the samba user's home folder.I tryied connecting to samba through Places->Connect to Server and entering the username (for previous auth just in case) but nothing happens...

If, in nautilus I write smb://server/username, once it asked me for my user and password (but I told the popup to keep the password forever so now it doesnt ask me anymore :S), but it keeps not showing the folder under SERVER, the only way to access it is through smb://server/username directly. Even username@server does not work.Mi auth type in the Samba server is "user", and the auth config at my ubuntu client is also userJust in case.. when I type smbclient -L //SERVER -U username, it shows me the home folder ok.

View 1 Replies View Related

Ubuntu :: How To Change The UID Of A User With An Encrypted Home Folder

Sep 18, 2010

Just did a new netbook install of Lucid. Went through the setup, putting in my usual username etc. But I thought as it's a portable, I'd better select the encrypted home folder option. All went OK.

I have a home network with a NAS and I needed to change the UID to 1004 to match the rest of the network.

That's when it all when wrong. If I do that, I end up with no permissions on the user folder. A bit of a paradox, you can't change UID if logged in, but unless you're logged in, can't access the files.

My attempts to get around it by changing UID's back chowning, changing back etc. have screwed things up completely.

I have managed to open the encrypted folder and chown, but after a reboot it's all back to the original UIDs, but now I can't get in at all.

View 2 Replies View Related

Ubuntu Installation :: Default Home Folder For First User?

Jun 12, 2011

when installing ubuntu, the installer asks for username/login/password of the first user which will be allowed to sudo and administer the system... let's call that user "ubuntu"

what if I want to:

1) Automate those answers (which preseed variables should I set if any?)

2) Change the default home directory only for that user... let say I want it to be /ubuntu instead of /home/ubuntu (because I want /home/ to be empty after setup).

I know I could tweak /etc/passwd after setup (before first reboot) but I would like to know if there is a "clean way" to do that.

View 1 Replies View Related

Fedora :: Seagate USB Drive Not Mounting With User Rw Access?

Jun 25, 2010

by default fedora 13 mounts the drive under /media/uuid, with no read or write access to users other than root. I need to be able to turn the drive on, have it automount so that I can read and write to it without logging in as root every time and dealing with changing permissions on files, etc.

In other distributions, this has worked flawlessly, but I'm not familiar enough with Fedora 13 yet to get it working. I've read the man pages, tried to search, but I can't seem to find a working answer,If I could get this one little inconvenience fixed, I'd be set... loving Fedora so far.

View 2 Replies View Related

Ubuntu :: Change Language Of Home , User , Documents Folder Name?

May 11, 2010

When I installed Lucid and first switched language/locale settings, a window popped up asking me if I wanted to change the name of the Documents, Music, Video etc folders into the new language.

Originally I was worried that this might be some irreversible operation and said no and ticked the don't ask me again box.

It seems though that this is just a cosmetic operation and I'd quite like to use this function now. Does anyone know where I can change the setting to accomplish this?

View 3 Replies View Related

Ubuntu Installation :: Create User With Encrypted Home Folder

Mar 8, 2011

I want to create a user with a encrypted home folder. I tried "sudo adduser --encrypt-home username" but I get following error "adduser: Could not find program named `ecryptfs-setup-private' in $PATH". I installed the cryptsetup package but without result.

View 1 Replies View Related

Ubuntu :: Mount A Drive To Home Folder?

Aug 28, 2010

I have a few drives that I would like to mount in my home directory. I know I need to add something like this to my fstab: /dev/hda2 ~/Music ntfs-3g defaults,locale=en_US.utf8 0 0I just don't know how to find the /dev/hda2 part

View 1 Replies View Related

Ubuntu :: Accessing Home Folder On Another Drive?

Mar 13, 2011

i somehow managed to corrupt ubuntu 10.10 installed on my laptop and subsequently, i loaded a fresh version of ubuntu 10.10 on another partition. i want to access the data in the home folder of the other (previous) partition, but sudo nautilus gives me root privileges only in the current "filesystem" and not on the home folder of the other partition.

although i've been using ubuntu for some time now, but i am largely ignorant about most of the terminal commands.

View 8 Replies View Related

Ubuntu :: Create A User Partition And Move The Contents Of Home Folder Into It

Mar 7, 2010

Gparted shows that my dual boot laptop has the following partitions: [URL] I want to create a partition and move the contents of my Home folder into it.

View 3 Replies View Related

Slackware :: Mounting A Network Drive?

Jul 1, 2011

I have two computers both running slackware on the same network using ext3 filesystems.

What is the easiest and most secure way to mount one drive to the other computer?

View 5 Replies View Related

OpenSUSE Network :: Viruses Detected In Home Folder?

Jun 16, 2010

I just ran a scan of my home folder with avast for linux and it detected multiple instances of 'WMA:Wimad [Drp] . Im pretty sure this is a window based virus so opensuse 11.2 should be actually infected right?

On a small side note is there any point in running a antivirus program on opensuse-do linux viruses exist in the wild? I recently read this Think Linux is free from malware? Think again; it's been hacked. - Computerworld Blogs and this Linux infection proves Windows malware monopoly is over; Gentoo ships backdoor? [updated] | ZDNet

View 7 Replies View Related

Ubuntu :: Home Folder Disappear When Connected To Network

May 28, 2010

I recently upgraded to ubuntu10.04 LTS via update manager. Previous version was 10.04 beta. After upgrading I am facing very strange problem.

1) If I start my laptop with network connection then all the folder under /home get disappear. When I do ls -l /home it says no folder found. As all the folder under home is disappearing it is giving so many errors when I login and as a result of this I am not able to start the gnome UI.
I tried to mkdir under home and it says cannot create directory.
I tried with root login but same error.

2) But it if I start my laptop without any network connection then I am able to see all the folders under /home and able to login successfully without any error.
I tried to mkdir under home and it was successfully.

3) I also tried this option, first start the laptop without any network connection and login successfully ( Able to see all folder under /home) but as soon as I plug the network cable and once it is connected all folder under /home disappear and system starts failing.

How to recover that user as I am having that user since ubuntu8.04 and lots of data and customization is there. My previous 10.04 beta version was working perfectly.

View 4 Replies View Related

General :: Mounting A Drive That Isn't Yet Connected On The Network

Jul 16, 2011

I have an external Samba network storage drive that I mount using 'mount -t cifs -o username=aaa,password=aaa //myserver /mnt/mountlocation', but I'm finding it to be a pain to enter that whole command every time I turn on that drive and connect it to my computer via the network. I could put that command in a script and run a simple script like 'mntdrive' that would run that command for me, but is there a way to have the drive 'pre-mounted' so that if it's available on the network it's mounted?

If I put the mount command in one of the startup scripts or in fstab, would it be available at the mount location when the drive is connected if it wasn't connected when the computer was first turned on? Or is mounting the drive manually, even if by running a script that does it for me, something I'll have to do every time I turn on that drive? Any creative ways around this? Would make things easier if it is possible.

View 2 Replies View Related

General :: Mounting Network Drive During Boot Up?

Jul 28, 2010

i want to know what are all possible ways of mounting network drive during boot up.

I want to mount a remote drive which contains some config file of several process,the drive should be mounted at boot up so that all the configuration files are available during boot up.

View 1 Replies View Related

OpenSUSE Network :: User Parameters Don't Work Mounting CIFS Share?

Nov 18, 2010

I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.

View 9 Replies View Related

Ubuntu Servers :: Mounting /var Partition As Network Drive

Mar 24, 2010

I'm setting up a server, and someone asked me (after I was done installing and formatting) whether the external hard disk attached to this server (with the /var partition) could also be mounted as a network drive for easy file transfer (i.e. drag-drop file transfer without ssh/scp or sftp). If someone has any ideas on how a pre-formatted (ext4) partition can be simultaneously made available as a network drive readable by a Windows machine.

View 3 Replies View Related

Ubuntu :: Copy A File (for Example From/home/user/downloads) Into The C Drive Of Windows?

Feb 27, 2010

I just installed virtualbox and installed windows xp on it. I need windows xp for compiling my Lazarus (Free Pascal Compiler) projects in it, so that something I program on ubuntu works on Windows too. Windows works correctly on the virtual machine, there is just one problem. How do i copy a file from ubuntu(for example from/home/user/downloads) into the C drive of windows(Windows is installed on the virtual machine)

View 4 Replies View Related

Networking :: Mounting Network Drive And Placing Icon Permently On Desktop

Mar 29, 2010

I have managed to get my networkdrive to mount on boot to a windoze share. however how can i get it to permently show the mounted icon on the users desktop?Its so simple a thing that there must be an easy way to do it.

View 14 Replies View Related

Networking :: Mounting XP Network Drive On Machine Works Manually But Not On Boot Up?

Dec 13, 2008

I know this has been covered in many threads before, but I'm stuck not finding my exact situation or an answer. I'm a newbie using a Debian Linux machine as the client and Windows XP machine as the server. I have successfully mounted the XP Network drive on the Linux machine using commands from the root terminal:

mount -t smbfs -o username="Windows Username",password=windowspassword //XPcomputername/folder /mountpoint/

However when I put the command in the ect/fstab file as suggested in several posts, I don't get any result on boot up. I.e. I can't get the network drive to mount on start up, I always have to manually mount it from the root terminal.

View 7 Replies View Related

OpenSUSE Network :: Share The Folder To Only Special User?

Feb 9, 2010

figure out how to share the folder to only special user? For example I have two computers host1 with users: user1, user2, user3 and host2 with same users: user1, user2, user3, how to share test user2 folder form host1 to only user2 from host2 ? My system is openSuse 11.1. There is all Ive understood:

host1
[test]
inherit acls = Yes
path = /home/user2/test (drwxr-xr-x)
read only = No
guest ok = Yes
read list = user2
valid users = user2
admin users = user2
host2
mount t cifs //host1/test /home/user2/test

It works but either user2 from host2 cant write to test share on host1 (drwxr-xr-x) OR all can write in this share (drwxrwxrwx). Ive googled it, searched here and read this: Chapter16.File, Directory, and Share Access Controls, but without successes.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved