Всем привет.
Не подскажет кто-то из UNIX/Linux специалистов, с чем может быть связано столь интересное и в то же время непонятное поведение GNU screen?
[screen] не стартует от пользователя "none" (return code 0)
Модератор: /dev/random
-
- Сообщения: 2041
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
[screen] не стартует от пользователя "none"
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
-
- Модератор
- Сообщения: 21028
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [screen] не стартует от пользователя "none"
Код: Выделить всё
/*
* Add a new user. His password may be NULL or "" if none. His name must not
* be "none", as this represents the NULL-pointer when dealing with groups.
* He has default rights, determined by umask.
*/
int
UserAdd(name, pass, up)
char *name, *pass;
struct acluser **up;
{
#ifdef MULTIUSER
int j;
#endif
if (!up)
up = FindUserPtr(name);
if (*up)
{
if (pass)
(*up)->u_password = SaveStr(pass);
return 1; /* he is already there */
}
if (strcmp("none", name)) /* "none" is a reserved word */
*up = (struct acluser *)calloc(1, sizeof(struct acluser));
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
Спасибо сказали:
-
- Сообщения: 2041
- Статус: ☮ PEACE ☮
- ОС: открытая и свободная
Re: [screen] не стартует от пользователя "none"
Догадывался, что фича, но почему-то засомневался и стал думать, что баг (:
Labor omnia vincit
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)