07-09-2009
what are you trying to do with usermod? If you are trying to make Bob part of the admin group you have it backwards
Also, your usernames should, for conventional sake, be lowercase
Also, usermod -G will change the secondary group, so the GID (Group Identifier) for the user never changes.
If you run the "id" command on your user you will see the UID, GID and the groups they are a member of.
As for CentOS you can use yum, the built in downloader/software manager to handle most of what you need. Also look at pirut for doing most of what you want with the packages. It should be installed.
Think of the way Linux distributions manage software now as packages of information that rely on other packages of information. They now use repositories, kind of like a personal "Amazon.com" if you will. Say you want to install xyzfoo.rpm you can do that with yum on CentOS 5 and if xyzfoo.rpm needs abcdoodad.rpm it will grab both, download them, install them and update its own library to show that they are both there.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hie ,
I have a distrib Red Hat with a kernel-2.4.9-31 . I can't mount a ntfs fs with command :
#mount -t ntfs /dev/hda1 /windows
mount: fs type ntfs not supported by kernel
Why doesn't my kernel support a type ntfs ? How can I mount this FS ?
Merci d'avance.. (1 Reply)
Discussion started by: Romeo_91
1 Replies
2. Filesystems, Disks and Memory
can someone help tell me how to mount NTFS drive in redhat 7.1
1. is this correct ?
dev/hda1 mnt/c ntfs-t defaults 0 0
2.is the mount file etc/fstab
thanking you all
... (3 Replies)
Discussion started by: immanuelgangte
3 Replies
3. BSD
Hello All,
How can i mount ext3 and Fat partition in FreeBSD 6.0 (0 Replies)
Discussion started by: jaibw
0 Replies
4. Linux
:) Hi frds ..i hope i can get some help for this.. I am unable to mount ntfs/hpfs file system which contain my XP o/s. As per the information collected on net i found tht my kernel i.e 2.4.xx does not support ntfs ..?
Now I dont knwo where to get upgraded kernel and how to deploy it ..can anyone... (0 Replies)
Discussion started by: nicknihal
0 Replies
5. Linux
How Can I mount Windows NTFS Partation in to Linux ? (4 Replies)
Discussion started by: Amit Deore
4 Replies
6. UNIX for Advanced & Expert Users
Just inherited a windows server to support. Windows 2003 Enterprise edition
I can view driver / folders on the windows NTFS volume by mapping a drive from my windows laptop..
Can I mount this from a unix server also?
I heard you can use Microsoft Services for Network File System... (3 Replies)
Discussion started by: frustrated1
3 Replies
7. BSD
I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS.
Can anyone please help me out here.
What are the changes required to be done in fstab??
Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies
8. UNIX for Dummies Questions & Answers
Alright so here is my problem:
I have an ext3 external hard drive with about 270gb of data that needs to be copied/transferred to a NTFS drive.
The NTFS drive has data currently on it...which obviously needs to stay intact.
My supervisor mentioned that this problem could be a little tricky so I... (9 Replies)
Discussion started by: huntreilly25
9 Replies
9. Fedora
Hi,
I'm new for unix. I tried to mount windows NTFS partition in Fedora unix, but it is saying ntfs not found. The command i used is
mount /dev/sdb1 -t ntfs /mnt/drive1
and how to find the available filesystem type?. (1 Reply)
Discussion started by: gwgreen1
1 Replies
10. Solaris
I just installed Solaris 11.2 - and it is a bugger. How do I mount an extra HDD that is now formated to NTFS through gparted
it keeps telling me I don't have any ntfs on this laptop. it has two hdds, /dev/sda1 /dev/sdb1 (Linux lingo) Solaris is installed on primary hard drive back of it. then... (2 Replies)
Discussion started by: userx-bw
2 Replies
LEARN ABOUT DEBIAN
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)