General :: Create User Add File With Default Password And Force User To Change It?
Feb 2, 2010
I 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
ADVERTISEMENT
Mar 16, 2011
I have now been trying to find an answer for the following for a while and can't seem to get anything.On previous linux distros we had the option available "passwd -e" which allowed us to force the user to change their passwords upon the next login.s functionality however seems to be excluded from latest linux distros (currently using RHEL 5.4)...Does anybody know how the same effect can be achieved and perhaps any idea on why this option was removed as it was great for securing passwords
View 5 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 5, 2010
How do I disable and change the user password using SSH on a Linux
View 3 Replies
View Related
Sep 3, 2010
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 Related
Dec 3, 2008
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 Related
May 3, 2010
Cannot 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]....
View 1 Replies
View Related
Sep 12, 2011
Though 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 Related
Jul 20, 2010
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 Related
Mar 22, 2011
I'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.
View 14 Replies
View Related
Jun 13, 2011
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
View 3 Replies
View Related
Jul 23, 2011
when i want set quota for a user is use: "edquota -u root"
but if i want set quota for all user, and create a default for new user, what should i do ?
View 1 Replies
View Related
Jul 20, 2011
I'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.
View 2 Replies
View Related
Jan 6, 2009
At the RHEL prompt, I entered the standard user's username/password combo. Linux displays a message box stating:"Your account has expired; please contact your system administrator."Next, I entered "root" in the username field and entered the root password (which expired also--keep in mind that passwords are set to expire after x days). Linux displays a message box stating:"You are required to change your password immediately (password aged)."When prompted to "Enter current UNIX password", I entered the new password (was that the right thing to do?); Linux displays a message box stating:"The change of the authentication token failed. Please try again later or contact the system administrator."I rebooted the system and got into command line mode; somehow I logged in as "root" (don't know exactly how, but needed to change the password there). At the "#" prompt, I type "passwd root"; Linux displays the message "Changing password for user root", followed by the message "passwd: Authentication information cannot be recovered.
View 4 Replies
View Related
Jul 27, 2011
I 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?
View 2 Replies
View Related
Feb 24, 2011
what is default login and password for open suse?
View 1 Replies
View Related
Aug 23, 2010
what is the default user ID and password in remastersys for live cd / usb session?
View 3 Replies
View Related
Dec 29, 2010
After setting up a persistent Lubuntu (10.10) on a 4GB SD with Universal-USB-Installer-1.8.1.8 , I started changing the passwd of the original user ubuntu , but after rebooting, I can't log in. So I resorted to hitting Ctrl+the function key that gives you a CLI, and changed the password for "ubuntu" user then tried to log on again. No success.Then I created a new user with a password, and managed to log in with this user, but it is not the same experience, the menus are lacking, and it is not possible to log on to wifi, similar problem to this user
View 3 Replies
View Related
Jul 1, 2010
I want to create one user without password using useradd command. Is there any way we can do the same? I have googled it but couldn't get the perfect solution
View 1 Replies
View Related
Nov 1, 2010
Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.
man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.
View 1 Replies
View Related
Jan 5, 2010
I've tried both the GUI and the terminal to change my user's password and both are failing. I'm running 9.10 with current updates.
In the GUI, I type in the current password and it recognises it. I then type in the new password twice. Upon clicking change password it hangs.
In the terminal I use "passwd". I type in current password. I then type in the new password twice, but an error of:
Code:
I've even changed the new password to another something different (with NO special characters), and it still fails.
Are there certain characters I should NOT have in a password, such as /#/ or /;/?
View 5 Replies
View Related
Jun 1, 2010
I want to do setting in RHEL5 such that user should able to change his password only once in a day.I have changed the fourth field (i.e. minimum number of days to change) in in "/etc/shadow" file for "root" to "1". But its not working. I am able to change the password of "root" using "passwd" command.Any one can help me out on this issue
View 5 Replies
View Related
May 4, 2011
Is possible to make a folder permission like below?
-User can create files/folders in the shared folder.
-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)
-Each new files/folders created will auto owner to root only.
View 4 Replies
View Related
Jun 23, 2010
- is there a way to set the default user in console login so that all needed is to press enter(or event without it) to be able to input the password for that user - also is it possible to console login without password, by just inputting user name and pressing enter how to put startx for that user right on login, so that the user doesn't input the command manually
View 6 Replies
View Related
Aug 9, 2010
I'm trying to write a script that will prompt the user for a username/password, then create that user/password in the right groups on all my machines. I know this is kind of a long way around to avoid a NIS server, but I like making my life more difficult.
This is what I have so far:
Code:
the script has 2 problems: The "if" functions return an error and do not compare the strings successfully. whatever password is entered does get applied properly and the user is unable to login
View 7 Replies
View Related
Mar 25, 2010
I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw
View 2 Replies
View Related
Apr 16, 2010
After today's sudo upgrade on Karmic amd64, I am able to login only as root on my xubuntu system. Tried to change password on my user account but the result is the same.
View 3 Replies
View Related
May 23, 2011
i have an admin-account and an user-account on a computer. It's automatically log in to the user-account, but I have forgott the passwordt. I want to change it, but to how change it? I need the precent. How do i do? I have the admin password.
View 2 Replies
View Related
Jul 13, 2010
for some reason the password just won't change, maybe I have the command wrong? Here is what I am doing and the error.
[root@server~]# useradd testuser
[root@server~]# passwd testuser
Changing password for user support.
passwd: Failed preliminary check by password service
View 7 Replies
View Related
Aug 1, 2010
I installed Ubuntu Server and want to change the default user name to increase the difficulty of accessing the server.Is it possible to do this? If not, can I effect the same change by creating a new user and transferring over permissions, files, and etc.?
View 7 Replies
View Related