well as we known than the current user have specification to run all commands as the root was. but when we are the as dual user that use the current user as the commands daily and also can use the root user for the setting and the configuration system. we can use the sudo command to execute commands as another user also as a root.
but in my new slackware 12.1, I can't use the sudo command. and after I insert the password it gave results that the current user is not the sudoers file.
majendra@darkstar:~$ sudo vi /etc/fstab
majendra is not in the sudoers file. This incident will be reported.
As far as i know that we can use the sudo command on ubuntu for the default.So what sould i do with my slackware?
so to make the user be part of sudoers we can do some steps here:
1
login as root
2
open /etc/sudoers with editor
you can use vi editor
# vi /etc/sudoers
3
edit these line
find User Previlage
# User privilege specification
root ALL=(ALL) ALL
%users ALL=(ALL) ALL #add this line
It make all user in the “users” group
4
save and quit by type del and :wq
then try the sudo command.
thank you
I can't use the sudo ... on my slackware
Subscribe to:
Post Comments (Atom)
Others
Links | Galery | Other | |
get the code Red Carpet : |
Quote of the Day
provided by The Free Library
|
Blog Archive
-
►
2010
(11)
- ► March 2010 (2)
- ► January 2010 (8)
-
▼
2009
(47)
- ► December 2009 (2)
- ► November 2009 (4)
- ► September 2009 (1)
- ► August 2009 (3)
- ► April 2009 (3)
- ► March 2009 (4)
- ▼ February 2009 (9)
- ► January 2009 (3)
-
►
2008
(33)
- ► December 2008 (2)
- ► November 2008 (6)
- ► October 2008 (7)
- ► September 2008 (7)
- ► August 2008 (11)
0 komentar:
Post a Comment