01-13-2011, 08:28 PM
(This post was last modified: 01-13-2011, 08:31 PM by klausenbusk.)
Tilføjede mig selv fra root kontoen
https://help.ubuntu.com/community/RootSudo Allowing other users to run sudo
Hvis du f.eks vil tilføje en bruger som hedder test2 som skal kunne bruge sudo skriver du
På din root konto
Code:
Allowing other users to run sudo
To add a new user to sudo, open the Users and Groups tool from System->Administration menu. Then click on the user and then on properties. Choose the User Privileges tab. In the tab, find Administer the system and check that.
In Hardy Heron and newer, you must first Unlock, then you can select a user from the list and hit Properties. Choose the User Privileges tab and check Administer the system.
In the terminal this would be: sudo adduser <username> admin, where you replace <username> with the name of the user (without the <>).
Hvis du f.eks vil tilføje en bruger som hedder test2 som skal kunne bruge sudo skriver du
Code:
adduser "test2"
adduser "test2" admin