Ubuntu :: Why The User Created At Installation Time Is A Custom User Instead Of An Administrator
Oct 31, 2010why the user created at installation time is a Custom User instead of an Administrator.
View 4 Replieswhy the user created at installation time is a Custom User instead of an Administrator.
View 4 RepliesOriginal HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:
Code:
su [insert username of old account without brackets]
sudo usermod -G admin [username of new admin account without brackets]
exit
Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)
Code:
su [insert username of old account without brackets]
Means were going to Switch User to the old admin account
Code:
sudo usermod -G admin [username of new admin account without brackets]
This simply adds the admin group to the secondary group list for the new user
Code:
exit
Pretty self explanatory
I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.
1. My laptop automatically get logged in without asking user name and password.
2. I tried to change password for newly created user and root user using graphical way but it does not work.
2. I can perform administrator task using only OEM user which is default inbuilt user of mint.
How can make my laptop to ask password when mint get booted? How to change password for other users?
created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??
View 4 Replies View RelatedI have a kickstart script that attempts to create user "joeblow" with an encrypted password. The user is created okay, but the password does not seem to "take". After installation is complete, and the system is rebooted, this is the relevant portion of /etc/passwd:
Code:
This is the relevant portion of /etc/shadow:
Code:
Where there are two exclamation points, I would expect the encrypted password (as is the case for the root user, which is also created in the kickstart file).
The relevant line in my kickstart file looks like this:
Code:
That password string, which is 34 characters, is the word "password", encrypted with this command:
Code:
Also in my kickstart file is this line:
Code:
After the install is complete, I reboot and attempt to log in as "joeblow", but no dice. If I log in as root, and manually put the above encrypted password into /etc/shadow for jowblow, I can then log in as joeblow.
I installed Linux Mint 9 a couple of days ago (from a live usb) and my 'Account type' was set as 'Custom'.
I had to change the 'Account type' to 'Administrator' so I could edit the 'Network Manager' configuration (the 'Apply' button in Network Manager was disabled until I changed to Administrator).
Is it ok to leave it as 'Administrator' or should I change it to 'Desktop user' until I need to change system settings again?
First time posting here, sort of long time slacker with some gaps in between... Anyway, I have a sort of question/feature request. First of all, I fully understand the KISS philosophy from Slackware. Story: I co-worker of my was looking for a Linux distro to install into a VM that he would be able to carry around in an USB memory from work to home. I suggested for him to try slackware. However, he has a limitation of ~2gb to the installation size, and he doesn't need most of the packages. With this in mind, I helped him select the more relevants one, but it was a pain to make an installation that both works AND attends the 2gb maximum limitation.
From that experience, and also having in mind the KISS philosophy from Slackware, comes my question/sugestion: why not provide an install option like "Custom Packages Script", that will load a single script file from a USB/mounted partition and install pre-selected packages that a person has selected and build the script from? This would allow anyone to build a custom Slackware installation and share it with the community.
In my recent installations of Debian stable release (Jessie) with Gnome and Cinnamon respectively, I added my wife as a normal user. A home directory was created automatically for her.
In these installations, I am able to access her home directory, while, in the past, I was not allowed to access her home directory on previous Debian releases.
Need help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...
View 4 Replies View RelatedI created a new user
/etc/passwd
joe:1005:0::/home/joe:/bin/bash
Also added him to the group root
vi /etc/group
root:0:root,joe
When I do
su joe
Gives me
ERROR: NO LOGNAME
i want to know who created the user(this user was created 1yr ago).Is there any process or command to know who created the user and which date he was created
View 1 Replies View RelatedI create a new user but can't use this to login. I did followings:1.Create a new user with
Code:
useradd -m �d /opt/jboss/VGER -g jboss vger
2.
[code]...
I am running Ubuntu Server 10.04 and I just created a new user. Everything works great except the new user's SSH shell can not do certain things.
For example, I cannot arrow up for previous commands on the new user. I just get "^[[A" when I try that. (I can do this on root.)
It also looks different on root versus the user, look:
Code:
Code:
tried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?
View 14 Replies View RelatedWhen you create an user with adducer (name) an folder is automatically created to that user.
But how can i move a user to a group when he is created with adducer.
My Linux is Fedora release 13. I found there are a few users created not by me. I am not sure if the system got hacked somehow. Then the hackers created these users, i.e. (1) oracle, (2) exim, (3) test, (4) cox. I tried to delete all of these four users by using "usrdel" command but the system said "I cannot delete these users as the users are logging in". If my system got hacked ?? or these users are created by the system itself?
View 8 Replies View RelatedI am trying to create an RPM package. However when the RPM package installs, it need to skip some files that might have been created by the user after the last installation and use of the program. Is there a way to build RPM package that just skips the user created content in the installation dir.
For example:
lets say my RPM package creates the following dir and creates files required by my application, say .app files.
/ppm/config/
However the user may also create a few .xml files in the same dir. How will I package my program that will not delete the .xml files from the above dir and will just create the application files (.app files).
I had successfully installed centOS,i am able to login as root.I created local users.But unable to login via console and FTP.As per the logs there were some LDAP issue,so i disabled LDAP and disabled PAM config as well.Now i am able to login to the FTP with the local users created.unable to login to the centOS console with the local user.
View 2 Replies View RelatedI configured my server to have the virtual mail authenticated and stored through mysql DB.Now the authentication works, but then I got the dreaded -ERR chdir error.After research and testing for ohurs I finally got it working on ONE account after I created the maildir with maildirmake.Now I am able to login and "list" messages, but nothing else. When I use postfixadmin to setup a new user, the maildir does not get created so I have the same problem.I'm trying to troubleshoot what is happening.Here are the relevant config files:
/etc/postfix/main.cf
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no[code].....
This may be a rookie mistake, but I created a user (new user) in Linux on a Ubuntu system and didn't actually create the home directory for this user. Now, when I log in, it says there are problems... If I delete the path home/<new user> and try to log in the system tells me I can use root as home directory but I will likely experience problems, and then it won't let me log in. What is the best way to create this directory with the appropriate permissions? Should I just create another user and delete this one?
View 1 Replies View RelatedI scan a document with root pressing the scanner button. I would like to send an email using my gmail account. OK. nothing difficult with that... mbsmtp + mutt for sending trhough the sh script.
1-root is to be avoided at max to do some internet duties, due to security. Apt-get is good, but ok surfing or email sending shall be avoided for higher security.
2- sudo or su running mutt through this way, ok, using an existing user. OK, possible and simple, but not comfortable since you have to use an account of an user existing (create a new user for scanner and email?? - no, come on, we have linux and can maybe find a solution)
how to send an Email from root console using an non created USER?
I created a user called gdev.
As root, I made a dir /var/www/html/test
I have done these same steps on numerous machines. However, in this instance, gdev cannot cd into test/
I have just installed vsftpd on my debain server..I want to know how can I create a new user called mesk as FTP user and set a home page to some folder on my server? I tried this:
Code: Select allhtpasswd -c /etc/vsftpd/passwd mesk but got: cannot create file /etc/vsftpd/passwd.
I want to give Administrator privileges to Root user in Linux Domain Controller
View 12 Replies View RelatedI'm trying to build my own livecd using the debian live project: [URL]. At the end (/usr/lib/finish-install.d) I want the installler to change some configuration files. The custom user selected during the installation I want to put into a variable:
Code:
#!/bin/sh
User=$(getent passwd 1000 | sed -e 's/:.*//')
if [ "$User" != "user" ] ; then
in-target sed -i "s/home/user/home/$User/g" /etc/smb.conf
in-target sed -i "s/USER=user/USER=$User/g" /etc/default/sabnzbdplus
fi
The script seems to work fine because when I have a look at the configuration files the lines have been modified. However the $User was empty. Anyone of you have some knowledge about debian-live and know how to retrieve the custom user that was entered during the installation?
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
View 3 Replies View RelatedI want to automaticly set the group ownership of user home directories to a group that the user is not part of. This is so that Apache can be part of this group and can access user public HTML directory, but other users are not able to access in any way the files in the users home directory. What I have seen that works manually is adding the user and then changing the group for the home directory. But I want to automatically set this when the user account is created. WHat I see happening is that when /etc/skel is copied, it automatically sets the group and ownership of everything to the users default group and ownership. I've seen some suggestions on setting permissions, but these don't seem to work because it seems that users are able to cd into a directory and not list it, but if they know the file name they can access the file.
View 1 Replies View RelatedI'm trying to setup a custom attribute for user accounts, I'm able to make the attribute (foo) and the Object class (foo_class) . But i'm unable to add foo or foo_class to my test users
View 1 Replies View RelatedI am afraid to ask with so many things changing around in each new release.Where would one add a custom script to execute when logging and shutting down in into a user profile like /home/test or /root ?would this be rc.local?
View 2 Replies View RelatedHow to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?