Hi guys,
I would like to add a new user and add him to sudo.
appreciated if someone can give me the command to do so.
Thanks
Hi guys,
I would like to add a new user and add him to sudo.
appreciated if someone can give me the command to do so.
Thanks
visudo
and add the user or, if you have an administrative group (eg. wheel) add the user to the group with adduser $USERNAME wheel
This is not really an AIX question. Rather, it is a sudo question and the solution will depend on how you have configured sudo.
The key file is located, usually, at /etc/sudoers
.
The standard command for editing this file is: visudo
Hope this helps!
the AIX command to create a new user is mkuser, but if you are asking, then I suggest to not try but to use the gui/txt administration interface: smitty ( txt ) /smit ( X11 ) by typing the shortcut
smit/smitty user