Thread [ -f /etc/sudoers.pacnew ] && cp /etc/sudoers.pacnew /etc/sudoers # Just in case 6 messages · 15:33 –15:59 Y [ -f /etc/sudoers.pacnew ] && cp /etc/sudoers.pacnew /etc/sudoers # Just in case
سلام
سوال فنی مقصود نویسنده از خط بالا توی این اسکریپت نصب آرچ که دارم ویرایش میکنم چه بود؟
15:33 Y A Is trying to overwrite the user's sudoers file (if modified), though this will still fail because cp doesn't overwrite
15:35 Y اممم
پس میشه به طور امن حذفش کرد؟
بعدم این یه اسکریپت نصب آرچه... در نتیجه user's sudoerی قرار نیست وجود داشته باشه در هر صورت
15:57 A It doesn't do anything anyway
If that file were to exist, cp would just wait on stdin for a y
15:58 Y بله پس حذفش میکنم...
ممنون ❤️
15:59 Show in the feed Copy link Original in Telegram
An open public feed from the search index
ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled.
Times are UTC.
Public content only, official Telegram API.
About ·
FAQ ·
Index limits ·
Remove a page ·
Catalog ·
Search ·
How we count