Šta je novo?

SuSE 10 create user

illidan

Nenadmašan
Učlanjen(a)
02.02.2005
Poruke
22,470
Poena
2,205
Moja oprema  
CPU & Cooler
amd 5800x3d, ek nucleus cr240 dark - phanteks t30
Matična ploča
asus rog strix b550-i gaming
RAM
g.skill trident z neo 32gb cl16
GPU
nvidia rtx 4070super founders edition
Storage
samsung 980 pro 1tb, wd black sn770 2tb
Zvuk
ifi zen dac v2 - s.m.s.l ao200 mk2 - kef q350, fiio ft1 balanced
PSU
corsair sf750 platinum
Kućište
lian li a4 h2o
Monitor
asus vg27aql1a
Miš & tastatura
mchose l7 pro, kbd.fans tofu65 raw alu - cream soda switches - gmk serika 2 keycaps
Pristup internetu
  1. Optički internet
ne mogu preko yast-a da kreiram novog usera
kada stavim username i password da mi error poruku da ime moze da se sastoji samo od slova, brojeva, "_", "-" i da prvi karakter mora biti slovo. i tako za bilo koje ime. cak i kada izaberem suggestion, da on stavi neko ime javi isti error.

moze li se na neki drugi nacin kreirati user? ili u cemu ovde moze biti problem?
 
Poslednja izmena:
kada napravim usera, javi mi poruku

"": No such file or directory
useradd: USERADD_CMD fails with exit code 256.

napravi usera i home dir ali nemogu da se logujem sa njim

useradd test -p test -m
 
Poslednja izmena:
nasao sam u login.defs na kraju par linija medju kojima je i ova USERADD_CMD pa sam stavio pod komentar. sada ne javi nikakav error. kreira mi usera, ali ne mogu da se logujem sa njim. da li treba restart?
 
ne, restart ne treba.Da li si dodelio useru korisničku grupu, password?
Šta ti napiše prilikom pokušaja logovanja? Mada lično nikada nisam doživeo da ne mogu da kreiram usera i da ne mogu da se logujem.Da li si sve to radio kao root?
 
sve radim kao root. imam default grupu users i tamo su mi svi useri kada udjem posle u yast vidim tog usera, kreirao sam mu i password -p test. a kada se logujem napise sam incorrect login
 
Baš davno nisam radio u linuxu, a suse sam koristio (baš 10.0) prošle godine, tako da sam malo više zarđao.Da li si pokušao da nađeš rešenje na nekom SuSE forumu?
 
Može biti u pitanju i neka glupost, tipa, dao si mu password u shellu kao root (koji koristi američki raspored "z-y"), a pokušavaš da se uloguješ recimo u KDM sa nekim drugim defaultnim rasporedom na tastaturi. Možda nisi specifikovao da li novi korisnici imaju shell, pa im za shell stoji nešto tipa /sbin/nologin ili /sbin/null ili nešto slično.

Mislim da je i SuSE imao neku caku da sve promene ulaze u neki change queue i da su poterane u stvarnosti tek kada izlaziš iz yasta (lista ti to sve, tipa "updating bla-bla cache" i slično). Znam da sam to morao da isključim u /etc/sysconfig/suseconfig beše; treba taj glavni flag "enable_using_suseconfig" ili nešto slično staviti u "no"). Bez toga sam npr. par puta promenio apache conf, restartovao daemon, ali majstor nije hteo da primi promene, jer nisu izvedene putem yasta.
 
ne ulazim u graficki mode. pokrece se caracter aplikacija cim se useri loguju
shell je default /bin/bash
kada sa useradd kreiram korisnika ima isti profile kao i useri koji vec postoje
profilerd2.jpg

ali nemogu da se logujem sa tim userom

probao sam i da stavim ovo enable_using_suseconfig "no" i isto je
 
u fajlu /etc/shadow

pl02:$2a$05$gL69jhle7dPjuECZxcZEb.HWy3UUEgtn5711xt/EKMRQLAlp3YXRu:13619:0:99999:7:::
test1:test1:13752:1:99999:14:::

pl02 moze da se loguje
test1 ne moze

mozda ove razlike imaju uticaj na login?
 
Poslednja izmena:
evo fajl /etc/login.defs mozda tu nesto ne valja?
Kod:
#
# /etc/login.defs - Configuration control definitions for the login package.
#
# All items are optional - if not specified then the described action or
# option will be inhibited.
#
# Comment lines (lines beginning with "#") and blank lines are ignored.
#

#
# Delay in seconds before being allowed another attempt after a login failure
#
FAIL_DELAY	0

#
# Enable logging and display of /var/log/faillog login failure info.
#
FAILLOG_ENAB	yes

#
# Enable display of unknown usernames when login failures are recorded.
#
LOG_UNKFAIL_ENAB	no

#
# Enable logging and display of /var/log/lastlog login time info.
#
LASTLOG_ENAB	yes

#
# Enable additional checks upon password changes.
#
OBSCURE_CHECKS_ENAB	no

#
# If defined, ":" delimited list of "message of the day" files to
# be displayed upon login.
#
MOTD_FILE	/etc/motd
#MOTD_FILE	/etc/motd:/usr/lib/news/news-motd

#
# If defined, file which maps tty line to TERM environment parameter.
# Each line of the file is in a format something like "vt100  tty01".
#
TTYTYPE_FILE	/etc/ttytype

#
# If defined, login failures will be logged here in a utmp format.
# last, when invoked as lastb, will read /var/log/btmp, so...
#
FTMP_FILE	/var/log/btmp

#
# If defined, file which inhibits all the usual chatter during the login
# sequence.  If a full pathname, then hushed mode will be enabled if the
# user's name or shell are found in the file.  If not a full pathname, then
# hushed mode will be enabled if the file exists in the user's home directory.
#
#HUSHLOGIN_FILE	.hushlogin
HUSHLOGIN_FILE	/etc/hushlogins

#
# The default PATH settings.
#
ENV_PATH	/usr/local/bin:/usr/bin:/bin:/usr/dlc:/usr1/dz

#
# The default PATH settings for root:
#
ENV_ROOTPATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/dlc:/usr1/dz

#
# Terminal permissions
#
#	TTYGROUP	Login tty will be assigned this group ownership.
#	TTYPERM		Login tty will be set to this permission.
#
# If you have a "write" program which is "setgid" to a special group
# which owns the terminals, define TTYGROUP to the group number and
# TTYPERM to 0620.  Otherwise leave TTYGROUP commented out and assign
# TTYPERM to either 622 or 600.
#
TTYGROUP	tty
TTYPERM	0620

#
# Permissions of new created home directories
#
#      UMASK           Default "umask" value.
#
# This is the umask which is used by useradd and newusers for creating
# new home directories.
#
UMASK	022

#
# Password aging controls:
#
#	PASS_MAX_DAYS	Maximum number of days a password may be used.
#	PASS_MIN_DAYS	Minimum number of days allowed between password changes.
#	PASS_MIN_LEN	Minimum acceptable password length.
#	PASS_WARN_AGE	Number of days warning given before a password expires.
#
PASS_MAX_DAYS	99999
PASS_MIN_DAYS	1
PASS_MIN_LEN	0
PASS_WARN_AGE	14

#
# If compiled with cracklib support, where are the dictionaries
#
CRACKLIB_DICTPATH	/usr/lib/cracklib_dict

#
# Min/max values for automatic uid selection in useradd
#
UID_MIN	1000
UID_MAX	60000

#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN	101
GID_MAX	60000

#
# Max number of login retries if password is bad
#
LOGIN_RETRIES	3

#
# Max time in seconds for login
#
LOGIN_TIMEOUT	60

#
# Maximum number of attempts to change password if rejected (too easy)
#
PASS_CHANGE_TRIES	3

#
# Warn about weak passwords (but still allow them) if you are root.
#
PASS_ALWAYS_WARN	yes

#
# Number of significant characters in the password for crypt().
# Default is 8, don't change unless your crypt() is better.
# Ignored if the "md5" or "blowfish" option is given to the
# pam_pwcheck module.
#
PASS_MAX_LEN	15

#
# Require password before chfn/chsh can make any changes.
#
CHFN_AUTH	yes

#
# Which fields may be changed by regular users using chfn - use
# any combination of letters "frwh" (full name, room number, work
# phone, home phone).  If not defined, no changes are allowed.
# For backward compatibility, "yes" = "rwh" and "no" = "frwh".
#
CHFN_RESTRICT	rwh

#
# Should login be allowed if we can't cd to the home directory?
# Default is yes.
#
DEFAULT_HOME	yes

#
# If defined, this command is run when removing a user.
# It should remove any at/cron/print jobs etc. owned by
# the user to be removed (passed as the first argument).
#
#USERDEL_CMD	/usr/sbin/userdel_local

#
# This enables userdel to remove user groups if no members exist.
#
#USERGROUPS_ENAB	no
#SYSTEM_UID_MAX	""
#SYSTEM_UID_MIN	""
#SYSTEM_GID_MAX	""
#SYSTEM_GID_MIN	""
#USERADD_CMD	""
#USERDEL_PRECMD	""
#USERDEL_POSTCMD	""

ako neko ima suse 10 pa da stavi /etc/login.defs da uporedim
 
Poslednja izmena:
Nazad
Vrh Dno