-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 21 Aug 2008 11:57:46 pm Niyaz wrote:
> Hello Friend,
>
>
> I did a mistake :(
>
> I log into ubuntu using the primary user id 'niyaz' (created during
> installation).
>
> I was trying virtualbox and on the first run it told me 'niyaz' is not
> in vboxusers group.
> well, that revelation striked me quite hardly, i guess.
> And i fired:
> $ sudo usermod -G vboxusers niyaz
>
> and it transmigrated me to vboxusers.
> I lost the sudo power.
>
> In an attempt to rehabilitate 'niyaz'
> I booted the system with the Ubuntu live disk,
> added 'niyaz ALL=(ALL) ALL' to /etc/sudoers
> but it left some challenges for me:
>
> - 'niyaz' can't unlock users-admin (gui tools to manage users) although
> users can be added/deleted with useradd/userdel. it exits with error
> number 6868.
> - similarly 'niyaz' can't unlock services-admin (gui tool to manage
> services)
> - synaptic package is working fine ('niyaz' is getting authenticated by
> it)
> - 'niyaz' doesn't have permission to access other auto mounted
> partitions.
On a terminal running in X, do following
$ xhost +si:localuser:root
$ sudo su -
# export DISPLAY=:0
# users-admin
Now in the Users Administration dialog box, navigate to Privileges box and
grant appropriate privileges. All of these privileges are actually groups,
user should be in. Now, after granting appropriate privileges.
# exit
$ xhost -si:localuser:root
HTH
- --
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkitwbAACgkQHy+EEHYuXnSKQQCguKKg0nyOJ2f95j51R2wJ/9cN
R70AoIh2MQesu1eRmb4duv7zmNh4UeW0
=S+lc
-----END PGP SIGNATURE-----
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/