LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2006, 07:23 AM   #1
teluguswan
Member
 
Registered: Oct 2005
Posts: 116

Rep: Reputation: 15
Command to Display the Users in Text mode and to Change the Privileges


Command to Display the Users in Text mode and to Change the Privileges


Any one please give the information that how to display the one system user list and to change a normal user to administrator in linux

all these i want to know from textmode

command to display the usernames in textmode
change the normal user to administrator


thanks in advance
 
Old 06-16-2006, 07:46 AM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Code:
cat /etc/passwd | less
will display a list of users, many will be system users, so possibly not what you're looking for

Quote:
change the normal user to administrator
this is not so simple and depends on your distribution (you could put this in your LQ profile).

This might be as simple as adding the user to a group (maybe admin).
 
Old 06-20-2006, 04:19 AM   #3
teluguswan
Member
 
Registered: Oct 2005
Posts: 116

Original Poster
Rep: Reputation: 15
Thanks for the first question bernied

Iam expecting the second question for the distribution of Redhat Enterprise 3. and Fedora Core 4 and 5.

I want the same info on for command line mode.
 
Old 06-20-2006, 04:33 AM   #4
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
So you've got three redhat installations, one of them enterprise, but you don't know how to administer them?
If you've got Enterprise Linux, why are you not asking Redhat for support, isn't that what you paid for?
Or this is homework?
Or perhaps it is not your system?

In any case, I've no experience with redhat, so can't help you any more.
 
Old 06-20-2006, 06:34 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I guess that making the user a member of one or more special groups will do.
man usermod

Last edited by Wim Sturkenboom; 06-20-2006 at 06:39 AM.
 
Old 06-20-2006, 07:38 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
There are no real "administrator" and "normal" users (like in Windows). On Linux, you only have one
administrator, "root", who governs all, and a bunch of normal users.
These normal users can be given special access (via a multitude of mechanisms) to certain programs, files, etc if needed. Usually, user groups are created to group users with similar access.
A group of "administrator"-like users is thus possible. If you have such a group, you can add usermod or edit /etc/group and/or /etc/passwd to add users to the group.
If you don't have such a group, you should consider what the user may (not) do, may (not) have access to. Based on that, you can define a proper policy (file permissions, sudo, etc).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 03:19 AM
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 07:56 AM
square cursor in text-mode display (no X)? minike Slackware 13 04-23-2006 03:04 AM
Change the display mode in text mode Drunkalot Linux - General 7 08-12-2005 12:35 PM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 10:36 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration