DebugQ - De:Bug:Q

Go Back   DebugQ - De:Bug:Q > DebugQ > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Thread Tools Display Modes
  #1  
Unread 04-09-2014, 06:16 AM
Debugger Debugger is offline
Administrator
 
Join Date: Oct 2007
Posts: 937
Default su -l (su root)

Q: how to add user account to su


   

Reply With Quote
  #2  
Unread 04-09-2014, 06:17 AM
Debugger Debugger is offline
Administrator
 
Join Date: Oct 2007
Posts: 937
Default

A:

vi "/etc/sudoers" and add a line under root

Quote:
## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
## user MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
root ALL=(ALL) ALL


   

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
DebugQ - Debug Quote - De:Bug:Q