Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Cannot "chmod" after account migration on openBSD. Post 302780103 by cyberking on Wednesday 13th of March 2013 11:49:27 PM
Old 03-14-2013
Quote:
Originally Posted by bakunin
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".
Code:
chown user1:user1 user1
chown: user is invalid: user1

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.
Code:
locate shadow
/usr/X11R6/include/xorg/shadow.h
/usr/X11R6/include/xorg/shadowfb.h
/usr/X11R6/lib/modules/libshadow.la
/usr/X11R6/lib/modules/libshadow.so
/usr/X11R6/lib/modules/libshadowfb.la
/usr/X11R6/lib/modules/libshadowfb.so

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chmod 777 on all directories below...how do I do that using the "find" command?

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)
Discussion started by: Neko
7 Replies

2. BSD

comparable command in OpenBSD for linux's "passwd -l (name)"

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)
Discussion started by: xyyz
1 Replies

3. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

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)
Discussion started by: Lokesha
4 Replies

4. Shell Programming and Scripting

Chmod. "./" and "sh" difference

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)
Discussion started by: Ccccc
3 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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)
Discussion started by: shis100
7 Replies

6. Solaris

Printer configuration Migration from Solaris 10 "LP" to Solaris 11 "CUPS"

Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

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)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

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
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)
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy