Adding sudo user in dabian and changing user password

user password changing
For a user named koha:

sudo passwd koha
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Adding sudo privileges

Not this way: sudo vi /etc/sudoers

# This file MUST be edited with the ‘visudo’ command as root.

This way:

$ su root
Password:
# visudo

# User privilege specification
root ALL=(ALL) ALL
koha ALL=(ALL) ALL (Add here, like koha user)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s