Red Hat / Fedora :: Created New User - No Logname
Apr 22, 2010
I 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
View 11 Replies
ADVERTISEMENT
Jan 1, 2011
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 Related
Aug 13, 2010
I 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.
View 2 Replies
View Related
Jan 6, 2010
Original 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
View 4 Replies
View Related
Jan 15, 2010
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?
View 1 Replies
View Related
Oct 31, 2010
why the user created at installation time is a Custom User instead of an Administrator.
View 4 Replies
View Related
Feb 2, 2011
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 Related
Jan 29, 2010
Suddenly the Linux command 'logname' returns: no login name.
View 1 Replies
View Related
Mar 5, 2011
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 Related
May 27, 2010
I 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]...
View 1 Replies
View Related
Jul 14, 2010
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 Related
Jan 25, 2011
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:
View 6 Replies
View Related
Sep 4, 2009
I 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).
View 2 Replies
View Related
Feb 25, 2011
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 Related
Apr 29, 2010
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 Related
Jan 14, 2010
When 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.
View 3 Replies
View Related
Dec 29, 2010
I 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?
View 5 Replies
View Related
Oct 16, 2009
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/
View 2 Replies
View Related
Jan 31, 2011
I 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].....
View 3 Replies
View Related
May 28, 2010
I 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 Related
Jun 4, 2010
How to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?
View 1 Replies
View Related
Apr 7, 2011
i had created domain but not getting domain in /var/qmail/user/assign file.also it error /home/vpopmail/bin/vdominfo abc.co.inInvalid domain name
View 2 Replies
View Related
Jan 14, 2011
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
View 2 Replies
View Related
Aug 4, 2009
I want to know the creation time of a directory or a file. How can I know this?
View 1 Replies
View Related
Oct 5, 2010
I created an EC2 instance with Fedora 12 x86_64 about a month ago. I have been getting an hourly system log error:mcelog: Cannot open /dev/mem for DMI decoding: No such file or directoryI was ignoring it because I did not notice any implications, until now.I am running MongoDB on this machine, and reads from /dev/urandom are failing. I know reading from /dev/urandom shouldn't fail, so I think this system error may be the underlying problem.Are these two issues connected?If so, is there a way to fix this without having to completely reinstall the OS?
View 5 Replies
View Related
Jan 29, 2009
I installed CentOS 5.2 and it was fine. Later I installed some third party applications. Is this possible to create again ISO image from this install? Or alternatively how one rpm package can be added to the CentOS iso cds.
View 2 Replies
View Related
Apr 15, 2010
I installed slackware 13 to an 80gig drive on a box that also had an encrypted LVM created by Fedora. I can not seem to mount the drive from slackware even after opening the lock.
However, I cvan not boot the older fedora image due to UUID changing names. I tried to correct the UUID via a boot disk and am unable to do so. I have only read access to the 750gig fedora partition. Slackware fails mount with unknown partition type.
I can see my data but not pull it off.
View 2 Replies
View Related
Jan 17, 2010
I used Acronis' Disk Director Suite 10.0 ["DDS"] to create 7 logical partitions of 23GB each, into one of which I asked Fedora 11 to install. Fedora 11 completely ignored me and created 2 primary partitions of its own: a 217.4GB, a 2GB and a 2GB "unallocated." I will likely delete this installation for a number of reasons. How can I force fedora to install into a 23GB logical partition that I created for just that purpose? If I can't use DDS-created partitions then why do I need DDS-created partitions?
View 8 Replies
View Related
Jul 9, 2010
I've created a script to FTP some files from a RHEL box to a EMC NAS and the script works because if I run it script manually it runs fine and transfers the files to the NAS but when I schedule it in the crontab the script runs but it doesn't transfer anything and I pipe the output of the cron job and I see message about 'passive mode refused' and lib: not a plain file, sys: not a plain file, etc...I did a vi ~/.netrc which contains the a single line of "machine xxx.xxx.xxx.xxx login ftpuser password xxx"
My script looks like:
/usr/bin/ftp -i xxx.xxx.xxx.xxx <<EOF
cd ftpdir
[code]....
View 2 Replies
View Related
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related