PDA

View Full Version : [ubuntu] SuperUser Rights



aleyali
February 4th, 2010, 06:32 PM
Hi,

I am new in Linux (Ubuntu 9.10) world; and I plan migrate my network from Microsoft to Linux (Ubuntu); kindly help me in my some queries.


How to assign super user OR administrative rights to specific local user, domain administrator and any domainís group, my domain controller in windows server (Active Directory).

I got error when I run my ASP.NET application in Wine environment with MSSQL, my MSSQL on the different Windows server.

Previous practice of my user is lock his screen by pressing Ctrl+Alt+Delete; there is any option available of change screen lock keys from Ctrl+Alt+L. to as windows.
Kindly help me with step-by-step guidance in these queries.

niklinux03
February 4th, 2010, 07:41 PM
Hi,

here is an answer to your question how to assign super user
priviliges to local users.

Look at file /etc/group.
There you should find an entry like

admin:x:SOME NUMBER:USERNAME_1

Just add the user name of those local users that
you want to assign super user privileges.

admin:x:SOMENUMBER:USERNAME_1,USERNAME_2

Don't forget the comma, that is important.
If you are new to linux make sure to backup the
/etc/group file before edditing.

Best

FuturePilot
February 4th, 2010, 10:34 PM
Hi,

here is an answer to your question how to assign super user
priviliges to local users.

Look at file /etc/group.
There you should find an entry like

admin:x:SOME NUMBER:USERNAME_1

Just add the user name of those local users that
you want to assign super user privileges.

admin:x:SOMENUMBER:USERNAME_1,USERNAME_2

Don't forget the comma, that is important.
If you are new to linux make sure to backup the
/etc/group file before edditing.

Best

Best to use the tools provided than to try and edit it yourself where mistakes can be made.


sudo usermod -a -G admin username

will give username sudo privileges.

doas777
February 4th, 2010, 10:39 PM
in terms of superuser, read this first:
https://help.ubuntu.com/community/RootSudo

admin works differantly in ubuntu than on most systems, in that you are never an admin persistently, but you have the ability to become admin on a command by command basis.

you can remap your keys in System -> Prefrences -> Keyboard shortcuts