Server :: Give 1 User Access To Mount 1 Particular Filesystem?
Jun 12, 2011How can I give 1 user access to mount 1 particular filesystem? This is for Debian 6 64bit.
View 4 RepliesHow can I give 1 user access to mount 1 particular filesystem? This is for Debian 6 64bit.
View 4 RepliesIn CGI scripts, there are certain files that are getting "permission denied" when it seems they should be accessible by the apache user. I am running the default package install of apache under fedora. Here is an example:The following is /var/www/cgi-bin/test.pl
Code:
#!/usr/bin/perl
use strict;
[code]...
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.
Apache by defaults points to /var/www/eachdomain. I need to be able to give users ftp access to /var/www/specific domains.
It seems that if I change the owner of /var/www/specificdomains/ to the user in question, then www:data no longer owns the directory and Apache starts to have issues..
What's the best way to set this such that I can allow users to FTP into specific directories, and still have www:data own them? I'm currently using vsftp, but that can easily change.
How give all access (same as root) to other user because i need to run some application s/w from other user login.
View 2 Replies View RelatedI want few users to have access for sending mails in sendmail and others not.
View 3 Replies View RelatedI need to mount a partition that is on a server (via samba).
I am doing the following in my fstab
Quote:
//server/www /media/www cifs rw,user,allow_other,default_permissions,credential s=/root/.smbcredentials,iocharset=utf8,dir_mode=0777,file_ mode=0777 0 0
I can mount it but it just allows me to access with the root user. How can I do it to get access with any user?
Additional Data: I added "rw,user,allow_other,default_permissions" because I thought that would solve de problem but it didn't.
I've got a USB Epson Perfection1200 (usb-id: 04b8:0104) connected to my Fedora 13 x86_64 system. The scanner works fine for me, the console user. If someone logs in to the system via "ssh -X ..." and starts "xsane", xsane reports that no scanner is available.
Googling turns up countless recommendations, mostly identical, which pretty much say:
1. find usb device (lsusb)
2. find bus and dev IDs
3. chmod 666 /dev/bus/usb/BUSID/DEVID
this is a best a miserable hack. I would like to know how to adapt the permissions that hald uses when a usb device is connected. Does someone understand this and can explain it?
I have created vsftp server with grop of users and they can access only to /home/ftp-folder file which i made for them..nw if i apply read rite privilages to this folder then these previlages get by users in the group obvious...bt wot i want z if i creat a folder in /home directory i.e /home/test and i want the particular user in the group can have 777 access and other users in the grop coud nt access that folder..
how to do it...
How can you give total access to the system to a user other than root?
* Make the user a member of the root group.
* Change the UID of the user to 0.
* Add the user to the /etc/sudoers file.
I think none of these are correct answers.
First, I am new to linux I just finished installing Fedora 14 on a different PC which I will be using solely to explore Linux. However the first annoying problem I encountered was that I can't do a lot of things without Linux asking me for the root password. This has become really annoying, I want to stop fedora from asking for root authentication every time I want to explore something here and there.
Among the work-arounds that I've tried and didn't quite work for me are:
1. login as root on the kdm - I can login as root but because I am also encouraging my sister to explore fedora 14 she needs the same access as root too. We have our own preferences so we both need individual accounts that have same access level as root.
2. change userid to 0 (same as root) and modify groups to be exactly the same as root's groups - very bad solution, what it did was make my user a sort of "alias" for the root. It basically uses the same /root/ folder, same settings and all that stuff. Again, my sister and I need separate accounts for a more personal feel.
3. use terminal and go sudo, sudoers, etc - very bad idea, I want to explore using the kde gui. And again I want to eliminate the inconvenience of having to type things over and over again. I'd rather type the password over and over again than having to use terminal and sudo everything.
4. beesu, gksu - anyone knows how to make linux automatically wrap everything with beesu/gksu?
since we are just exploring, we are willing to trade the systems, integrity and security for the convenience of having freedom to explore everything in it. I don't care, it could blow up the pc for all I care (it's old and for experiment anyway).
This exploring linux of ours is a make or break for us to using linux. If there is no solution to this problem, we'll probably scrap the whole "migrate to linux" idea.
I thinking of making Linux recognize our user id the same way it recognizes uid 0 but I have no idea how to do this.
How to give nfs share access to only particular user at client machine.
View 1 Replies View RelatedI'm a new user for oracle,tried to install oracle 10g on redhat linux 5 but gettinh the same error message. response/ runInstaller [oracle2@localhost database_10201]$ sh runInstaller_runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied_
how to give full set of permisions to an user in linux to access a folder?
What is the command I need to create a new user and give the user only permission to a single folder via ftp?
View 3 Replies View RelatedIs it possible to give user only FTP access / browsing rights for certain directory within /srv/www/htdocs and prevent same user to browse all other directories, even user's /home directory on that server?
View 8 Replies View RelatedI want the users of the other machines, which have accounts in my server, to mount their home directories in the server. I managed to do everything, except that for the moment I can only mount their home directories by being the superuser of the server, a privilege that I don't want to give to the users. Also, I don't want their home directories to be mounted automatically. Thus, from a "normal" filesystem share, I want to: 1-The home directories of user in other machines be mountable in the user areas of the server (I can do that already).
2-I want that the users be able to mount by hand their directories, so that the directories are not permanently mounted. Currently, I can only mount and umount being the superuser of the server. I don't want to give superuser privileges to all server users.
3-I don't want their directories to be mounted on startup (otherwise I could simply add the mounts to /etc/fstab). Thus, does anyone knows how can I give the users the privilege only to mount a specific filesystem?
on the following link [URL] section 2 says
Quote:
The following directories need to be readable, writeable and executable for everyone:
* dokeos/main/inc/conf/
* dokeos/main/upload/users/
* dokeos/main/default_course_document/
* dokeos/archive/
[Code].....
I am not at all convinced by the idea of giving permissions to read,write and execute as these Learning Management Systems say. Let me know what you people have to say? What is the best practise in such situations? I have to get all these LMS run on same web server.
I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
View 1 Replies View RelatedI am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a small script to do this :
Code: !/usr/bin/perl -w
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $username = 'user';
my $login_passwd = 'test123';
[Code]...
How do I set up a server to where it does not give a password prompt to access a shared folder?
View 1 Replies View RelatedI want to give access to a student to a server in order to make repeated trials of traceroute to different hosts. We have realized that it is preferable to use the -T option, as it sends TCP packets that are less commonly blocked by firewalls. However, this option is only available to superusers, and I don't want to grant the student such privileges.
View 2 Replies View RelatedI have configured the RHEL cluster suite in RHEL 5.3 64 bit, I have formatted a storage 100 GB LVM with GFS2 filesystem with lock_dlm protocol default journel I have used 8 I have also added this filesystem in cluster resource in GFS resource option, all work fine cluster is able to remount this GFS2 LVM on another node in time of failover. But when I was checking cluster configuration file (/etc/cluster/cluster.conf) in resource syntex it was showing fs_type=gfs so my query is if it uses fs_type=gfs then is it also mount my formatted gfs2 lvm as gfs filesystem in my cluster node rather then gfs2 filesystem. Also how do i check that mounted filesystem is gfs or gfs2, Please clear my doubt.
View 4 Replies View RelatedI installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.
View 3 Replies View RelatedWhen I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$
This only started happening quite recently - before this I could boot to Linux quite happily.
I am trying to mount a file image, like this
mount -o loop /tmp/apps.img /media/apps
But I get the following:
mount: you must specify the filesystem type
I try ext3:
mount -o loop /tmp/apps.img /media/apps -t ext3
dmesg says:
error: can't find ext3 filesystem on dev loop6.
I've also tried ext2, vfat etc. How can I detect the filesystem type of apps.img?
I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.
I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0
What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....
I'd like to add a user to my server that will only have access to a mount point over sshfs. Is there any way I can provide them this access without actually giving them permission to open a terminal on my server? I tried /bin/false and /sbin/nologin already, but /bin/false didn't allow the mount point to be made and /sbin/nologin prevented a login completely (also stopped the mount point from working).
View 6 Replies View RelatedMy wife's XP has crashed and I need to save files. I've discovered the command to mount the hard drive - unfortunately I need to force the mount, but I can't do it because I have to be in root. I can see the root user in the user list, but when I try to switch I can't access it. How I can do it to back up my wife's files. I have Kubuntu 8 and KDE 4.1.
View 2 Replies View RelatedI installed Ubuntu Server 9.10 in a virtual machine, and I'm trying to install the VMware Tools but I can't mount the installer CD: $ sudo mount /dev/scd0 /media/cdrom mount: unknown filesystem type 'iso9660'
View 1 Replies View RelatedI only allow my users to access my web-server (apache) on working hours (mon to fri and 08:00 to 17:00).. how to configure my Apache?
View 2 Replies View Related