Ubuntu :: Change ORDER Of Groups One Belongs To?
May 10, 2010
I'm currently using an NFS server to share data on our small business network. It works a bit faster than SAMBA, but I do have a problem. NFS takes group id from the first 16 groups a member belongs to when mounted - let's not get into how that doesn't make huge amount of sense
Since I assigned about 6 different groups to our users internally to control directory access, some internal groups do not pass when mounting the server's files (as ubuntu has at least 8 or so groups that are system dependent). Is there a way to change the ORDER of the groups a user belongs to? I see that what gets passed to NFS mount follows exactly the order given when I type "group" when logged in. The groups do not come in alphabetical order or group ID number. I did try changing the order of entries in /etc/group and that also doesn't do anything. Essentially they seem completely random.
View 1 Replies
ADVERTISEMENT
Oct 29, 2009
Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.
View 6 Replies
View Related
Jun 16, 2011
I've created a set of users using the newusers command. Unfortunatelly ive messed up and added all users to the 1000 group as primary group instead of giving the group argument as null what would add them to a new group. To make things clear:
The entries should be
user:password:::User Name:/home/user:/bin/bash
but I did
user:password::1000:User Name:/home/user:/bin/bash
I need to create the missing groups. A simple fix could be do a for loop creating a group with the name of each user in my file and then adding the users to it. Are there any dangers of doing it? What impact could this change have? Are there any safer ways?
A combination of the following commands:
Quote:
Add users to a group with the gpasswd command:
# gpasswd -a [user] [group]
To delete existing groups:
# groupdel [group]
To remove users from a group:
# gpasswd -d [user] [group]
If the user is currently logged in, he/she must log out and in again for the change to have effect.
Quote:
for i in (names)
do groupadd $i
gpasswd -a $i $i
Assuming I've created all users in group 1000 I could remove them from it with
Quote:
# gpasswd -d [user] [group]
View 2 Replies
View Related
Feb 4, 2011
I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.
I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).
Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.
The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.
[Code]...
View 1 Replies
View Related
Oct 12, 2010
I am currently trying to set up a Samba domain server. In the Samba-HOWTO-Collection I found an
example file.(Point 3.3.3.1) In the explanations of the example below, the author says I need to map UNIX Groups to NT Groups. He writes a shell-script of how one could do it, but when I copy it and then execute it, I get the error:
Bad option: rid=512
Bad option: rid=513
Bad option: rid=514
The other groups do get mapped, just the Domain Admins, Domain Users and Domain Guests dont. This is the shell from the HOWTO:
#!/bin/bash
#### Shell-Skript f ̈r sp ̈tere Verwendung aufbewahren
net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmins rid=512
net groupmap modify ntgroup="Domain Users" unixgroup=users rid=513
net groupmap modify ntgroup="Domain Guests" unixgroup=nobody rid=514
[Code]...
View 2 Replies
View Related
May 22, 2010
I am a new Ubuntu user in Hungary, where we use reverse name orders (perhaps called the "eastern name order"). I mean Hasselhoff David instead of David Hasselhoff. Its quite a big problem for me, especially during syncing with my phone (which finally works now, after a few days of reading and searching...).Is it possible to change that in Ubuntu?
View 5 Replies
View Related
May 20, 2011
I have a dual boot linux system with Mint 10 and Ubuntu 11. Currently Mint is the first OS in the boot order. How difficult is it to change that config so that Ubuntu is first (or default) and Mint second ?
View 4 Replies
View Related
Jun 8, 2010
So i am at the stage of about to install the basic system and am using a derivation of the package management provided by Matthias S. Benkmann. To this end I am using his useradd and groupadd scripts to update the files:
/etc/passwd
/etc/group
My issue is that when I run the commands(created as part of temporary system when installing coreutils):
Code:
/tools/bin/su linux
#then as user
/tools/bin/groups
(here linux is the name of the user) This only returns the user being in the group named after user but not the additional group of 'install' Also, prior to logging in as user, if I use this command as root:
Code:
/tools/bin/groups linux
linux install This then returns that the user is in the correct groups. Lines from relevant files look like:
Code:
#/etc/passwd
linux:x:10000:10000::/usr/src/build:/bin/bash
#/etc/group
[code].....
View 8 Replies
View Related
Apr 7, 2010
I use dual OS, n i have a problem when i want to set boot order. Can i change boot order? or can i make a priority for my OS?
View 8 Replies
View Related
Apr 12, 2010
I have noticed a few problems when some screenlets are loaded before some others. I think that "Startup Applications Preferences" should have an option to arrange the order of their execution.
View 4 Replies
View Related
Jul 5, 2010
I am using Ubuntu 10.04 x64 in a three-boot configuration; the first boot choice screen (the one I would like to change) gives the options of booting to Ubuntu, 3 options I don't understand, and booting to Windows 7. Unfortunately, at least for me, Ubuntu is at the top and is the default. [The third choice is Win XP x32 - but it appears on a separate screen]
My question: How can I make the boot to Windows 7 the default choice?
View 1 Replies
View Related
Jul 13, 2010
I want to change the default boot from Ubuntu to windows xp. What file do I need to edit to make that change? In other distros the file is grub.lst but I can not locate that file name in Ubuntu.
I can find the file /boot/grub/grub.cfg that looks like what I need but has a warning "DO NOT EDIT",
View 5 Replies
View Related
Oct 3, 2010
My Ubuntu file server sits under a desk and shares files with the network without a hitch, and in a perfect world I wouldn't ever need to shut it down (I reached 6 months uptime once). However, since it occasionally needs service, or additions and needs to be moved, I need to shut down.
The trouble is, the power management system is borked, so whenever I issue "sudo powerff now", the system halts, but the PSU stays on. I usually wait a few minutes after and flip the PSU switch, but I'm never sure if the system is already down.
Is there a way to reorder the way services shut down so that I put SSH last, and therefore know when the system is down when my session is disconnected? Is defaults.rc or whatever responsible for that?
View 3 Replies
View Related
Oct 19, 2010
how to change the order of GRUB. I found someone who asked in '06 but I believe the method has changed. I want windows (The bottom on the list) to start without me having to select it.
View 9 Replies
View Related
Mar 18, 2011
I am trying to change the default gnu grub boot order to first go to windows 7. I entered gksudo gedit /boot/grub/menu.lst and it opened up the file but the file was blank.It didn't show me the 5 or 6 possible choices.
View 8 Replies
View Related
Aug 18, 2011
I installed Ubuntu 11.04 as a dual boot system. I am given 5 choices with XP choice 5. Unless I highlight it I will boot into Ubuntu. I used the startup manager, and indicated that XP should be the default OS. Nothing changed. I tried the PySDM storage device manager which lists the partitions, but does not allow me to make changes.
View 2 Replies
View Related
Sep 1, 2011
I've installed ubuntu 11.04 side by side with my xp. However after reboot I found my boot order list is like
Ubuntu, with Linux 2.6.38-8-generic
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
Memory test (memtest86+)
[code]....
As you can see the windows option is way in the bottom, how to make it to be on the second line like below ?
Ubuntu, with Linux 2.6.38-8-generic
Microsoft Windows XP Professional (on /dev/sda1)
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
[code]....
how can I remove the other 3 which I thought unnecessary
View 1 Replies
View Related
Nov 13, 2009
I want my PC to boot from the CD Drive instead of the hard drive.Can I change the boor order in UBUNTU?[I did a search on BIOS and got 0 hits]
View 4 Replies
View Related
Feb 12, 2011
How do you change the sort order in Nautilus? I want it to look like this code...
View 10 Replies
View Related
Feb 26, 2010
I am running Debian (Lenny) as my file server on a Windows network. I have multiple users accessing shared excel worksheets. I am the owner of these files and have no problem but if I save a shared workbook the file properties on the Linux server change ''Groups - Read Only, Others - Read Only''. I can reset them logged in as root but they change back every time I save the file from the XP machine (XP Home SP3). All other non-shared worksheets are fine.
View 1 Replies
View Related
Apr 13, 2010
I am dual booting win7 and Ubuntu 9.10 with wubi.
-If I don't select ubuntu, it will boot into win7.
I want to change it so I can go into ubuntu after 30SEC so I don't have to always select it.
View 3 Replies
View Related
May 16, 2010
I'm trying to downgrade gdm to version 2.20 in order be able to change gdm themes again, but following the instructions;
(1)sudo /ect/init.d/gdm stop
(2)sudo apt-get install gdm-2.20
(3)cd /ect/gdm
sudo sed 's|x11r6/||' gdm.conf >/tmp/gdm.conf
sudo mv /tmp/gdm.conf .
(5)sudo gdm
The output from the first command was "sudo: /ect/init.d/gdm: command not found" How can I downgrade, also is it because im running lucid, not karmic koala?
View 4 Replies
View Related
Aug 18, 2010
Can someone tell me if it is possible to change the order in which users' names appear in the GDM login screen? And if so, how to change it?
View 1 Replies
View Related
Sep 18, 2010
I have two questions:
1. I had Win XP, I've installed Ubuntu on another Partition, now Ubuntu starts first, can I change XP to be the first one to load ? And how to do it ?
2. When I have to choose from 2 installed systems on the screen I see, Ubuntu, Testmem and Windows XP, can I rename Windows XP title to something else ? And how to do it ?
View 9 Replies
View Related
Nov 29, 2010
Using StartupManager (as Quackers had suggested) I do indeed have Windows as my default boot, although it appears at the bottom of the menu. See Dilemma 1 below for that detail.
Dilemma 1:Grub2 has set up the boot menu so that Windows is the last item on the menu. This is because the Menuitem entries for the Ubuntu kernels are generated by script 10_linux, while the Windows Menuitem entry is generated by script 30_os-prober. Of course, in generating /boot/grub/grub.cfg, the 10_linux script is executed before 30_os-prober, dictating the order of their appearance on the menu.
I'd like to see Windows as the top menu item. Under grub, I would edit /boot/grub/menu.lst, pull the Windows menu item out of the "Automagical" section and voila! It stays on top no matter how many times I upgrade the kernel. While I could possibly do the same with /boot/grub/grub.cfg (see thread "how can I change the order of the boot menu?" for the suggestion) we should all know by now that the next time I update the kernel, my changes will all go away, because we are not supposed to edit that file by hand.
Dilemma 2: As I download and install kernel updates, all the old kernels still show up on my boot menu. My concern is that eventually the sheer number of Linux kernels will render the boot menu unreadable. This is especially of concern if I cannot get Windows to the top of the boot menu. Under grub, I used to edit the menu.lst and comment out the listing of any kernels more than 2 versions old. Now, how do I arrange this omission? A manual edit of 10_linux will be acceptable, provided it still displays the 2 or 3 most recent Linux kernels and their corresponding memtests.
View 3 Replies
View Related
Feb 5, 2011
I am using windows 7 ubuntu 10.10 dul booting. I want to change the booting order, in the old ubuntu version I could do this in /boot/grub/menu.lst.?
View 3 Replies
View Related
Apr 12, 2011
I am installing Ubuntu Server 10.04 LTS on a new server that has 21 hard drives. My OS/boot drive is plugged into a SATA port on the motherboard, and the other 20 drives are plugged into cheap 4 port SATA adapter cards plugged into the PCIe slots on the motherboard.
When I first get to the part of the installer where I set up partitions and such, it is enumerating my disks in a somewhat weird order. The first 4 disks sda, sdb, sdc and sdd are disks connected to one of the SATA controllers, then sde is my smaller OS disk. Is there any way to force the small OS disk to be sda before I continue setting up my RAID? It's not a huge deal, but I'd like to have the system drive be sda, as it is in all my other systems. This is the 3rd system I've built like this, but it's the first time I've run into this issue (newer motherboard than the last one).
If possible I'd like to use the menu system in the installer to setup the RAID, as typing all those disk names manually into an mdadm config manually is going to be a huge pain. That precludes me from just unplugging the extra drives until after I get the base OS installed and working.
View 1 Replies
View Related
Jun 13, 2011
I have a dual boot system w7 and ubunutu. When i had version 10.10 (i think) everything was working fine, the grub would select w7 as boot preference. I have, however just updated to 11.04 and i cant get the grub to change its order. I have tried using startupmanager and selecting the second to last one, as per tips and i have also tried all the options. I have also tried editing the grub file, i think its /etc/default/grub. i have also tried grub-customizer but again, this doesnt work.
I have noticed however that the options shown arent the same as the options when i boot my system. Im not sure whether i have got two GRUBS installed or something like that. I have also tried using boot-repair, however this just states that there is no GRUB installed, however as i mentioned, i can read the grub, and so can the programs.
View 2 Replies
View Related
Jun 18, 2011
Just installed 11.04 and do not know how to change the boot order in the new grub.
View 3 Replies
View Related
Aug 5, 2011
How do you change the order of execution of gnome startup apps?(System - Preferences - Startup Applications) does not seem to have any way to do it.I saw an archived post (http://ubuntuforums.org/showthread.php?t=659420) which offered a couple of ideas... (1) mucking around with /etc/rc2.d/ -- but that seems to be only system-level apps, not user apps; or (2) going to (System - Preferences - Sessions) and mucking around in there -- but I don't seem to have that menu on my system (10.04 LTS running as a guest in vmware player 3.1)I just want vmware-user to run before my gnome-terminals so that the desktop is resized before the terminals run.
View 1 Replies
View Related