Depending on the OS you are using there might be a shadow-file: "/etc/security/passwd" (AIX) or "/etx/shadow" (Linux), etc.. When creating/moving a user you should never just copy passwd-entries but use the respective utility: "useradd", "mkuser" or whatever your OS provides.
Just to be sure: you talk about "chmod" and "chown" intermixed. Which one do you have problems with?
I hope this helps.
bakunin
Thank you bakunin. Sorry It's "chown".
I don't want to add new user B'cuz there are a lot of user and they have to change their password or not? And I cannot find shadow file on OpenBSD.
I've got 100 directories that each have 2 directories with in them.
Structered like this:
/home/domains/domain1/
through to
/home/domains/domain100/
and those 2 directories mentioned above are here:
/home/domains/domain1/directory1/
/home/domains/domain1/directory2/
through to... (7 Replies)
i'm trying to get a samba server up and running.
however, there is no argument in OpenBSD's "passwd" command that i know of that will allow the following:
-l This option is used to lock the specified account
and it is available to root only. The locking is
performed by... (1 Reply)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi. I am new to shell scripting.
I am writing a simple sequential logic script. After completing the script, the instructions say "use the sh command instead of the chmod comand".
Why didn't I have to use "chmod ugo+x scriptname",& then type ./ scriptname or just scriptname after using chmod?... (3 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT XFREE86
xf86cfg
xf86cfg(1) General Commands Manual xf86cfg(1)NAME
xf86cfg - Graphical configuration tool for XFree86 4.0
SYNOPSIS
xf86cfg [-xf86config XF86Config] [-modulepath moduledir] [-fontpath fontsdir] [-toolkitoption ...]
DESCRIPTION
Xf86cfg is a tool to configure XFree86 4.0, and can be used to either write the initial configuration file or make customizations to the
current configuration.
When the DISPLAY environment variable is not set, xf86cfg will run the command XFree86 -configure to allow the xserver detect the hardware
in the computer, and write an initial XF86Config file in the user's home directory. Then, it will start XFree86 and allow customizations.
If the DISPLAY environment variable is set, xf86cfg will read the default XF86Config, that may not be the same being used by the current
server, and allow customizations.
To use an alternative location for modules or fonts the respective search paths may be specified.
Unless there is an Apply button in the current xf86cfg dialog, the changes made will take place the next time XFree86 is started.
Xf86cfg allows addition and configuration of new devices, such as video cards, monitors, keyboards and mouses.
Screen layout configuration for xinerama or traditional multi-head is also available.
Modelines can be configured or optimized.
AccessX basic configurations can be made in the xf86cfg's accessx section.
OPTIONS -xf86config
Specifies an alternate XF86Config file for configuration.
-modulepath
Specifies where xf86cfg, and the server it may start, should look for XFree86 modules.
-serverpath
Specifies the complete path, not including the binary name, of the XFree86 binary.
-fontpath
Specifies the path to the fonts that should be used by the server started by xf86cfg.
-rgbpath
Specifies the path to the rgb.txt file that should be used by the server started by xf86cfg, if any.
-textmode
If xf86cfg was compiled with support to ncurses, this option makes xf86cfg enters a text mode interface.
-nomodules
When built with support for loading modules, this options changes xf86cfg behaviour, so that it will not load any modules, and thus
start quicker.
ENVIRONMENT
DISPLAY Default host and display number
XWINHOME
Directory where XFree86 was installed, defaults to /usr/X11R6.
XENVIRONMENT
Name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property
FILES
/etc/XF86Config
Server configuration file
/etc/X11/XF86Config
Server configuration file
/usr/X11R6/etc/XF86Config
Server configuration file
/usr/X11R6/lib/X11/XF86Config.hostname
Server configuration file
/usr/X11R6/lib/X11/XF86Config
Server configuration file
/usr/X11R6/lib/X11/app-default/XF86Cfg
Specifies xf86cfg resources
/usr/X11R6/lib/X11/xkb/X0-config.keyboard
Keyboard specific configuration
SEE ALSO XFree86(1)XF86Config(5)COPYRIGHT
Copyright 2000, Conectiva Linux S.A.
http://www.conectiva.com
Copyright 2000, The XFree86 Project
http://www.XFree86.org
AUTHORS
Paulo Cesar Pereira de Andrade <pcpa@conectiva.com.br>
The XFree86 Project
BUGS
Probably.
XFree86 Version 4.7.0 xf86cfg(1)