Tag Info

Hot answers tagged

3

There are several software solutions designed especially for those task, but I can suggest a simple ad-hoc solution: On server, create a single grand /home directory and share it by NFS. On each client, move following files so that they, too, reside in NFS and share between PCs. /etc/passwd - user account information less the encrypted passwords ...


2

You will need more than one component to do this, and be aware that there are many ways to accomplish this; At first you will need to have an Linux Domain Controller (Like Windows AD), to do your AAA. Then also an database server must be used to store these information (LDAP in most cases). There are "all-in-one" solutions for this like Fedora 389DS. And ...


2

try su - Password: <Enter password of root user> root@host: sudo deluser sonu sidenote : If you write su- for very first time on the terminal then first you have to activate root user by assigning password. $ sudo passwd root [sudo] password for <currentuser>: Enter new UNIX password: Retype new UNIX password: passwd: password updated ...


2

Changing system settings requires superuser permissions. From a terminal, do sudo <editor> <filename> where could be vim or nano or any other editor command, and is the one you need to edit. You could also usegksudo gedit <filename>. In either case you will be prompted for password of a user with superuser permissions - in a normal ...


2

That looks like lxdm, the display manager LXDE uses. I gathered from the comments that you installed LXDE, and because of that lxdm was installed as well. To reset the display manager back to lightDM (Ubuntu's default) you can run this command: sudo dpkg-reconfigure lightdm Select "ok" and then "lightdm". Reboot. Alternatively removing lxdm would ...


2

Use this script: #! /bin/bash # for i in $(cat /etc/passwd | cut -d: -f1); do echo -n $i ": " grep $i /etc/group | cut -d: -f1 | tr "\n" " " echo done It will list all users in the system (included system) and print the list of groups near them. With a trivial modification you can print the numeric id too.


1

You could just test it in a virtual box of Ubuntu. That way you would have full control of network seting and there is also minimal risk of corruption


1

Another way is to change the username directly in apache config, this is if it's your local machine and you save images from somewhere else that would crush any permissions made on the folder. Also to do if you have only 1 user and don't care about www-data! $ sudo vi /etc/apache2/apache2.conf Find User and Group and put yours User <Your User> Group ...


1

About an hour ago, I had the same problem. I changed my UID, logged out and logged in. I stuck an external drive in the USB port and saw that it was mounted. When I clicked on the drive icon on the Desktop, UBUNTU said that it doesn't know how to open the file. You are lucky since the error message lead you directly to the problem.I am using XUBUNTU ...


1

Add the user as suggested by other answer using usermod command. Run the command id. You should see vboxusers in the list. If you don't see that, you may restart your computer and try id again. When you get vboxusers listed as a result of running id, you're good to use USB with virtual box.


1

Failsafe way They are listed in /etc/passwd. However, this will include "system" users. Generally, "normal" users start with a UID of 1000, so you can filter these out with. awk -F ':' '$3>999' /etc/passwd N.B. that I also have a user called "nobody" with UID 65534, so there are some false positives. Explanation of code awk -F ':' use awk with ...


1

Procedure to rename or change user name in Ubuntu: Open a terminal,Press Ctrl+Alt+T And run: sudo -i killall -u oldname id oldname usermod -l newname oldname groupmod -n newname oldname usermod -d /home/newname -m newname usermod -c “New_real_name” newname id newname Example: sudo -i killal -u belaje id belaje uid=1000(belaje) gid=1000(belaje) ...



Only top voted, non community-wiki answers of a minimum length are eligible