Debian Configuration :: Force A Group Name On A File/Dir?

Feb 6, 2011

How to make a directory or files created in a directory by anyone be assigned a specific group name?

View 6 Replies


ADVERTISEMENT

Debian Configuration :: Cannot Add A Group Into Live Usb-hdd

Mar 19, 2011

I try to create squeeze live usb-hdd and try to add additional group using this script in config/chroot_local-hooks:#!/bin/sh
# Give VIEW_USB access to the USB devices to allow USB redirection

VIEW_USB="/usr/lib/vmware/vmware-view-usb"
if [ -x "$VIEW_USB" ]; then
if [ -e /proc/bus/usb ]; then
groupadd usb 2>/dev/null || : # Do not error if group already exists

[code].....

View 1 Replies View Related

Debian Configuration :: How To Force Remove Broken Keyring Package

Jun 17, 2011

I want to remove a keyring package I installed from a repository that I no longer want to use. However, I cannot remove it:

# apt-get remove -y --force-yes debian-xray-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages will be removed:
debian-xray-keyring
0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded.
After this operation, 49.2 kB disk space will be freed.
(Reading database ... 181076 files and directories currently installed.)

Removing debian-xray-keyring ...
gpg: key "AB8F901D" not found: eof
gpg: AB8F901D: delete key failed: eof
dpkg: error processing debian-xray-keyring (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debian-xray-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)

View 4 Replies View Related

Debian Configuration :: Restricting Connections Per User Group

Apr 3, 2011

I want to limit the amount of connections a user can make outside of the box per user group, should I be doing this via iptables or what? aka:

group1 can only have 2 simultaneous outbound connections
group2 can only have 8

View 1 Replies View Related

General :: Ssh + Force User And Group On Mkdir?

Apr 19, 2010

im trying to implements mercurial repositories using ssh access.The problem is that if a login via ssh with the user "userA" all file upload vi that user are created with the owner: userA:userA and i need to use the group of the parent directory... is that posible ?For example:

repos ( root:repo)
-> project1 ( root:repoPrj1 )
-> file1 ( userA:usearA ) -> here i want userA:repoPrj1

View 1 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

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

Debian Configuration :: Chroot + Ldap - Cannot Change Into The Dchroot - Get Error "E: Group '1,031' Not Found"

Jan 19, 2010

I have a set of two amd64 machines with Debian Lenny. Machine 2 reads all the users' information from the Machine 1 through LDAP. Also, in Machine 2 I set up a dchroot environment for 32 bits compatibility ( following [URL]

In addition to the above instructions, on this Machine 2, I set up /etc/libnss*, /etc/ldap/*, and /etc/nsswitch.conf both for the amd64 and for the i386 environments. I have no problems if I'm in the native amd64 mode. However, once I enter the i386 dchroot, some strange things happen:

1) For users from uid=1000 to uid=1031, I get an error if running 'whoami' (Cannot find name for user ID XXXX) and if I run 'id' , I get all the correct group numbers but no translation to group names in parenthesis as it should be. 'ls -l' also only lists group numbers but no names.

2) for user 1032 I cannot even change into the dchroot, I get the error "E: Group '1,031' not found"

View 2 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Fedora :: Samba "force Group" Not Working?

Nov 5, 2009

I am trying to set up a samba share, that uses a common group so that all users that connect to it will have write permissions to all files and folders. But I cannot get the "force group" option in smb.conf to work. When I create files on this share, it's using the user's default group, not the group specified with "force group". In smb.conf, I have:

[shared]
path = /ext/shared
writeable = yes
guest ok = yes

[code]....

The strange thing is when I create folders, it works fine, the folders are created with the proper permissions and the group is assigned to it. It is just when creating files that it does not work. I have read through some documentation and other posts, but have been unsuccessful setting this up.

View 1 Replies View Related

Debian :: Group A Member Of Another Group?

Feb 8, 2011

I make a group a member of another group?

I am running Samba and want to include all groups as members of the Domain Users group so that I don't need to add this for every user?

View 3 Replies View Related

Debian Configuration :: Can't Copy A File From SMB Share To The Local File System

Aug 17, 2015

There is this bug in the latest version of Ubuntu, which is also Jessie, which is:

Can't copy a file from SMB share to the local file system: Software caused connection abort

The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".

Here is the reference material on this bug: [URL] ....

People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....

View 0 Replies View Related

Software :: Chrony Configuration - Client Only Force Update At Startup?

Mar 2, 2011

I am trying out chrony as a replacement for openntpd as there is no longer an openntpd package in Debian Squeeze. Two questions:

1. Is there a necessity or equivalent to openntpd's "-s" option, where it forces the system's clock to the network time on daemon startup, regardless on how great the clock is off?

2. How do you configure as a client only, not as an ntp server at all? By default, it listens on UDP 123 and 323 (both ipv4 and ipv6) and definitely acts as a network time server (I can query remotely). I do not see anything obvious in the docs. Openntpd by default ran as a client daemon only.

View 1 Replies View Related

Debian Configuration :: How To Add A File To Initrd

Dec 13, 2015

I have an encrypted root and encrypted boot drive... To avoid entering a passphrase multiple times I'd like to add a keyfile for my root drive to my initrd... I've done this in Arch and it was relatively simple but I've hit a road block in debian finding the analog processes...

Code: Select all#Part 1) Generate the keyfile, give it suitable permissions and add it as a LUKS key:

dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
chmod 000 /crypto_keyfile.bin
chmod 600 /boot/initramfs-linux*
cryptsetup luksAddKey /dev/sdX# /crypto_keyfile.bin

[Code] ....

Code: Select allupdate-initramfs -v -k -u all

What is the analog to Part 2 (and Part 3 if I'm wrong about how to regenerate the initramfs...)??

View 10 Replies View Related

Debian Configuration :: .doc And .xls Unknown File

Sep 29, 2010

I recently installed office 2007 under wine, but since I have it no longer know what to open .doc or .xls files with, I was using Gnumeric but now when i go to Properties -> "Open with" there is no longer anything in the list and even when i attempt to add to the list nothing comes up. If anyone know what way you can manually add file types and associate them with programs

View 1 Replies View Related

Debian Configuration :: 8.0 - Resize Tmp File Using Gparted

Jul 31, 2015

I'm trying to resize tmp file using gparted. So I used gparted live cd and then i resized the tmp file but delete the old /tmp partition without backup. Now, my pc do not start. I have Debian 8.

View 14 Replies View Related

Debian Configuration :: File Colours In Shell

Aug 17, 2010

Does anyone know how to make the file colours appear different for each file type in the shell like happens in ubuntu?

View 4 Replies View Related

Debian Configuration :: Samba - Add The Subtitle File

Aug 1, 2011

I'm using Xfce 4.8, which now provides built-in samba browing in thunar. This works like a charm. I can browse a samba share (external HD connecter to router via USB). Yet it appears to me now that the support is limited to thunar. I mean double clicking on a file allows me to open/edit that file if and only if the software itself has samba support. In practice, double-clicking on a movie opens it with vlc thanks to vlc's own smb support. Even then, I can't find a way to add the subtitle file. I reckon that to use the share transparently, I would need to mount it the "mount" way. Either on a mount point like /mnt/hard_drive or something like .gvfs/hard_drive.

Is my understanding correct ? Is that my only option? Considering the disk won't be switched on at startup, fstab is not the solution. Would gigolo be the right choice? I spent some time trying gigolo a few days ago, following an easy tuto found on the web and it didn't work as expected. If needed I could give it another try.

View 1 Replies View Related

Debian Configuration :: Testing/Sid - ProFTPD - File Wrong?

Feb 26, 2010

I've been working on the setup of a FTP server on my Debian system for the whole afternoon. But I can't get it straight! Normally I get it working in just a second, but it's been a while I guess.

I installed only proftpd-basic and it's default dependencies. Should be enough right?

My configuration files are as follows:

I created the user zeitgeist, gave it a password, group and a homedir. Group of the user is nogroup and the homedir is correct with the 755 permission. My port 21 for FTP is open I tested it with nmap -p 21 [ip-address].

My Filezilla client tells me that at first he is connecting, then the connection is established, And then the connection is closed by server.

View 1 Replies View Related

Debian Configuration :: /sbin/ifconfig: No Such File Or Directory

Aug 2, 2010

I am using Debian Lenny as my server to host multiple databases.

Whenever, I used to add a new database, I used to add an IP address like eth0:test in the /etc/network/interfaces file.

Today when I tried to do the same, I got an error when I tried to start the interface by typing "#ifup eth0:test". I also tried to do in this way "#ifconfig eth0:test up" but both of then yielded the same error saying "/sbin/ifconfig: no such file or directory".

The path is valid and the files are also present there. There are ifup, ifdown, if and ifconfig files in the /sbin directory. I also checked the permissions which is root:root. But still I cannot find the problem.

View 9 Replies View Related

Debian Configuration :: Index.php File DOWNLOADS Instead Of Displaying

Aug 15, 2010

I am running debian lenny running apache (latest) i am trying to make a webserver. i put the index.html file in my www folder. it shows up when i go to my site (localhost) i put an index.php file in my www folder and when i try to go to my site it Downloads the index.php file instead of showing it.

View 2 Replies View Related

Debian Configuration :: Setting Up Home File Server?

Jan 3, 2011

I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?

View 7 Replies View Related

Debian Configuration :: Aptitude Update From Specific File?

Feb 18, 2011

I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:

00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

[code]....

All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.

View 1 Replies View Related

Debian Configuration :: Configuring Sources.list File ?

May 19, 2011

About configuring my sources.list file.

The default file was:

To which I have added this: deb [url] stable all

Today I decided to include again Debian Volatile and discovered that it doesn't exist anymore and that I can get the same packages using this line: deb [url] squeeze-updates main

And the first question is: is this the same than debian-security?

Then, I decided to use [url] to make things less confused, and this was the output:

The first line is Ok. The second line, I guest it's the same than my second line. But, the third, is something different. So, the main question is: what is the difference between squeeze-proposed-updates and squeeze-updates? Are those repos completely separated from squeeze/updates (in security.debian.org)? And, what else should I add to have an always up-to-date and secure system?

View 5 Replies View Related

Debian Configuration :: Iceweasel 5 Crashes When Opening File

Aug 19, 2011

A recent update to Iceweasel 5 (version 5.0-6 ) on my debian (Linux xxxxx 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux) led to a rather odd an annoying behavior. Each time I try to open an external file (pdf, odt) or to save a file on the hard drive, then Iceweasel crashes systematically. Does anyone experience the same? Any idea of how to fix this?

View 5 Replies View Related

Ubuntu :: How To Force Delete A File

Jan 5, 2010

Ok i'm runnign ubuntu using the live CD i already have ubuntu installed on my computer but it wont boot. I'm trying to delete the file causing the problem. SO is there a way to delete a file that is in the ubuntu installed on my computer from the ubuntu on the livecd?if that doesnt make sense how can i delete a file in my ubuntu w/o actually being in ubuntu?

View 7 Replies View Related

Debian Configuration :: File Don't Move To Samba Trash Directory

Aug 26, 2015

I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun

The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :

# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html

[code]....

The samba trash work for an another site of our company.

View 0 Replies View Related

Debian Configuration :: How To Configure Samba For A Stripped Down File Server

Dec 3, 2015

I am trying to configure samba for a stripped down file server. I am running debian with command line only. My problem is that I cannot unmask samba.

See below:

root@debian:/home/aaron# service samba status
● samba.service
Loaded: masked (/dev/null)
Active: inactive (dead)

I have tried "sudo systemctl unmask samba.service". I receive no errors however it does not actually unmask. I can't find anything online regarding a service stuck on masked status.

View 12 Replies View Related

Debian Configuration :: How To Import VPN Config Files With No File Extension

Feb 10, 2016

I've downloaded configuration files for my VPN, Kovurt, and they don't have a .ovpn file extension. Further, when I tried to enter the information manually (using this guide), I saw that the files only include the <ca> tags, and no <cert>, <key> or <tls-auth> tags.

Here is the content of one of the config files, simply named 'Tokyo' with no extension. (adding .ovpn didn't work either):

Code: Select allclient
dev tun
proto udp
remote 50.31.255.86 443
resolv-retry infinite
nobind

[Code] ....

I have an open ticket with Kovurt asking for the other info, but I know already that they don't have much in the way of documentation or support for Linux.

View 0 Replies View Related

Debian Configuration :: Extract Gzip File Don't Get Any Installable Files

Apr 6, 2016

I have installed debian on my dell latitude d630 laptop and am currently making a derivative for others to use. however I can't get the wireless to work. I downloaded it from the broadcom site but it comes as a gzip file instead of a deb file. if I extract the gzip file I don't get any installable (deb) files. I need the wireless to work because now a bridged network from my windows laptop isn't working.

View 3 Replies View Related







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