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 CENTOS
show-installed
show-installed(1) show-installed(1)
NAME
show-installed - show installed RPM packages and descriptions
SYNOPSIS
show-installed [options]
DESCRIPTION
show-installed gives a compact description of the packages installed (or given) making use of the comps groups found in the repositories.
OPTIONS
-h, --help
show this help message and exit
-f FORMAT, --format=FORMAT
yum, kickstart or human; yum gives the result as a yum command line; kickstart the content of a %packages section; "human" readable
is default.
-i INPUT, --input=INPUT
File to read the package list from instead of using the rpmdb. - for stdin. The file must contain package names only separated by
white space (including newlines). rpm -qa --qf='%{name}
' produces proper output.
-o OUTPUT, --output=OUTPUT
File to write the result to. Stdout is used if option is omitted.
-q, --quiet
Do not show warnings.
-e, --no-excludes
Only show groups that are installed completely. Do not use exclude lines.
--global-excludes
Print exclude lines at the end and not after the groups requiring them.
--global-addons
Print package names at the end and not after the groups offering them as addon.
--addons-by-group
Also show groups not selected to sort packages contained by them. Those groups are commented out with a "# " at the begin of the
line.
-m, --allow-mandatories
Check if just installing the mandatory packages gives better results. Uses "." to mark those groups.
-a, --allow-all
Check if installing all packages in the groups gives better results. Uses "*" to mark those groups.
--ignore-missing
Ignore packages missing in the repos.
--ignore-missing-excludes
Do not produce exclude lines for packages not in the repository.
Florian Festi 21 October 2010 show-installed(1)