LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-20-2009, 01:20 AM   #1
alexm21
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
usermod


Hey, I'm using elive which is debian based and I was wondering how to make a user an admin. Can anyone help me? I know you use the usermod command but how do I use it in this sence?

Thank you,
Alexm21
 
Old 02-20-2009, 02:55 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by alexm21 View Post
Hey, I'm using elive which is debian based and I was wondering how to make a user an admin. Can anyone help me? I know you use the usermod command but how do I use it in this sence?

Thank you,
Alexm21
Do you mean, give the user root privileges? You would normally add the user to the /etc/sudoers file and specify the privileges you want the user to have. Run
Code:
man sudoers
from a command line to find out more.
cheers,
jdk
 
Old 02-20-2009, 06:12 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
For what tasks? Try to limit its power by either sudo as explained above or maybe put your user in a group: example put the user in group adm if you want him to be able to look at the system logs.
 
Old 02-21-2009, 12:07 AM   #4
alexm21
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I'm trying to download programs through terminal and update w/o having to use the root terminal.

Last edited by alexm21; 02-21-2009 at 12:09 AM.
 
Old 02-21-2009, 12:12 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by alexm21 View Post
I'm trying to download programs through terminal and update w/o having to use the root terminal.
download programs how?? If you're using a package manager, then it's normal to be root or use sudo when you do this. If it's other kinds of software (downloading 3rd party binaries) then you don't have to be root to download them but (normally) you have to be root to install them system-wide (but not if it's only in your own home directory).
cheers,
jdk
 
  


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
usermod and passwd Shwick Linux - Software 2 10-09-2008 05:32 AM
Usermod carlosinfl Linux - General 8 09-19-2006 09:26 PM
usermod / useradd ? bibilit Linux - Software 1 12-19-2003 03:16 AM
usermod shanenin Linux - Software 4 12-08-2003 09:49 AM
usermod thelight1 Linux - Newbie 1 07-24-2003 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:46 PM.

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