Jump to content

Recommended Posts

Hi community.

I have a question.

I can run the comand install.sh as root.

Has it says in the topic of the files i have to create the metin2 user.

I don't know how to do this. Can anyone help me?

 

 

 

 

 

Best Regards.

Link to comment
https://metin2.dev/topic/204-files-34083-create-user-metin2/
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium

You don't need to create it, but it is recommended since root should only be used for server management and not to run services.

 

Those files use tim's scripts which don't let themselves be run as root. It's the same we have in WoM.

Link to comment
https://metin2.dev/topic/204-files-34083-create-user-metin2/#findComment-1287
Share on other sites

Those files use tim's scripts which don't let themselves be run as root. It's the same we have in WoM.

I know the scripts, I was just explaining why you shouldn't use root :P

Btw, songoku, you should read this: http://www.freebsd.org/doc/handbook/users.html

Link to comment
https://metin2.dev/topic/204-files-34083-create-user-metin2/#findComment-1290
Share on other sites

if you dont want just delete in .sh files root check..

 

like this : 

if [ `id -u` = "0" ]; then
	echo "This script must not be run as root" 1>&2
	exit 1
fi

delete lines and save.

 

Don't ever do this use a non root user,

You can login as root and su to the user or su to root from the normal user

Link to comment
https://metin2.dev/topic/204-files-34083-create-user-metin2/#findComment-1395
Share on other sites

if you dont want just delete in .sh files root check..

 

like this : 

if [ `id -u` = "0" ]; then
	echo "This script must not be run as root" 1>&2
	exit 1
fi
delete lines and save.

You should read this as well: http://www.freebsd.org/doc/handbook/users.html
Link to comment
https://metin2.dev/topic/204-files-34083-create-user-metin2/#findComment-1423
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.