List Info

Thread: Administration screens gone..




Administration screens gone..
user name
2006-05-31 05:30:12
>
> On Tue, 2006-05-30 at 21:40 -0700, Matthew Kuiken
wrote:
>
>>> Secondly, it may have happened while adding
another user with admin
>>> rights.. and ended up with nobody with
sudo/admin rights!  I  
>>> managed to
>>> correct this by going into recovery mode and so
a 'visudo' to  
>>> update the
>>> sudoers file and adding my username as (ALL)
ALL (same as root).
>>>
>>> So after that I can sudo again, but my admin
screens are still gone.
>>> What can be my next step to fix this?
>
>> Is your user still a member of group admin?
>
> I'm not sure.. I also lost the 'Users and Groups'
screen so I can't
> really check.  If I check the /etc/passwd file then the
main group is
> the same as the username.
>
> I guess I should do a:
>
>   sudo usermod <my_username> --groups admin
--append
>

The groups command will show which groups you belong to. 
The /etc/ 
group file lists the members of each group.

There a number of ways to add a user to a group.  I usually
use 'sudo  
adduser <username> <groupname>'.

-- 
ubuntu-users mailing list
ubuntu-userslists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )