Warning: include_once(../cacheforex2/de/00curr_de.html): Failed to open stream: No such file or directory in /www/wwwroot/exchangerateeuro.org/exchange-rate-converter.php on line 146
Warning: include_once(): Failed opening '../cacheforex2/de/00curr_de.html' for inclusion (include_path='.:') in /www/wwwroot/exchangerateeuro.org/exchange-rate-converter.php on line 146
Deprecated: Creation of dynamic property lastRSS::$cache_dir is deprecated in /www/wwwroot/exchangerateeuro.org/00rss.php on line 45
Deprecated: Creation of dynamic property lastRSS::$cache_sqlite is deprecated in /www/wwwroot/exchangerateeuro.org/00rss.php on line 46
Deprecated: Creation of dynamic property lastRSS::$cache_time is deprecated in /www/wwwroot/exchangerateeuro.org/00rss.php on line 47
Deprecated: Creation of dynamic property lastRSS::$rsscp is deprecated in /www/wwwroot/exchangerateeuro.org/lastRSS.php on line 234
X11 forwarding does not work if su to another user Obviously, this works if your new user has enough privileges to read ~username Xauthority (i e if you su to root then there are no problems, if to another user it might not work and you need to check modify permissions)
Sudo requires password after adding user to sudoers I dont know if its too late to answer But I ran into same problem recently and nothing was working So in case you login to server using ssh keys without password, you can try below steps: Add user to sudoers file sudo visudo username ALL=(ALL) NOPASSWD:ALL Then delete the password for user sudo passwd -d `whoami` Now you will be able to run any sudo commands without password
Cant switch to a specific system account with su The reason su jenkins appears to fail is because the user's shell is bin false You can specify a shell with su that will be used instead of the default login shell:
Is there a single line command to do `su`? - Ask Ubuntu Here's why: If you write a password in a command like su <username> -p <password>, it would be stored in plain text in your bash history This is certainly a huge security issue If you need to run commands with su (or sudo) in an automated way, write a shellscript containig the commands without su or sudo and run su <username> script sh
This account is currently not available error when trying to ssh While I agree with the others that allowing login through SSH through the www-data user is generally a bad idea, once you've logged in with a normal user it may be useful to run multiple commands concurrently with the permissions set of the www-data user In that case, one can run sudo su -l www-data -s bin bash and you will be able to access your files as the www-data user
Difference between sudo su - user and sudo -iu user From what I know: By using sudo su - user I open a new shell as user, and the dash gives user's environment variables (while sudo su user does not) and using sudo -iu user as well (-u for precising user, -i for "simulating initial login")
Cant change root password, passwd doesnt do anything Then I tried sudo su - and then sudo passwd root and this time it actually worked! Just have in mind when you're done and you want to test if password changed successfully, you need to run exit command twice First time to exit from sudo su - and second time to close SSH connection