General :: How To Change User Info
Aug 4, 2011I want change user account "mysql" info like is:
View 4 RepliesI want change user account "mysql" info like is:
View 4 RepliesI want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
View 3 Replies View RelatedI 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?
How do I disable and change the user password using SSH on a Linux
View 3 Replies View RelatedI'm looking for a Linux command that can change ownership of all files belonging to a given user,preferably in a targeted directory, to another specified user. My dream command would look something like this. chuser -R --olduser tom --newuser jerry
This is my scenario... I have a backup file (.tgz) with user and group information preserved in it. It was taken from a web server running Apache and MySQL. The files in the backup are from across the system and contain files from several different users and several system type accounts and it is key that when restored on the new server the settings are not lost. The problem is that the users on the machine the files are being restored to don't match the ones in the backup file. For instance both machines had a MySQL user but they have different user ids and there are several user ids that existed on both machines that belong to different users. This means there is no way to sync the users on the new machine to the ones on the old machine. I can find all the users files with the find command like this...
find /decompressed-backup-dir -uid 1050
or
find /decompressed-backup-dir -user tom
If, as I suspect, there is no way to do what I want with a single command then perhaps there is a way to pipe the results of the find command to another command to handle the ownership change?
I could do this with a PHP script but there are 4GB and tens of thousands of files in the backup so I don't want to use PHP or Perl but I would be happy with a shell script that could handle it.
how to work properly on the windows forms application in c++.
the thing is that i was able to produce in the windows forms application a web browser and I added a save button. So know I am able to navigate predeclared webpages such as [URL]and then I entered google's search box such as "spread of H1N1". and I surf a page such as [URL] I later save the page as text file on my computer.
I wanted to know how to organize the words in the text file ? i mean how can i just get the number of infected people in USA , number of infected in CANADA (if they exist) from all the text file and change it to a file with precise data.that is to eliminate the unneeded information such as the the characteristics and the useless ideas? and what if i also wanted to know the characteristics of the virus in a country+the number of infected?. How can i do it?
Is there any tool in linux, so that the bandwidth, each user consuming, can be monitored.
View 2 Replies View RelatedI use an application that encapsulates IPv4 packets in an IPv4 tunnel using the TUN/TAP driver in Linux. There is a fancy protocol used between the 2 layers. This software works like a charm.
I have started modifying the source code in order to send IPv6 packets in an IPv4 tunnel. So far, the software seems to work fine but the information (packets) does not seem to make their way back to the user space.
I initiate an ICMPv6 packet with ping6. It gets in the tun0 interface. The software makes the IPv4 encapsulation and sends the information out of the system. The ICMPv6 echo reply comes back to the system with the corresponding encapsulation. The software removes the encapsulation and writes the packet in the tun0 interface. The ping6 application never receives ICMPv6 echo reply.
I have confirmed the integrity of the transaction using tcpdump on the tun0 interface. The interface comes up with the "inet 6 addr" only. The interface has the flags "UP POINTOPOINT RUNNING". The RX/TX counters are incrementing and no drops are observed at the interface level.
How can I troubleshoot this problem? There seems to be a lost link between the tun0 driver and the user space applications. The system uses SuSE Linux Enterprise 10 SP1. This is based on kernel 2.6.16. This is quite old.
I have a uid that I need to change however I need to know the process of doing so as this user is a vital user that has ownership of several running pids on this server. (webserver)
This user (admin) has a uid of 1003 on this server (server-A). However, on all our other servers (server-B-G)the uid is 1001. The reason for changing the uid is that the nfs mount that is mounted on server-A and on all the servers does not work right due to the uid difference. We have diagnosed to this point.
My question ... admin is the owner of several running pids.
So in order to change the uid, do I need to:
- stop ALL pids owned by admin
- >usermod -u 1001 admin
- then start back up the jobs that admin runs
I have verified that there are no files/dirs owned by uid 1003 but the ownership is admin.
I can run a find >find / -uid 1003 - to locate any orphaned files/dirs before I start back up any jobs that require admin ownership.
Then >chown the file/dir.
Does this appear to be a viable plan to get this uid corrected?
I have installed tftpd on Ubuntu, but I think it not secure very much. So I read its manual, and it says: The server should have the user ID with the lowest possible privilege. I find the server has the root UID:
[code]...
I am new to Ubuntu and am attempting to do a clean install on my second pc. I'm semi computer illiterate, and I am stuck on the Who are you? page. It appears that I have all the fields filled in correctly, with checks next to them all and "Fair password" displayed. I have Log in automatically checked, and I have require my password to log in as well as encrypt my home folder unchecked. I was wondering if there had been problems with this or is there something that I am doing wrong with my installation? The forward button is not clickable for some reason
View 3 Replies View RelatedI have a textfile with name negin.txt in /home and did the following:
Right click → Properties → Permissions → Advanced Permissions → Add Entry → Named User user:wwwrun
Is it possible to do this over the shell?
I tried chown wwwrun /home/negin.txt but got no result. What is wrong here?
Im trying to run this program and they say I should not run it as root but as a diff user. how to change from root to dif.user. I am using linux CentOS 5.5. Is it a terminal command? How do i create a diff user and log in as it?
View 5 Replies View RelatedFor a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.
I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?
I want to know how to change a password to an user account. Can someone give me the syntax on how to do this? I was using usermod but it's not working (usermod -p 123456 user1). Is there other way beside usermod? I am using RHEL5.
View 3 Replies View RelatedI've created a set of users using the newusers command. Unfortunatelly ive messed up and added all users to the 1000 group as primary group instead of giving the group argument as null what would add them to a new group. To make things clear:
The entries should be
user:password:::User Name:/home/user:/bin/bash
but I did
user:password::1000:User Name:/home/user:/bin/bash
I need to create the missing groups. A simple fix could be do a for loop creating a group with the name of each user in my file and then adding the users to it. Are there any dangers of doing it? What impact could this change have? Are there any safer ways?
A combination of the following commands:
Quote:
Add users to a group with the gpasswd command:
# gpasswd -a [user] [group]
To delete existing groups:
# groupdel [group]
To remove users from a group:
# gpasswd -d [user] [group]
If the user is currently logged in, he/she must log out and in again for the change to have effect.
Quote:
for i in (names)
do groupadd $i
gpasswd -a $i $i
Assuming I've created all users in group 1000 I could remove them from it with
Quote:
# gpasswd -d [user] [group]
How do I change user's home directory, because right now everything saves into File System and it's almost full(I got windows and Ubuntu installed in the same partition), while the other 120Gb filesystem is unused..
View 9 Replies View RelatedCannot change a user password om mysql Trying to change the cactiuser password but no luck so farThis is what I did:
mysql> use mysql;
Database changed
mysql> SELECT host,user,password FROM user where user='cactiuser';
[code]....
I'm running Slackware64 13.1. When I change the bright of my screen, xfce power manager show a info bar. But now it disappear, when I run xfce4-power-manager from a terminal I get this info:
Quote:
Another thing, Slackware don't have cpu governors?
I want to increase the color depth for my user account in kde. I cannot edit the configuration in /etc/X11. Is it possible?
View 2 Replies View RelatedThough this might seem like a [URL] question at first glance I don't think it is. I have a mysql database on a server at work. Every time I log in to execute a query, I have to manually select the one database I want from the one database I have, which is a waste of time. Is there any way for me as an end user to set a default?
View 2 Replies View RelatedI was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.
View 4 Replies View RelatedTitleThink user Linux registrations can make a world change?The questionDo you think the registration of Linux users can make people, companies, governments, institutes, and everything related to technology change their opinions (minds)?Introduction My first experience with a PCI used proprietary software since I owned a PC. Starting from the operating system to the programs all was backed by a closed company.EurekaAt the year 2004, I have read a magazine that mentioned the word "Linux", it was the first time I got to know that actually there was other Operating Systems than Windows. I "googled" and "wikipped"(searched), all the information I could get about that new system(for me).
After few searchs the word "Debian GNU/Linux" came up. I have burned the ISO file for a brand new CD and got all enthusiast.ExperienceI had actually complete the command line install, but always thinking for myself "What a waste of time!" (Yeah... such an idiot I was at that time).
After the installation, I booted the distribution and at the minimal error and/or thing that didn't worked like I pretended, I would just say a lot of terrible things and give up.The second chanceOnly at about 2007, I gave Linux other chance(ironic, like Linux was the guilty for my lack of skills. I downloaded and burned the Ubuntu Linux 6.06 Live CD ISO.
I was astonished when the CD booted,
asked for language and actually changed it.
Then the Live Environment "flashed"(appeared).
I was out of words and almost regretted everything I have said about Linux efforts(I still didn't had a open mind tough). For the first time I actually faced-up the problems and issues that came up, but annoying everyone and saying bad stuff(I'm terribly sorry).The enlightenmentOnly at about end of 2009, I started actually wanting to learn how everything worked. That was the time I changed for Slackware Linux distribution. I learned many stuff. But with the time, I realized that the important isn't the Operating System and/or Distribution we use, is the use that we make of it. Nowadays I use about any distribution without complaining much. We need to respect the work of others after all, and we can learn with the mistakes too.
All this to askThe questionDo you think the registration of Linux users can make people, companies, governments, institutes, and everything related to technology change their opinions (minds)?NOTE: This reflects for BSDs, OpenSolaris(now over) and all other related open source software not just Linux.
I am trying to change the password of a user by 'usermod' command. let us assume that there is a user named "test" to change the password of the user we can type "passwd test" which will change the password of the user "test". I want to change the password similarly using the command "usermod". when I give usermod -p yahoo test"(yahoo is the password which I want to set), I am not getting any errors but when I switch user to test, I am unable to login.
View 1 Replies View RelatedMy default install language is chinese, now I want to change it to english ,how can I do it ?
View 1 Replies View RelatedHow to change user to root user in obuntu 10.04
View 6 Replies View RelatedI'm new to SUSE Linux 10 and I am having a problem with a local user account. Here is the scenario,Logged in successfully to a putty session as the "user" and try to change the password :
passwd "user"
(current) UNIX password:
passwd: Authentication failure
I am unable to change the password as the user but i am able to log into the server with the same user.
This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?
View 1 Replies View RelatedChoose Menu System->Administration->Users and Groups
I am able to see my Users Settings as follows:
User name: mike
Then why I still see the following prompt line? code...
If my understanding is wrong, then how can I change it in this way?
I have this dump script that performs either full or incremental backups depending on the day of the week. From what I have read, when using dump you should drop to single user mode to help prevent the backups from being inconsistent before you issue the dump command. What I want is the script to drop to single user mode, perform the backups using dump, and then go back to runlevel 3 after the backups complete.
I know when you enter init 1 to drop to single user mode, but doing so within a script reboots the computer and drops it to single user mode and the rest of the script doesn't complete.What would be a good method for me to be able to accomplish what I want to do? Do I need to run other scripts that would call mine?I am running Centos 5.4