Ubuntu Installation :: 9.10 - LP Group With No Members Not Even Root

Mar 23, 2010

I recently installed Ubuntu 9.10 and have been trying to set up a USB printer. I hit a problem which I eventually diagnosed as being the ownership of /dev/usb/lp0.

First, the symptom:
~$ cat Test > /dev/usb/lp0
bash: /dev/usb/lp0: Permission denied

The initial diagnosis:
~$ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2010-03-23 21:39 /dev/usb/lp0

Notice the lp group? When I checked group properties, this group did not have any members - not even root! The default for CUPS (from the CUPS doc) is lpadmin, in any case, so not sure what lp is all about. In fact, the 'lp' group has ID=0, the same as the 'root' group.

I fixed it by doing this:
~$ sudo chown root:lpadmin /dev/usb/lp0

Then I noticed that /dev/lp0 and /dev/parport0 also had group=lp, so I also did this:
~$ sudo chown root:lpadmin /dev/lp*
~$ sudo chown root:lpadmin /dev/parport*

View 1 Replies


ADVERTISEMENT

Ubuntu :: Create A User Group That Restricts Internet Privileges To Only Members In The Group

Jul 19, 2011

How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.

For example, I want only group net to have access to the Internet. Group net is then connected to:

Code:

So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?

View 2 Replies View Related

General :: Ownership For All Members Of Group

May 27, 2010

Can I assign ownership of a particular file to everybody of a group?If the file had rwxrw-r-- permissions, will every member of the local-group have owner access privileges (rwx) to this flie now?

View 8 Replies View Related

Ubuntu Networking :: Broadband Error In 10.04 / Only Members Of The 'dip' Group Can Use This Command?

Nov 6, 2010

i've configured my pc using 'sudo pppoeconf' and it worked fine, but when i rebooted my pc and tried to connect using 'pon dsl-provider' it says 'Error: only members of the 'dip' group can use this command'.
I've added myself to the group and tried to connect but to no use.Im able to connect in windows without any issues.

View 1 Replies View Related

Software :: Member Of Group Root / But Root Group Permissions Don't Apply?

Apr 20, 2010

A bit of an oddity that I've recently run into with my storage folder in my system; it's a newly installed drive that I've set to mount at /storage. When I first tried to use it, programs that I used that attempted to write to it tossed Access Denied errors at me in their own way. Checking the permissions (at the Terminal, ls -l / | grep storage) showed that /storage was set to 'rwxrwxr--'--Owner and Group were given full read/write/execute, but Others could only read. However, my logon to my system is a member of group root. Why, then, with the above bits set, would I not be able to write to it? Changing Others permissions to rwx (and presumably rw would have worked out for me since I don't leave anything executable there) allowed me to write to it, but I don't understand why that would have been necessary. So far as I'm aware, the prior drive that was in my system--mounted at the same location--did not need this treatment.

View 7 Replies View Related

Ubuntu Servers :: Terminal - File Permissions - Put In Folder Have Full Rights For Members In The Group "staff"?

Feb 1, 2011

Now I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?

View 3 Replies View Related

General :: Adding Root To A Group

Jul 4, 2011

I'm seeing on my Fedora 15 box. I want to add the superuser to a group called, say, thisgroup.thisgroup is absent. Surprisingly, when I thought of editing /etc/group, root was present there!Anyone on why groups didn't show my new addition?

View 3 Replies View Related

Ubuntu :: Put A Line In /etc/fstab To Mount One Of Partitions With Owner And Group Not Root

Jan 9, 2010

According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.

View 9 Replies View Related

Ubuntu :: Restoring Root Privileges (admin Group) In Lucid Lynx?

May 1, 2010

After freshly installing Lucid Lynx and tinkering for some time to get everything just how I like it, I managed to somehow remove myself and all other users from all groups. Now, obviously, I've restarted and I don't have root privileges as I am no longer a member of admin group. So I am somewhat stuck. I've looked at this page: [URL]. But annoyingly, there is no grub menu appearing on boot up (unlike previous Ubuntu versions). So I'm appealing for your help to either:

a) Show me how I can bring up the grub menu so I can access ubuntu in safe mode

b) Show me another way of accessing the system with root privileges. (Would using chroot from the Live CD work? I just thought of that now so I'll try it).

View 3 Replies View Related

General :: Adding SDA1 Partition To Root LVM Group?

Nov 9, 2009

I have a question about LVM. My /dev/sda disk is partitioned into Windows NTFS on sda1, Linux /boot partition on sda2, and the Fedora 10 root (/) LVM partition is on sda3. I have moved my Windows XP to VMware on the Linux system and would like to add the sda1 partition to root LVM group.

View 7 Replies View Related

General :: Warning: Group Mockbuild Does Not Exist - Using Root

Mar 29, 2011

I'm running fedora 14.I want to see the source code of uname.After googling,I find a way.But a problem happens.

[Code]....

Why I got this warning. After installing coreutils-8.5-7.fc14.src.rpm,where can I see the source code of uname.

View 2 Replies View Related

Server :: Warning: Group Brewbuilder Does Not Exist - Using Root

Jun 27, 2011

I am using redhat 3.0 i want to configure arp-acl mac based blocking to windows clints i have done bellow configuration but finally squd starting error is showing

#rpm -e squid warning: /etc/squid/squid.conf saved as /etc/squid/squid.conf.rpmsave
# rpm -ivh squid-2.6.STABLE6-5.el5_1.3.src.rpm
warning: squid-2.6.STABLE6-5.el5_1.3.src.rpm: V3 DSA signature: NOKEY, key ID 37017186
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root

[code]....

View 9 Replies View Related

Red Hat / Fedora :: Extending Root Partition - Volume Group Not Found

Sep 20, 2010

I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??

View 1 Replies View Related

Fedora :: Normal User In Sudoers Group But Can't Install Programs Without Root-users Password?

Jul 4, 2010

The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?

View 5 Replies View Related

Programming :: Bash - Search For 1000 Then Assign Them Group 1 And Then 1001-1999 To Group 2

May 24, 2010

I have a text file that currently has around 150 000 usernames in it. I need to somehow group them into smaller groups of 1000 and then add that value into the DB. for example user xzy group 1 (hopefully the groups will be digits incrementing)

[Code]....

how to search for 1000 then assign them group 1 and then 1001-1999 to group 2 etc.

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

Software :: EXT3-fserror: Inode Bitmap For Group 4 Not In Group

May 25, 2011

I've been tasked with fixing a Red Hat system that dies with a kernel panic during the boot stage:

Code:

EXT3-fserror (dev sda1): ext3_check_descriptors: Inode bitmap for group 4 not in group (block 67239937)!
EXT3-fs: group descriptors corrupted!
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument

I can boot into a Rescue CD, but I'm a bit out of my element because I don't use EXT3 myself, and I've never had to repair a corrupted file system before.

View 3 Replies View Related

Fedora :: Create Several Different Users For Different Members?

Sep 14, 2009

I wish to create several different users for different members of the family. They should all have different menus, and they should not be able to access some programs, above and beyond just the normal root blocked ones. Any personal configuration files (eg, bookmarks, saved passwords, logins for other programs (IRC, MSN, etc) should also not carry over. One of them needs to have KDE enabled as default (as it looks the most like windows). I however, would prefer to have enlightenment enabled as default for me. Is this in any way possible?

View 3 Replies View Related

Debian :: Members Running Squeeze Or Sid ?

Jan 2, 2010

I got Squeeze installed to a partition and it runs pretty good

cept for one thing

live-helper/live-magic is broken in squeeze?

if I do

Code:

in term I get not found,etc

live-magic also conks out saying lh_config no such file,etc

So, my questions are

1) anyone running squeeze and use live-magic,etc is it broken?

2) thinking about upgrading to Sid anyone run Sid here and what advice?

View 9 Replies View Related

Ubuntu :: Error - Group: Cannot Find Name For Group ID 0

Apr 17, 2010

Mount of filesystem failed. A maintenance shell will now be started CONTROL-D will terminate this shell and retry. groups: cannot find name for group ID 0 root@Sergioc-desktop:"#

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

Programming :: Access In-memory Structure And Its Members?

Dec 13, 2010

I am implementing c program to access ext3 file system's metadata. I want to know how to access members of the in-memory superblock structure. I am able access on-disk ext3_super_block structure but dont know how to access in- memory structure and its members.

View 1 Replies View Related

Programming :: Function Pointers To Class Members Cpp

May 23, 2010

i'm a bit stuck playing with the following class setup for glut. The actual issue is with the function pointers.Basically the following code is the opengl redbook cube example slightly modified.

View 2 Replies View Related

CentOS 5 :: Setting Up Small VPN Server For 20 Members?

Aug 24, 2009

I need to setup a small VPN server for about 20 people. Will a VPS with 192mb ram be enough to handle this? The only services I need to run is those necessary for VPN.

View 2 Replies View Related

General :: Make All NIS Users Members Of More Than One Local Groups?

Nov 25, 2010

Is this possible to make groups members of a group (the same way aliases work for the mailing system). If not is there a painless way to make all my nis users members of more than one local groups? Maybe set this on the nis side and not per machine setup?

View 1 Replies View Related

Software :: MD Raid5 Kicked Out Two Members And Won't Start After Reboot

Apr 14, 2010

Suddenly I noticed that all my file system had gone into read-only mode. My first thought was that the Sata data cable had got loose for one of the drives, but that wasn't it. All cables were connected correctly. So I booted up again, but I only came to a rescue mode terminal.

I have four software MD raid volumes:

Code:

Running mdadm -D on the volumes told me that the sdc drive had been kicked out from both md0 and md1. However, md3 had kicked out two drives, so I couldn't get any information from mdadm -D on that. For md0 and md1 I could just add the kicked-out partitions back into the volume, but for md3 I don't even know which partitions got kicked out...

Here are some outputs:

Before I rebooted the first time I saved the 200 last rows of dmesg to a memory stick. Here they are:

Code:

Trying to restart the md3 volume in the rescue mode terminal:

Commands:

Code:

Output:

Code:

The "Array State" row seems interesting. I guess that AAAA means all four drives are OK. But then why does the array state differ between the members?

Does anyone know how to figure out which two members that got kicked out? And how do I get them back in (assuming that they're OK)?

View 3 Replies View Related

General :: Security Group Can Be A Member Of Another Group?

Aug 22, 2010

I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?

View 4 Replies View Related

Security :: Add A Group Of Users To The Wheel Group?

May 19, 2010

I have a number of users, categorised into various groups. I would like one of those groups ("developers") to be in the wheel group as well. I don't want to just copy the people from the developers group into wheel, because then when that group changes I'll have to change it in two places. Is there a way to specify that anyone in developers is in wheel, and have that be dynamic?

View 7 Replies View Related

Programming :: Assembly - Structure References To Members - Get The Values 403004h And 4

Jul 9, 2011

[Code]....

if the address of stWndClass is 403000h, WHY it would be compile as mov eax,[esi+403004] and the first one would be mov eax,[esi+4]? I know how to get the values 403004h and 4,but do not know why.

View 5 Replies View Related

Programming :: C++: Assignment Operator Copy All The Members Also For Structures Containing STL Objects?

Sep 26, 2010

does the assignment operator copy all the members also for structures containing STL objects strings,vectors,vectors of vectors...)? I did try it on my platform,and it works that way (copying all the fields),but i was wondering if it is a standard behavior or not.

View 2 Replies View Related







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