Displaying 20 results from an estimated 82 matches for "home_dir".
2007 Jun 18
1
Rsync with non-english characters in filenames?
...test070503/u2/Library/Preferences/com.apple.systemuiserver.plist
test070503/u2/Library/Preferences/com.apple.universalaccess.plist
test070503/u2/Library/Preferences/loginwindow.plist
test070503/u2/Library/Preferences/widget-com.apple.widget.weather.plist
rsync: recv_generator: mkdir
"/Volumes/Home_dirs/homes/students/kv04/kv04hen/inl?mningsuppgifter"
failed: Invalid argument (22)
rsync: stat "/Volumes/Home_dirs/homes/students/kv04/kv04hen/inl?mningsuppgifter"
failed: Invalid argument (22)
rsync: recv_generator: mkdir
"/Volumes/Home_dirs/homes/students/kv04/kv04jnn/PROJEKT/pee...
2006 May 23
2
Capistrano won''t spawn fcgi processes
...active fcgi processes and then
spawning new ones again. The shell script works fine when executed
locally on the server but running this in a Capistrano task will
simply not work.
The task is simple:
desc "ReStart Rails"
task :rails_app_restart, :roles => :app do
run "#{home_directory}/etc/rc.d/restart_rails.sh"
end
my restart_rails.sh:
if [ -e home_dir/var/run/app-0.pid ]; then kill -9 `cat home_dir/var/
run/app-0.pid`; echo ''Killed home_dir/var/run/app-0.pid''; fi
if [ -e home_dir/var/run/app-0.pid ]; then rm -f home_dir/var/run/
app-0.pid; echo...
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
...0413 12:29:53 59 Connect root@localhost on samba
60 Connect root@localhost on samba
60 Query SELECT
logon_time,logoff_time,kickoff_time,pass_last_set_time,pass_can_change_time,
pass_must_change_time,username,domain,nt_username,nt_fullname,home_dir,dir_d
rive,logon_script,profile_path,acct_desc,workstations,unknown_str,munged_dia
l,user_sid,group_sid,lm_pw,nt_pw,NULL,acct_ctrl,unknown_3,logon_divs,hours_l
en,bad_password_count,logon_count,unknown_6 FROM user WHERE username =
'root'
60 Query SELECT
logon_time...
2014 Sep 02
2
[PATCH] sysprep: user-account: remove the correct home
...rbose ~quiet g root side_effects =
String.sub userpath (i+1) (String.length userpath -i-1) in
if uid >= uid_min && uid <= uid_max
&& check_remove_user username then (
+ (* Get the home before removing the passwd entry. *)
+ let home_dir = g#aug_get (userpath ^ "/home") in
g#aug_rm userpath;
(* XXX Augeas doesn't yet have a lens for /etc/shadow, so the
* next line currently does nothing, but should start to
@@ -91,7 +93,7 @@ let user_account_perform ~verbose ~quiet g root side_effects...
2004 Mar 11
5
win32-etc-0.2.2 testing wanted
I''ve commited code for win32-etc 0.2.2, which adds the configure_user and
configure_group methods. Testing appreciated. On my home system, I can''t
get configure_user to work, but I haven''t any real idea why it fails. The
configure_group method seems to work fine, however.
Dan
_________________________________________________________________
Fast. Reliable. Get
2003 Feb 24
2
Rsync between HPUX11.11 and Redhat7.3
...var/run/rsyncd.lock
max connections = 5
use chroot = true
list = true
read only = true
auth users = rsync_backup
secrets file = /etc/rsyncd.secrets
strict modes = true
transfer logging = true
uid = 0
gid = 0
[server_config]
path = /opt/config
comment = Server configuration files
[home_dirs]
path = /home
comment = User home directories
## end rsyncd.conf
I then use the HPUX machine as an rsync client. I want to
mirror all information hosted on the Redhat server to the
HPUX server. The HPUX server is running HPUX11.11
When running rsync on the HPUX server with the following...
2016 May 19
2
[PATCH 1/2] customize: minor function factoring in ssh_key
...--git a/customize/ssh_key.ml b/customize/ssh_key.ml
index a4e4a51..7c482e7 100644
--- a/customize/ssh_key.ml
+++ b/customize/ssh_key.ml
@@ -106,13 +106,15 @@ let do_ssh_inject_unix (g : Guestfs.guestfs) user selector =
(* Get user's home directory. *)
g#aug_init "/" 0;
- let home_dir =
+ let read_user_detail what =
try
- let expr = sprintf "/files/etc/passwd/%s/home" user in
+ let expr = sprintf "/files/etc/passwd/%s/%s" user what in
g#aug_get expr
with G.Error _ ->
error (f_"ssh-inject: the user %s does not exist o...
2015 May 16
2
Couldn't create lock .dovecot-sync.lock
...h file or directory
This is because "/var/lib/imap/user/6a/<user>/" doesn't exist in
server1. In another cluster node, the directory exists and everything
seems to work fine.
In my view, this indicates that the first sync is failing. In the first
user access Dovecot creates home_dir for him. But the sync is not
happening at this time to create the home_dir on the other node.
My confs with doveconf -n:
http://www.adminlinux.com.br/newcluster_doveconf.txt
Thanks in advance!
--
Thiago Henrique
2003 Jul 11
2
Permission denied
Dovecot is faulting on an error about permissions that it shouldn't do.
I've got an user with its home dir with permissions 700, and inside the
mail directory with the mboxes.
In the error log I can see: 'Can't chdir to /home/user. Permission denied'
I wonder why it has to chdir to that directory and why it can't access.
Shouldn't it be running as the user?
2002 Mar 15
0
logon home with ldap under win98
...t();
+ logon_home_frompassdb = pdb_getsampwuid(sampass,vuser->uid);
+ unbecome_root();
+
+ if ( logon_home_frompassdb == False ){
+ DEBUG(3,(" MS: Could not find entry in sam. \n"));
+ } else {
+ DEBUG(3,(" MS: Home Directory is %s\n", sampass->home_dir));
+ if ( strlen(sampass->home_dir) != 0 )
+ pstrcpy(logon_home,sampass->home_dir);
+ else
+ logon_home_frompassdb = False;
+ pdb_free_sam(sampass);
+ }
+
+ /* end of test area */
+ /***********************************************/
+
*rparam_...
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
...dduser <| groups == ''admin'' |>
}
system.pp:
#
class users::system {
@adduser { ''root'':
ensure => present,
uid => ''0'',
gid => ''0'',
comment => ''root user'',
home_dir => ''root'',
#password => ''$1$wSKXXILm$SQCCXItlRgNzm.YSGtbNb0'',
password => ''$1$9HZ.fRew$Ar1SICNBOVrMKOCBtEEay.'',
}
Adduser <| title == ''root'' |>
}
apps.pp file:
# Will contain app users.
class users::a...
2015 Jan 25
2
C5 & C6 : useradd
useradd --help
-d, --home-dir HOME_DIR home directory for the new user account
-M, do not create user's home directory
yet
useradd -M -s /sbin/nologin FRED
produces in /etc/passwd
fred:x:504:504::/home/fred:/sbin/nologin
Trying again with
useradd -d /dev/null -s /sbin/nologin doris
gives a CLI message...
2003 Sep 10
1
Patch for auto-creating home directories
..._mail_process(int socket, struct ip_addr *ip,
const char *executable, const char *module_dir,
unsigned int process_size, int process_type,
***************
*** 156,164 ****
--- 192,205 ----
restrict_process_size(process_size, (unsigned int)-1);
+ (void)umask(set->umask);
+
if (*home_dir != '\0') {
full_home_dir = *chroot_dir == '\0' ? home_dir :
t_strconcat(chroot_dir, "/", home_dir, NULL);
+ if (set->parent_dir_umask != 0777 &&
+ !create_directories(full_home_dir, set->parent_dir_umask)) +
i_fatal("mkdir(%s) failed:...
2005 Oct 10
1
Need help with SQL queries after updating to 1.0a3
...thing in the config migrated over,
but I'm unsure about the way i should be querying postgres
my db handles virtual accounts only, and is set as such:
CREATE TABLE accounts (
local_part VARCHAR(64) NOT NULL,
domain VARCHAR(64) NOT NULL,
password VARCHAR(64) NULL,
home_dir VARCHAR(256) NOT NULL,
uid INTEGER DEFAULT '1003',
gid INTEGER DEFAULT '1003',
active CHAR(1) DEFAULT 'Y'
);
so an entry would be something like:
user | domain.com | md5('passwprd') | /path/to/maildir/ | 1003 | 1003
| Y
I've rewritten the...
2014 Nov 02
3
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
...n
+ (* Find the local [on the host] user's SSH public key. See
+ * ssh-copy-id(1) default_ID_file for rationale.
+ *)
+ let pubkey_re = Str.regexp "^id.*\\.pub$" in
+ let pubkey_ignore_re = Str.regexp ".*-cert\\.pub$" in
+
+ let local_user_ssh_pubkey () =
+ let home_dir =
+ try getenv "HOME"
+ with Not_found ->
+ error (f_"ssh-inject: $HOME environment variable is not set") in
+ let ssh_dir = home_dir // ".ssh" in
+ let files = Sys.readdir ssh_dir in
+ let files = Array.to_list files in
+ let files = Li...
2017 Nov 20
2
LMTP "Relative home directory paths not supported"
...and Dovecot)
I'd definitely appreciate any pointers to web pages or specific
suggestions as to how to resolve this.
Excerpts of Dovecot local.conf follow, full doveconf -n output on
request. The/users /file is in the same format as FreeBSD
/etc/master.passwd with name, password, UID, gid, home_dir, and shell
meaningfully populated. The configuration below works with LDA
(end-to-end). With LMTP, it identifies <jeff at example.com> as a valid
destination, but fails on delivery with the "relative home directory
paths" error message.
passdb {
? driver = passwd-file
? args...
2005 Mar 27
1
problem with listing users on winXP/2k+3
...-------------------+----------------------------------+-----------+-----------+------------+-----------+-----------+-----------+
| logon_time | logoff_time | kickoff_time | pass_last_set_time |
pass_can_change_time | pass_must_change_time | username | domain | nt_username
| nt_fullname | home_dir | dir_drive | logon_script |
profile_path | acct_desc | workstations | unknown_str | munged_dial | uid |
gid | user_sid | group_sid
| lm_pw | nt_pw
| acct_...
2015 Aug 06
3
Segfaults after upgrade to Debian Jessie
...5746ca8dc in sieve_deinit (svinst=svinst at entry=0x7ffdd3a36050) at sieve.c:136
No locals.
#7 0x00007fc574913948 in lda_sieve_deliver_mail (mdctx=<optimized out>, storage_r=0x7ffdd3a36208) at lda-sieve-plugin.c:948
srctx = {svinst = 0x7fc5761b09b0, mdctx = 0x7ffdd3a36230,
home_dir = 0x7fc5761acf78 "/var/mail/vhosts/xx/yy", scripts = 0x7fc576171088, script_count = 0,
user_script = 0x0, main_script = 0x0, msgdata = 0x0, scriptenv = 0x0, user_ehandler = 0x0,
master_ehandler = 0x7fc5761b56c0, userlog = 0x0}
debug = <optimized out>...
2017 Nov 20
2
LMTP "Relative home directory paths not supported"
...ate any pointers to web pages or specific
>> suggestions as to how to resolve this.
>>
>> Excerpts of Dovecot local.conf follow, full doveconf -n output on
>> request. The/users /file is in the same format as FreeBSD
>> /etc/master.passwd with name, password, UID, gid, home_dir, and shell
>> meaningfully populated. The configuration below works with LDA
>> (end-to-end). With LMTP, it identifies <jeff at example.com> as a valid
>> destination, but fails on delivery with the "relative home directory
>> paths" error message.
>>
&...
2016 May 19
0
[PATCH 2/2] customize: fix ownership when creating ~/.ssh/authorized_keys (RHBZ#1337561)
...1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/customize/ssh_key.ml b/customize/ssh_key.ml
index 7c482e7..d05816c 100644
--- a/customize/ssh_key.ml
+++ b/customize/ssh_key.ml
@@ -115,20 +115,24 @@ let do_ssh_inject_unix (g : Guestfs.guestfs) user selector =
user
in
let home_dir = read_user_detail "home" in
+ let uid = int_of_string (read_user_detail "uid") in
+ let gid = int_of_string (read_user_detail "gid") in
g#aug_close ();
(* Create ~user/.ssh if it doesn't exist. *)
let ssh_dir = sprintf "%s/.ssh" home_dir in...