Debian :: Permissions Of System Users

Feb 27, 2015

I'm building a small web gui to connect a 3g modem with wvdial via web interface using perl cgi. Which permissions I should use. Now when doing "wvdial 3gconnect" from the perl script it don't have permission to do anything, reading config files, accessing the modem etc.

Its just a little raspberry with only 1 user not available from the internet so its not a problem with loose security. Is there some easy way to let the www-data user get system wide permission without setting the permissions on each thing it should access?

View 3 Replies


ADVERTISEMENT

Ubuntu / Apple :: Cross-system Users And Permissions?

Oct 24, 2010

I just finished installing Lucid Lynx on an iMac7,1. I would like to still be able to access my Mac Documents directory from within Ubuntu, so I can have a common directory that both systems can access. Right now, however, I am unable to do that. It looks like it might be a permissions issue- ie I am a different 'user' on both systems, so I don't have access to my Mac files. Is there a way to have the same 'user' account for both systems? If not, could a common 'group' be created in both systems that both of my 'user' accounts have access to?

View 8 Replies View Related

Debian :: Users / Groups Setup And Permissions

Jul 13, 2010

I am used to setting up users and groups on my daughters computers with Ubuntu installed.
user: magz (daughter)
user: nigel (me)
group: nima

We each have our own folder for files i.e. magz and nige. This has always worked well and it didn't matter which user is logged in we could create and access files in the other users folder with full permissions.
root@nbsq: /media/2xfi/files# ls -l
total 8
drwxrwxr-x 9 nigel nima 4096 Jul 13 09:45 magz
drwxrwxr-x 3 nigel nima 4096 Jul 13 09:45 nige

I have finally got around to getting her to try Debian which I always use, however I have never had to set up users, groups etc in Debian (squeeze) so I just did what I'm used to with Ubuntu. What I've found is that if I create a folder while I am logged in then that folder cannot be accessed by my daughter when she is logged in and the same applies if she creates a folder then I cannot access it when I am logged in, unless of course I use terminal to change the owners. In each case with the new folder the owner will be: root and the group will be: root. I would have thought what works for Ubuntu would work for Debian, however there must be differences.

View 13 Replies View Related

Debian Configuration :: Getting Error Message With System On KDE LENNY 'don't Have Permissions To Start Pppd'

May 4, 2010

my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.

"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."

[code]...

View 2 Replies View Related

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

General :: Group Permissions For Ftp Users?

Jun 19, 2011

I need to assign permissions for ftp users. For that I need to create groups with different permissions like upload, download, rename, delete, rename and delete. And the users added to the group need to have that group permissions by default.

View 5 Replies View Related

Fedora Servers :: Permissions For Users Within Share On Samba PDC

Sep 3, 2010

How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?

View 2 Replies View Related

OpenSUSE Install :: Permissions For Shared Directory - R / W For All Users

Sep 12, 2011

I would like to have a directory
Code:
/home/shared
Where all human users have r/w permission for all files and sub-directories under this path. Can I achieve this buy just setting the permissions correctly or do I need to do something else?

View 7 Replies View Related

Ubuntu Installation :: Adding SSH Users - Permissions Set Incorrectly?

Jun 14, 2010

I was just trying to add new ssh users for tonight session and really messed up badly. I first installed package ibsh (iron-bars shell). I didn't know how to use it so I just went to a new user account and added ibsh at the end of his .profile. (I wrote

Code:
sudo gedit /home/username/.profile
which I suspect is the problem, I should have written
Code:
gksu gedit /home/username/.profile
??)

Well graphical logging became impossible in my own account until I did the following in my own account:

Code:
chmod 777 .profile
chmod 777 .ICEauthority

But desktop is still empty. I have restarted the system. I cannot use Firefox (it works without output for 10 sec and then dies). Chromium says something like "Problems due to not being able to update profile" but works. (I cannot see any files on desktop. But if I do places > desktop I can see them.) All the mentioned files had -------- for permissions so I did:

Code:
chmod 777 ~/Desktop/*

How to get my system back to normal. I think I got botched up permissions. If I create new user accounts, I get several error messages in these accounts.

View 3 Replies View Related

Ubuntu / Apple :: Establish Server For 45 Users With Appropriate Permissions

Nov 18, 2010

I've been living a dormitory for a while and our net connection is very slow because of the download via torrent or rapidshare, hotfile etc.(we have 4megabit speed unfortunately) I want to establish a ubuntu server and there are 45 people in our dormitory. Which ubuntu server version I'll use? How much storage that I have (i thought 4 tb is enough)? What kind of commands do I going to use and permissions. I want to appoint one person as a admin others just can add a file (music, movies vs.) they wouldnt have to delete!

View 2 Replies View Related

Ubuntu Servers :: Set Up Permissions For Users On Server / On Desktop?

Feb 10, 2011

Can someone tell me if it is easier to set up permissions for users on the server or on the desktop?

View 5 Replies View Related

Red Hat / Fedora :: Users In Multiple Groups And File Permissions?

Feb 12, 2009

this directory has permissions 750 and is owned by user1 and group user1 I have an admin user that is primarily a part of group admin, but also a part of group user1 what would stop admin from having read and execute permissions on this directory? I'm running clamav and have a clamd daemon running as user admin (I could run it as any user, and I may make a special user later, but I don't want to run it as user1, user2, etc).

I have 2 (technically lots more, but let's just say 2 for now) users, user1 and user2 that have home directories /home/user1 and /home/user2. each is owned and group owned by user1:user1 and user2:user2 respectively with permissions of 750. my admin user is part of groups admin, user1, and user2 I need this to be able to scan my user's directories using the command (is this correct?):

clamdscan --move=/files/quarantine/ --config-file=/etc/clamd.d/adm.conf /home/user1/file

doing this gives the error:

/home/user1/file: lstat() failed. ERROR

If I change the directory permissions to 755, it works fine.Or if I leave the permissions 750 and change the directory group ownership to admin, it works fine. So, why would this be? Obviously it is a permissions issue, but why is it not reading admin as part of the user1 group and allowing the same permissions as it does when making the directory group-owned by admin?

View 7 Replies View Related

OpenSUSE :: Change Permissions For NTFS Folders Based On Users

Nov 11, 2010

I'm a new openSUSE user. I want to make an account for my cousin, but we want our NTFS folders (from the dual WIndows XP install) inaccessible to each other. Problem is that, if I've read well in other searches, permissions can't be applied to NTFS (only the power to write, not only read, the whole partition). I know this can be done in Ubuntu, so I don't find a reason not to be able to do it, and I think my fault is that I'm using KDE (which I like more now, by the way) instead of GNOME.

View 9 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

Ubuntu Servers :: Virtual Users Permissions For Created Folders

May 28, 2011

I have problem with virtual users in vsftpd. When they create folder they cant make another in than folder, or for example they cant see files they upload in that directory...That write permision i try to change in their config file, with every combination of local_umask and file_open mode values. How can I handle that. I want that virtual user who creates directory (in their root directory) have all privilages to that folder and all content in that folder.

View 4 Replies View Related

Server :: File Access Permissions - Working With Groups And Users?

Sep 15, 2009

Having set up many windows servers with complex permissions on shared folders, I now have to do the same in Linux (and I'm such a noob to Linux) I understand that each file/folder is assigned a user + group, and that the rights can be set for the user, the group and global (aka everybody else) My challenge is this, inside my shared folder there is a folder that should be RW to some users, READ ONLY to others, and not accessible at all to the rest of the users. (lets call the folder MyFolder ) All 3 groups have more than 1 user, so they have to be groups (right?) How would this model work in Linux ? If there is no other way, I guess I can nest the MyFolder in a folder that has permissions to allow all users that may access MyFolder, and block the rest, then on MyFolder, set owner group the RW users, and set global to READ ONLY.

Ps : The server I'm setting up runs Debian Lenny, files will be accessed from windows workstations using samba.

View 2 Replies View Related

General :: Give Write Permissions To Multiple Users On A Folder In Ubuntu?

May 9, 2011

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document

but this gives me setfacl: document: Operation not supported error.

View 1 Replies View Related

Security :: Setup File Permissions For Multiple Groups/users That Use Windows?

Nov 2, 2010

I have a remote directory shared over NFS called tech with perms set as 0750 and owner set to root:tech. I have 2 groups: tech, and techAdmin. tech can read and execute within tech/. techAdmin can read, write, execute. I have 4 users: user1, user2, user3, user4. user1 and user2 is a member of techAdmin, user3 and user4 are members of tech. simple so far...but wait here's the problem. If user1 creates a file inside tech, user2 cant read or modify it because user1 owns it. Here's a few sites that reference this problem:

[code]....

View 4 Replies View Related

Ubuntu :: Samba - Get The Correct Default Permissions When Users Create Directories Through Windows?

Apr 1, 2010

I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:

[Code]....

At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:

[Code]...

how I can get the correct default permissions when users create directories through Windows?

View 1 Replies View Related

Ubuntu Servers :: System Users - Proftp Works With Only 1 System User?

Apr 14, 2011

I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?

View 3 Replies View Related

OpenSUSE Install :: Transfer Users From Old System To New Installed System?

Jul 19, 2010

we have a server running with Suse linux many years. Meanwhile we changed server hardware about 4 times, mostly also updating to newest Suse version. We used to copy group, passwd and shadow to a backup medium, installed the new system and restored those files onto the new system and all was running fine. Now, some weeks ago we installed 11. on new hardware and after restoring those 3 files after rebooting the system hangs when starting GUI. I can boot into runlevel 3 and login with no problem, but when I boot into runlevel 5 mouse and keyboard are frozen. Also when starting GUI from runlevel 3 with startx mouse and keyboard immediately freeze. If I restore the files group, passwd and shadow as they came from fresh new installation I can reboot and login in runlevel 5 without problems.

OK, if I compare the userlist, as it is generated bei installation,there are some usernames I formerly not had in older Suse versions. I don�t know if this can make problems? I tried to edit the files, to combine the system users from 11.2 with the list of local user names from the old system but without success, again the mouse and keyboard freeze.So some questions arise:1) Why now mouse and keyboard freeze in xsystem, when there are changes in the user list (but only in runlevel 5)2) What is the correct way to save and restore users and groups from old to new system. I googled several hours but did not find a smart way. Maybee someon can point me to a link or a howto where I find the solution

View 1 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

Oct 19, 2009

i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

View 3 Replies View Related

Programming :: How To Add Users With Same Name To System

Apr 18, 2011

I have a useradd script that can be found here: [Bash] #!/bin/bash #useradd script while true; do echo Please Enter First Name - Pastebin.com.I need to add users that have the same name, while keeping with the current scheme, I'd just like to have numbers at the end of the user, for example joeuser, joeuser1, joeuser2... Basically, keeping with the current naming scheme, I would like to modify the script to automatically add a number to the end of the username when I have users that have the same name.

View 4 Replies View Related

General :: Run Scp S Copying To Ubuntu System With Correct Permissions?

Feb 4, 2010

I ssh into a ubuntu box with username "ubuntu" and I can become root without entering a password via "sudo su". How can I scp files onto this box using the ubuntu@ username? It does not allow me to do so using root@. The error is:scp: /etc/: Permission denied.

View 2 Replies View Related

Ubuntu :: Changing Sudoers Permissions - On A Live System?

Mar 7, 2011

i have this problem and i may need professional help; it appears smb4k made my /etc/sudoers file writable (according to log), hence, any sudo command will coerce this error:

Code: ubuntu@ubuntu~$ sudo any sudo: /etc/sudoers is mode 0640, should be 0440 sudo: no valid sudoers sources found, quitting i wanted to boot into recovery console and chmod 0440 /etc/sudoers, but it's a live system - it doesn't have a recovery mode. [URL].. How would i mount the live system from another liveCD?

View 4 Replies View Related

General :: User Permissions Vs Rights In System / Difference Between Them?

Aug 9, 2010

What's the difference between user permissions & users rights in linux.

View 1 Replies View Related

Software :: Apache2 Module File System Permissions?

Feb 20, 2010

I'm doing a custom version of mod_musicindex, but can't get the cache to write like it's supposed to.example cache file: /tmp/testing/cacheNow, normally I think setting the dir testing and file cache to www-data:www-data would be enough. Permission denied. I tried 666 as well, figuring why not. Permission denied.777 works, but thats pretty far out there...Am I using the wrong user/group? I figured apache modules would run as apache.Do I need to use 777? 700 or 744 don't work, which is making me think it's not running as apache...

View 2 Replies View Related

Programming :: GNU Make - System Libraries And File Permissions

Jan 27, 2010

I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:

Code:
g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc
ar -cvq libether.a /home/project/ether/src/packet-ethernet.o
ar: /home/project/ether/src/packet-ethernet.o: No such file or directory
make: *** [libether.a] Error 1

I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.

It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.

After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?

View 1 Replies View Related

OpenSUSE Network :: Can't Use A Ftp With System Users?

May 11, 2010

I want to upload some files via ftp and after that to access them via http (i have apache2 installed and configured properly) I can't use a ftp with system users because they are located in home.. it should be something with virtual users but the problem with be the file permissions.

View 4 Replies View Related







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