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


ADVERTISEMENT

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

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

General :: Adding Users To Existing Group

Aug 26, 2010

I've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.

Code: #!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p "Enter username : " username
read -s -p "Enter password : " password
egrep "^$username" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
else
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
useradd -m -p $pass $username
[ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!"
fi
else
echo "Only root may add a user to the system"
exit 2
fi

I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?

View 3 Replies View Related

General :: Adding User To A Secondary Group?

Sep 10, 2009

If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?

Code:

$ sudo usermod -G biochem user1

I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?

View 5 Replies View Related

General :: LVM - Adding New Disk Space To Volume Group?

Feb 7, 2011

I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume 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

Ubuntu Servers :: Adding AD Domain Users Group?

May 4, 2010

I have server 9.04 and joined thru winbind to Windows Domain and subversion installed.Windows AD users can use their own credentials to join and everything is working fine.However the group svn which is used to access the repos in /etc/groups has some users.However I would like to add the domain users group to the svn group but the domain users contains Space. And /etc/groups does not happend to read the space any ideas on how to add "domain users" to the svn group in /etc/groups

View 1 Replies View Related

Ubuntu Security :: Adding User To Admin Group

Jun 15, 2010

I'm trying to edit a "xl2tpd.conf" file but it always says I have no write permission tried to add my account to admin group but it says something about not able to lock on password try later.

View 3 Replies View Related

General :: Ubuntu - Adding Space To A Root Partition

Aug 2, 2010

I have some contiguous free space available next to where my root partition resides on the hard drive. I was thinking of resizing the root partition with gparted to take up this space, but it's kind of risky. I was wondering if there is another way to include this partition into my Linux partition without resizing? Like somehow link it in so that / will have more free space?

View 1 Replies View Related

General :: Potential - With Adding /usr/local/[s]bin To Root's Path?

Mar 2, 2011

I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?

View 2 Replies View Related

CentOS 5 Server :: Avoid Adding Users To Group Like Wheel?

Jan 7, 2011

i just want to prevent from now on from all users maybe even root from adding other users to groups like wheel for example. I also want to know how can I prevent from all users to create new groups or add users to new one.real

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

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

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

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

General :: When Adding Snbpasswd It Returns "failed To Find Entry For User Root"?

Apr 12, 2011

When adding snbpasswd it returns "failed to find entry for user root",who knows why?

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

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

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

Debian :: Adding New Users Restricted To Root

May 22, 2010

I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?

View 1 Replies View Related

Fedora :: Adding To A Rep File With An Editor As Root?

Jun 4, 2010

After installing skype from rpm I wanted to add a skype repo for future updates. As root I did 'touch skype.repo' and tried to open by 'kwrite skype.repo' but get the undermentioned error. As a user I can open the empty file with the command 'kwrite skype repo' but cannot save it as I am informed that I only have read access.

Code:
[root@localhost yum.repos.d]# kwrite skype.repo
kwrite(2391): Session bus not found

[code]...

View 3 Replies View Related

Ubuntu :: Adding Unallocated Space To Root Partition?

Jan 13, 2011

I am having an issue adding unallocated space to my root partition. Based on other threads I figured out that the unallocated space needs to be right next to the partition that one wants to extend. In my case, I would like to extend 'ext3' in attached screenshot of gparted. I carved out a 1002MB space and moved this unallocated space right under the ext3 partition (/dev/sda3). How do I add this unallocated space to /dev/sda3 please? When I run 'gparted' on bootup (using linux running on a usb stick), I don't get the option to increase the size of /dev/sda3. Basically the unallocated space is not being 'seen' when I try to resize /dev/sda3.

$df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 3844152 2935868 713008 81% /
none 502400 260 502140 1% /dev
none 508008 248 507760 1% /dev/shm

[Code]....

View 9 Replies View Related

Ubuntu :: Can't Sudo From Desktop User After Adding Root

Feb 22, 2011

I recently re-installed my U10.04 and this time around, I added a root user and brought the permission levels of my default user to "Desktop User" as well as elevate the root permissions as explained elsewhere in these forums. Everything went fine until I wanted to "sudo" something from the Desktop User account terminal. I use Skype a lot and preferred to use the repos to get it loaded. Into synaptic where it asked me for the password. I entered the password and I was rejected. Ok, maybe I typed it in wrong. Tried again. The third time I checked in an editor to make sure I wasn't in all-caps. Third time OUT!

Switched user to root and there were no problems. Enabled the partner repos, installed Skype, as well as all the other stuff I use to run my home office. I have missed something, I know I have - perhaps a setting somewhere in the user permissions. I don't want to have to switch user every time I have to make changes to the system. Alternatively, if it's better practise to just leave my system as it is for security purposes I'm not running a server, but I'd like to have my system as secure as reasonably possible without elevating my problem to "paranoid security" level.......

View 5 Replies View Related

CentOS 5 :: Removing Root SSH Access / Adding New User?

Jul 13, 2010

I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?

View 11 Replies View Related

Ubuntu Installation :: Adding Spotify - Cannot Find Root User

Sep 27, 2010

[URL]. I don't have permission to add the first thing and I cant find my root user on the list. I am an administrator.

View 3 Replies View Related

Red Hat :: Adding A Root Mirror Drive To Existing RHEL5 System?

Nov 9, 2010

I have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:

- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.

- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.

- System rebooted on newly created half-mirror.

- Original root prepped to be second side of LVM mirrored root, and is added in.

Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.

View 5 Replies View Related

Ubuntu :: Adding A Line To Sudoers File So That Every User Can Run A Particular Program As Root?

Mar 27, 2010

is it possible to do so? I mean, I want every user to be able to run '/bin/x' for example, as root without entering a password. I know the security risks, but I'm trying this in a risk-free environment which security does not matter very much.

View 2 Replies View Related







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