I can't use the sudo ... on my slackware

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 could use the sudo command

4
save and quit by type del and :wq

then try the sudo command.
thank you






Related Posts by Categories



0 komentar:

Others

Links Galery Other
Maj'sBlog
get the code

Red Carpet : BolaSinema
Rohman Sudiro
TopicKhamsionk
Iyandri
David
Deskapahendri
HackTheSlack
MyCuteLingeries
Ngadsens
Frizzy
omSanjaya
marcel
pinginbelajar
jepangsong
thobingsunarya
ripmaggots
rumahislami
neocomp4
arwi-cigo
nearie.web.id
aveef
sakurasays
You ??
www.flickr.com
This is a Flickr badge showing public photos and videos from majendra. Make your own badge here.