The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mounting ext3 & NTFS on PC-BSD!! void_man() BSD 1 09-19-2007 06:17 AM
how to mount ntfs filesystem nicknihal Linux 0 09-09-2006 04:59 AM
Mount Fat32,ext3 jaibw BSD 0 01-12-2006 02:10 AM
mount NTFS drive ??????? immanuelgangte Filesystems, Disks and Memory 3 08-02-2002 11:52 AM
Pb for mount a ntfs fs type Romeo_91 UNIX for Advanced & Expert Users 1 05-07-2002 01:57 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-09-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
Quote:
Originally Posted by svanslyck View Post
Who said I didn't want to learn something new? What I was complaining about was not the OS but the fact that internet resources about *nix assume a level of sophistication few newbies have. I don't have any complaints about the OS's paradigm but about the instructions I'm finding on the net. Your message is the first one I've seen that explains what sda means, for example. Another example - a four paragraph description of PROMPT_COMMAND that says virtually nothing about it at all.
Svan,

My comment was not an attack on you or whether you particularly wanted to use Linux. However, you are not the first person who has come up with questions, got frustrated and then started to get annoyed with the situation. It is understandable, but in many cases, it ends up becoming a flame war of opinions.

There's nothing wrong with saying "Look, I thought I could do XYZ, I can't, so I am not going to stick it out." Each person has their own threshold for grief, and yes, changing operating systems can be grief. While I think that *Nix has a better way of doing things, if you don't know that way it makes a simple task difficult.

As you are a technical writer, I would recommend that instead of getting a "For Dummies" book, which will probably teach you just enough to get to a point before you want to be, take a look at RUTE's guide:
<redacted>

It will expand in most browsers and give you a good reference for starting out, though, please realize, it is dated and some information may be old and less useful or even wrong, the basics should be there.

I have had many conversations from people who have been using Windows or another OS for many years, and I myself started that way, and was even a Windows System Admin for several years before really understanding how Unix/Linux can be a more powerful tool. Before Power Shell (still know few people who use it on Windows) there was really only cmd/dos prompt syntax for doing things.

Now, when I was creating users for my network (don't ask, they demand islands of isolation so no central system) I did the following:

for i in <system1> <system2> <system3> <system4>
do
ssh $i "useradd -u <userid> <groupid> <secondary groupid> -m -k /etc/skel -d <home directory> -s <shell> -c <comment> <user>"
done

where the items in the <>s were the info. That made my user on 4 systems without having to do it 4 times

There's a lot of power there and Linux can be VERY user friendly, just not intuitive. Once you understand it, its like the handcuffs come off and you are way more powerful at doing the same jobs.

Last edited by otheus; 07-09-2009 at 10:20 AM.. Reason: redacted link to pirated? ebook? gz format
  #2 (permalink)  
Old 07-09-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Quote:
Or can I just run dd from a bash prompt while using the system itself?
Yes.

Quote:
internet resources about *nix assume a level of sophistication few newbies have.
That's because anyone not using a stand-alone or live-cd Linux installation must have a level of sophistication newbies don't have.

Even to install a multi-boot OS is beyond the sophistication of 99% of all Windows users and 50% of all Linux users.
  #3 (permalink)  
Old 07-09-2009
svanslyck svanslyck is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 6
I think the biggest question I have so far is how to know what to install based on the system I have. For example, usermod -G admin Bob won't work on CentOS 5.3 and returns an invalid numeric argument error. So I guess what I need to do is to update shadow-utils. When I google that for RPM packages, one website returns seven pages of links, with about, oh, 10 relative to CentOS and several for RedHat too. This is not perhaps the best example because this page does refer to CentOS 5.3, but in general how do I figure out "what to get" for an application or upgrade package based on "what I have"? We're not in XP Pro anymore and I don't want to go looking for falling houses to stand under....
  #4 (permalink)  
Old 07-09-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
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.
  #5 (permalink)  
Old 07-09-2009
svanslyck svanslyck is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 6
Quote:
Originally Posted by mark54g View Post
what are you trying to do with usermod? If you are trying to make Bob part of the admin group you have it backwards....
Bob was just an example but I was following Robhogg's instructions at User not in the sudoers file - LinuxQuestions.org .

The goal was to be able to run sudo. CentOS didn't create an admin group or any admin users (i.e., me) on first install but I'm beyond that problem now having created the group manually and then given it root permissions.

Back to the installer - Isn't what the Add/Remove Software GUI shows me simply the packages that came with the CD download? Or is it looking at the internet to determine what's available? What if I want a program which isn't in the Add/Remove Software GUI though? How do I know which one is right?
  #6 (permalink)  
Old 07-09-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
I'm closing this thread. Sven, if you have a new question, feel free to start a new thread.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0