LinuxQuestions.org
Review your favorite Linux distribution.
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 09-02-2004, 06:10 PM   #1
SCX
LQ Newbie
 
Registered: Aug 2004
Location: Brighton, UK
Distribution: Debian
Posts: 14

Rep: Reputation: 0
User powers!?


I have just completed the setup and install of debian woody 3.0 and have successfully configured my network card etc. I created an additional user account like im supposed to other than root.

Whats the debian command for giving my new user account root powers?

Thanks

scx
 
Old 09-02-2004, 06:34 PM   #2
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
short answer...

you dont

If you need to do something as root you do it from terminal by typing "su" and put in your root pw. Dont think Windows.
 
Old 09-02-2004, 06:37 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
You don't give a user account root powers. If you need root powers,
you su (switch user) to root. At the command line type "su" without
the quotes and enter, then give your root password. When you've
finished your work as root, type "exit" to return to normal user.

That's the first line of security in Linux...log in as root only to do setup
and configuration that absolutely requires administrator privileges, such
as adding users, installing software packages, and performing network
and other system configuration. Once you are finished, immediately leave
the special account and resume your work as a non-privileged user.
 
Old 09-04-2004, 05:57 AM   #4
SCX
LQ Newbie
 
Registered: Aug 2004
Location: Brighton, UK
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
Ok I definately need guidence then! before reading your posts which I'm very grateful for I used the command adduser myusername root so now myusername is a member of the root group and i have root powers...which actually isnt really what i want!!! Is there a way to undo this?
 
Old 09-04-2004, 06:12 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I don't know where to look it up right now but I think root can delete that user,
or change the group. Issue "man chgrp" and see if that's what you need.

And to give yourself a good introduction to Linux, read http://tille.soti.org/training/tldp/index.html
 
Old 09-04-2004, 07:07 AM   #6
SCX
LQ Newbie
 
Registered: Aug 2004
Location: Brighton, UK
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
Ok so if I delete my user then create a new user how can i give it enough power to modify files other than its home. I could use su but i cant use su from puTTY. basically I have my webserver setup and im trying to aministrate it remotely useing puTTY from my windows machine. but when I log in as myusername I cant do anything like change files etc and when i try to log in as su I get an access denied message. I need to access my /var/www/ folder from my windows machine from putty and also I need to be able to ftp into my server. If anyone knows where tfm is for these things that would be a great help! Thanks! SCX
 
Old 09-04-2004, 07:29 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Now you've posted some more specific information so that someone
"in the know" can answer your question. You never before mentioned
that you were tying to admin a webserver from a Windoze box.

Sorry but I've never done this. I'd give you some suggestions but none
that would be helpful. This post is in the Debian forum, but it isn't just a
Debian specific situation. It's more of a Networking question. I don't
think anyone would object if you started a completely new thread, with
a subject more in line with your puTTY question, and this new information
in the Networking forum.

Have you searched LQ www.google.com/linux for puTTY? Have you searched
the Networking forum in particular? I just searched Google with the word
puTTY and came up with some good looking stuff.

Sorry I can't be of more help. I'm building a small server next week, but will
be using SSH from Slackware to do what you're doing from Windoze.

Last edited by Bruce Hill; 09-04-2004 at 07:30 AM.
 
  


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
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 01:04 AM
hard drive powers down on reboot postal26 Linux - Hardware 1 05-31-2004 10:03 AM
hard drive powers down hotrodowner Linux - General 7 09-23-2003 06:07 PM
Suse installation powers down my laptop puzz_1 Linux - Distributions 2 07-18-2003 01:39 PM
Computer powers up by itself scottw General 6 04-18-2001 07:53 PM


All times are GMT -5. The time now is 08:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration