New answers tagged password
It's worth noting that some competent organizations actually prefer passwordless sudo when they have users who need to log into lots of different remote hosts—particularly if that includes hosts with varying levels of security. The problem with entering your password is that you're giving your password to remote systems on a regular basis. One of the ...
I do it by running "svn update" manually once, it is then prompt you whether to store the password or not. Once you choose to store it, it will work without password.
The credentials for ssh have nothing to do with svn. The subversion server that you're updating against maintains it's own credentials. This is usually kept by the svn client itself. It can depending on the form of authentication to the Subversion server but most of the time they're stored in the user's home directory here: ...
If you do sudo ssh email@example.com you will notice that you have to provide a password. Make sure that works without password first (e.g. by appending your ~/.ssh/id_rsa private key to /root/.ssh/id_rsa) As you seem to have to run the update using sudo. you probably should just make this a cron job for root
Even though michas gave you the optimal answer, it still involves booting from the external hard drive, which for some reason you seem against. Here's a method you can use from another Linux system without booting from the external drive. I assume that your Linux partition on the external HDD is /dev/sdb1, modify the following as needed. Run this code on ...
No need to put the disk into another machine. I assume your computer uses Grub as a bootloader. (The OS-choosing thing at the very beginning of the boot process.) You can use it to temporary edit the linux command line adding init=/bin/sh. This will instead of booting the whole system just open a root shell, which allows you to set a new password with ...
Try getting a Fedora 15 CD (not any other Fedora CD) and using it's rescue mode. Then follow these instructions: Boot from the install or rescue CD/DVD. Select "Rescue installed system." Answer the prompts for language and keyboard. Starting the network is optional and not needed. Let the rescue mode mount your file systems in the read/write ...
I installed Postgresql with the apt-get command. Do I have to create a postgres-user and change ownership of the installed postgresql files? No, you don't need to create postgre-user, postgresql package will automatically create the users that require. You can check using : getent passwd postgres or just grep in /etc/passwd file I see that the ...
When I use the useradd command I don't specify a password. [...] Does this mean that the user is disabled until it is done? Yes, if you don't specify a password hash using useradd's option -p, password-based login to the newly created account will be locked until you set a password using passwd. I installed Postgresql with the apt-get command. Do I ...
stefan@laptop ~ $ su - Password: laptop ~ # useradd example laptop ~ # su example example@laptop /root $ exit laptop ~ # logout stefan@laptop ~ $ su example Password: The user can only be logged in as root without a password. To log in as the postgre user try to su as root (if you have root). So try a: sudo su postgres and that should work.
To verify the passwd and corresponding shadow file, use pwck. To verify the group and corresponding gshadow fiile, use grpck'. See the manpages for the details of the actions they perform. Hand-editting of /etc/passwd is best done (if at all) with vipw and vipw -s for the shadow file. For the /etc/group and /etc/gshadow use vigr and vigr -s, ...
I dont think there is such command as it's not necessary in the first place Also it's not advisable to edit that file directly, instead use the appropriate commands like useradd and passwd If you are not convinced then just reboot after editing that file and all the changes will be effective
There is no such command to apply changes from /etc/passwd file. If user which details you've changed is logged in, it should just relogin to apply the changes. If not, they will be immediately available after login. This is because login reads details from passwd file during login and keeps it in memory until logout.
Top 50 recent answers are included