Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
u10_04@maxoft-ZBOX-ID84:~$ u10_04@maxoft-ZBOX-ID84:~$ touch ./_programu10_04@maxoft-ZBOX-ID84:~$ ./_program-bash: ./_program: Отказано в доступеu10_04@maxoft-ZBOX-ID84:~$ nice -n -20 ./_programnice: ./_program: Отказано в доступеu10_04@maxoft-ZBOX-ID84:~$ chmod +x ./_programu10_04@maxoft-ZBOX-ID84:~$ nice -n -20 ./_programu10_04@maxoft-ZBOX-ID84:~$
chmod
## This file MUST be edited with the 'visudo' command as root.## Please consider adding local content in /etc/sudoers.d/ instead of# directly modifying this file.## See the man page for details on how to write a sudoers file.#Defaults env_resetDefaults mail_badpassDefaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"# Host alias specification# User alias specification# Cmnd alias specification# User privilege specificationroot ALL=(ALL:ALL) ALLuser ALL=NOPASSWD: /usr/bin/nice, /usr/bin/renice, /usr/bin/screen# Members of the admin group may gain root privileges%admin ALL=(ALL) ALL# Allow members of group sudo to execute any command%sudo ALL=(ALL:ALL) ALL# See sudoers(5) for more information on "#include" directives:#includedir /etc/sudoers.d
#!/bin/shcd /home/user/program/ && nice -n -20 sudo -u user screen -h 2000 -dmS PROGA ./soft
nice: cannot set niceness: Permission deniedSorry, user user is not allowed to execute '/usr/bin/screen
userне добав /etc/security/limits.conf?
Страница сгенерирована за 0.016 секунд. Запросов: 22.