OpenSUSE :: Give The Permission Of Load A Partition To A Normal User?
Sep 30, 2010
On Opensuse 11.3,a normal user could not access and modify files in other partitions as the default setting .Is there any way to give a permission to a normal user to do these things instead of do these as a root user?
I need to configure software as debian image to work on server. I need to create user who is not root, but being able to change IP (I don't know if administrators who will install my image need to give static IP to it, so I want to create special user role for them being able to change IP but not able to see some restricted folders in the image).
I'm trying to do something like thisi created a group called www and made this group the owner of the directory/var/www/htmlso i can read and write to it.of course I've add my self to this group, but it seems i can't read and write.the syntax i used was something like chown :www /var/www/html.didn't workonly when i used chown samurai:www /var/www/html i could finally could create new file.the reason i don't want to specify the user name is because I'm thinking of a scenario when i need to give permission to a large group of ppl and don't want to do it user by user.
I have a program(that is written by me) which need super user permission to execute it. But I need to let the normal users to execute it without using 'sudo ./executable' and just './executable'. how i can set the program to execute by the normal users without using 'sudo' or password prompting.
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.
I managed to setup an encrypted partition that's mounted on boot using dm-crypt/LUKS.
The relevant entry from my /etc/fstab:
/dev/mapper/st_crypt /media/st ext4 defaults 0 2
The partition is mounted at boot, and I can write to it as root just fine, but I have no idea how to make it writable by a normal user (i.e the users group).
I am using Suse 11.4, with the Gnome desktop. I have downloaded the VLC player, but cannot work out how to make it play CDs in the CD drive. Right clicking on the Audio Disc icon that appears on the desktop whenever I load a disc doesn't give me an option to Play using VLC. Is there a way to make VLC the default player for CDs?
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit): "http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/" 2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin 3. Make them setuid root:
Code: linux-y5qw:~ # chmod u+s /sbin/mount.cifs linux-y5qw:~ # chmod u+s /sbin/umount.cifs 4. Mount your cifs shares as a normal user:
I would like to allow normal users to run some root scripts (e.g the sound subsytem [alsa]) in cases sound is stuck. What is the best way to allow this to happen in opensuse? There are many ways to do that (and I do not know how to use any of them ) and I am not sure which one is more suse all right.
Using opensuse 11.1 64 bit with kde 4.1.3, apps like k3b, or any multimedia apps can not see the optical drives unless I run the apps as root. I also found that to run bladeenc, I have to do it in a root terminal. Is there a way to set permissions for the normal user? Firefox or any text editor work fine as normal user.
I have just installed VirtualBox on my OpenSuSE 11.1 and created my first VM (Windows XP) - and everything works just fine, but.... I can only run it as user root (if I remember correctly I could only install VirtualBox as root)Anybody know what I need to do so that I can run VirtualBox under a normal user account.
Is 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?
I need to access sdc2 & sdc4 from SUSE, have shared the partitions already but i am unable to write data there. I checked permissions, it says only owner can change the permission. I need to get rw access for a normal user. Have chmod it already but it didnt work.
I am running 11.4 with KDE updated to 4.6.3 and suddenly I cant start Yast or Software Manager using kickoff. It doesn't even open the dialogue to ask for root password. I see Yast appear in the panel for 15 seconds or so then it just disappears without opening a window. If I open a terminal and su to root and run yast2 it work fine.
I have a problem with GUI under SuSE. As root I can enter but as normal user I can't. So the splash occurs I put user name and password but the system try to enter and later it comes back. I try from CLI, I make startx from command line, the same situation. Sometime the system informs me about a error (a temporary file from /tmp(.X0~ )I must remove, I did but next time it tells me that it can't load one module (it gives me a number).
I cannot log into the normal user account after shutting down the OPENSUSE 11.1 system by cutting off electricity. The system always returns to the login page which requires to choose account id and enter passwd even when I type in correct normal user id and passwd. The root account can be used.
We have a ftp server. Red Hat Linux release 9 (Shrike) working on the this server.Ftp server running very good. But I want to give 2 folder permission an user. Is this ssible?Example,We have a user that name is aslan. I want to connect this user to www/html/company/adek folder with ftp connection. Then I am changing this user home folder in the /etc/passwd as aslan:x:511:511::www/html/company/adek:/bin/bash.This user doing succesfuly ftp connection to this folder with a ftp program as Filezilla.Now, I want to also give a different folder connection this user as www/html/company/meleka.Is This user can be connect this 2 folder with ftp connection? Is this possible? Can i give 2 or any more folder connection at the one user account?
I can't log into my normal user account anymore, though I can log in with root without any problem. When I enter my normal user name and password, the screen blinks, a black page appears and after a couple of seconds I get the login screen again. I deleted /tmp files but no changes. I tried to login using command mode. So I hit Ctrl-Alt-F1 and log into root in command mode, then ran init3, then switched user to my normal user and ran startx. It worked and I logged into my normal account, but I can not do this process every time. So, what is the problem? How can I solve this problem? I used to work with my normal user flawlessly. I installed a bunch of software and also copied some folders to my home directory, but I don't know whether these activities caused the problem or not. I'm using KDE4 under openSUSE 11.2.
I am an experienced Linux admin and have been using SuSE for many years. My development machine has had every version of SuSE since '02 and although it is a little old, is in good working order. (AMD 2400, 2 gig RAM, 160 Gig IDE disks - SuSE on disk 2) (OpenSuSE 11.1 with the latest kernel works perfectly. This install is on a spare HDD prior to doing a full install on my usual HDD.)
When I try to install SuSE 11.2 from DVD, the load kernel operation hangs at 97% (using both normal and safe kernel), however, I can install from live CD without any problem. I have tried the same DVD on a few "older" machines and had the same problem. I initially thought it was the actual DVD but re-burning has the same problem. I have also tried another DVD writer - same problem.
I am using Fedora 14 64-bit and after login through a user other than root when I try to open any folder on other partitions I get the message that I don't have permission to access such and such folders.
I have a folder name is /home/kemal. I want to give a permission to an user name is kaplan. I want to see this user name is kaplan that must see kemal folder's contents.
a small lab of linux servers contains two servers. the administrator wishes to permit user settings and project files to be available when users log in on any machine descibe the server processes needed on the servers
How can I give www-data permission to use sudo? I used to assign permission to users to use sudo using KDE but don't know how to do it on a headless server.Basicly I have a web application running that wants to call a command that needs root privs. When it calls this command it's running as www-data. I guess it's not working as www-data is not allowed to use sudo. If it can use sudo I could for example...Code:echo "password" | sudo -S "some admin command here"I could be wrong but i'm petty sure I just need to give www-data permission to use sudo?
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.