Displaying 20 results from an estimated 228 matches for "whoami".
2000 Jun 21
3
OS calls
...emaining OS utilities.
Paul Gilbert
_______
sleep <- function(n) {system.call(paste("sleep ", n))} # pause for n seconds
present.working.directory <- function(){system.call("pwd")} #present directory
local.host.netname <- function() {system.call("uname -n")}
whoami <- function(){system.call("whoami")} # return user id (for mail)
# There are problems with different shells returning different results for
whoami when
# a user does su to another name. It is probably better to use a C call
for this.
file.copy <- function(from, to)system.c...
2006 Sep 28
5
DO NOT REPLY [Bug 4128] New: ignore-times with link-dest behaves unexpected / sematics not clear
...quot;one" >test1.txt
echo "two" >test2.txt
mkdir -p ref/data
cp test1.txt ref/data/text101.txt
cp test1.txt ref/data/text102.txt
touch -d 060927 ref/data/*
mkdir data
cp test1.txt data/text101.txt
cp test2.txt data/text102.txt
touch -d 060927 data/*
mkdir dst
rsync -av ref dst `whoami`@$B:./
# step 2 - test rsync
rsync -av --ignore-times --link-dest=../ref/ data `whoami`@$B:dst/
# note: dest=ref/ would be relative to dst/
# note2: if you had to type in a password for the first rsync,
# copying'n'pasting the 2nd rsync might not have worked in one go
# step 3 - analyze res...
2010 Apr 21
4
scaling up puppetmasterd by cloning puppetmasterd
...rtificate Could not describe /
files/server-configs/eqx-sv2/common/home/scripts: Certificates were
not trusted: hostname was not match with the server certificate at /
etc/puppet/manifests/eqx-sv2/production/classes/common.pp:251
notice: //Node[xen-pup-dash]/common/Remote_file[/home/scripts/
update.whoami.sh]/File[/home/scripts/update.whoami.sh]: Dependency
file[/home/scripts] has 1 failures
warning: //Node[xen-pup-dash]/common/Remote_file[/home/scripts/
update.whoami.sh]/File[/home/scripts/update.whoami.sh]: Skipping
because of failed dependencies
...
...
...
--
You received this message because...
2008 Dec 06
1
snowfall sfInit error
....
require(snow)
require(snowfall)
sfInit( parallel=TRUE, cpus=2 )
sfLapply( 1:10, exp )
sfStop()
I have installed the snow and snowfall packages in R on a machine with
windows xp, however, after running the "sfInit( parallel=TRUE, cpus=2 )"
line I get an error ...
Error in system("whoami", intern = TRUE, ignore.stderr = TRUE) :
whoami not found
Error in paste(sep = "_", "XXXXXXXXR", uname, format(Sys.time(),
"%H%M%S_%m%d%y")) :
object "uname" not found
I am the only (administrator) user of the computer. It has a dual core
processor,...
2013 Jan 16
2
How to debug SID problems
Hi,
Is there a tool to debug SIDs on a samba domain. To check that there
is no problems with SIDs on the samba server, windows client or user?
After an upgrade/reinstall of the samba server, I get an error message
on the windows client saying that the profile could not be synced,
when the user logs out.
There are probably a problem with the machine account or the users
SIDs. But I'm new to
2005 Jul 29
1
uid + gid mapping problem
Hi everyone,
Ok I can log in locally as a windows user. I can su to a
windows user as well. But once I'm there:
[root@sandbox ~]# su mluich
bash-3.00$ whoami
whoami: cannot find username for UID 16777253
bash-3.00$ ls -l
total 4
drwxr-xr-x 2 16777253 16777218 4096 Jul 28 16:21 Desktop
-rwxr--r-- 1 16777253 16777218 0 Jul 28 15:31 test.txt
Getent passwd returns:
mluich:*:16777253:16777218:Mike Luich:/home/mluich:/bin/bash
Plus ot...
2008 Jun 18
1
linux server not caching users
...and migrated their passwords.
When looking at the current home directory
It lists permissions and ownership properly for a few minutes
drwxr-xr-x 2 jdoe domain users 4.0K Jun 14 2007 jdoe
drwxr-xr-x 2 jqpublic domain users 4.0K May 23 2007 jqpublic
after a few minutes running the command whoami and crontab fails and
looking at the home directory shows the userid number as opposed to the
usernames
drwxr-xr-x 2 16785470 16777729 4.0K Mar 27 2007 jdoe
drwxr-xr-x 5 16785433 16777729 4.0K Jun 2 10:27 jqpublic
running getent will reacquire the usernames allowing whoami to work
again.
Any...
2014 Dec 03
3
partedmagic connecting to a comcast address
On 12/03/2014 04:15 PM, zep wrote:
>
>>> oh. the ARP packet suggests that MAC address is 192.168.1.144
>> that is how i see it.
>>
> is that 1.144 IP address in use by the machine you ran the lspci
> from?
somewhere. but i know not where.
http://www.whoami.it/home/ shows me to be;
adsl-184-41-28-86.mem.bellsouth.net
for the hell of it, i pulled and reconnected DSL line, now, i am
adsl-184-41-28-44.mem.bellsouth.net
which is now confusing me more because the 1.144 address is in;
~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:FE:8F:...
2000 Dec 20
1
syskern fails Rcmd check on Windows, gives incorrect information (PR#781)
...1
minor 2
year 2000
month 12
day 15
language R
OSversion MS Windows 95
OStype MS Windows
That is incorrect: see what bug.report gives below. The heading looks
strange too.
> example(whoami)
whoami> whoami()
Error in whoami() : system calls must be implemented for this operating system.
They are:
> system("whoami", intern=T)
[1] "ripley"
> Sys.info()["user"]
user
"ripley"
--please do not edit the information below--
Version:...
2011 Aug 20
4
Apache Changing IPtables C 5.6 via Apache
...s. However, when breaking-out of a
PHP script on a web page and running a normal iptables command, for
example:
iptables -A 3temp -s 1.2.3.4 -j DROP
iptables responds with:
iptables v1.3.5: can't initialize iptables table
`filter': Permission denied
(you must be root)
Executing 'whoami' confirms Apache is the user. Giving Apache group rw
on the /etc/sysconfig/iptables and ensuring the /sbin/iptables is
executable by all, fails to resolve the problem.
Is there any method of running iptables from an Apache originated
process ?
Thank you.
--
With best regards,
Paul.
En...
2014 Jul 17
2
ulimit warning when restarting
...er than required under max. load (1024 < 4096), because of default_client_limit
# doveconf default_internal_user
default_internal_user = dovecot
Should dovecot print this warning based on $default_internal_user, or
based on root?
As root:
# ulimit -n
1024
As user dovecot:
$ ulimit -n
49152
$ whoami
dovecot
# grep dovecot /etc/security/limits.conf
dovecot hard locks 49152
dovecot hard nofile 49152
dovecot hard maxlogins 8192
dovecot soft locks 49152
dovecot soft nofile 49152
dovecot soft maxlogins 8192
2005 May 06
3
Winbind issues with UID and GID mappings
...p ID mappings are going stale. This
is a generic FC3 install with all of the latest updates.
login as: jgallagh
Sent username "jgallagh"
jgallagh@linman's password:
Last login: Fri May 6 08:14:23 2005 from 192.168.168.2
id: cannot find name for group ID 16777216
[jgallagh@linman ~]$ whoami
jgallagh
[jgallagh@linman ~]$ whoami
jgallagh
[jgallagh@linman ~]$ ssh bill@localhost
You don't exist, go away!
[jgallagh@linman ~]$ ssh jgallagh@localhost
You don't exist, go away!
[jgallagh@linman ~]$ whoami
whoami: cannot find username for UID 16777221
[jgallagh@linman ~]$
This is the...
2008 May 23
4
Blocking external usb storage
HI,
This is my first mail to this mailing list.I want to block external usb
storage completly on my server running on centos 5 having confidiential
data.
For that i used udev and blocked the external usb storage by creating the
udev rule mentioning any usb storage will get mounted to /dev/null so that
users cant mount as well.
But in the mean time i am getting below logs in my
2020 Sep 20
2
Call for testing: OpenSSH 8.4
...rator and can
> decouple for PRNGD. Any guidance on how to do that would be appreciated. We
> would be happy to contribute the platform changes as well associated with
> this and the port changes.
>
Is this suppose to be openssl 3.0 ready?
> Thanks,
> Randall
>
> -- Brief whoami:
> NonStop developer since approximately 211288444200000000
> UNIX developer since approximately 421664400
> -- In my real life, I talk too much.
>
>
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org...
2019 Aug 29
2
Giving full administrator privileges through sudo on production systems
...t system, and the filesystems hadn?t unmounted, it would be fine.
>
Thanks, everybody, for confirming that on Linux
rm -rf /
does lead to devastating result. Just for fun I tried the same on
FreeBSD (12.0 RELEASE - which is latest release):
root at point:/home/valeri # cd
root at point:~ # whoami
root
root at point:~ # rm -rf /
rm: "/" may not be removed
Somebody is really clever in this World ;-) Well, FreeBSD folks made my
day (again!). Note, that that I did on my live workstation (yes, I did
test it on throw-away system first ;-) - so I can copy and paste what I
got to this...
2011 Aug 17
4
Puppet agent hangs for over a minute, no info in --summarize
...ring the node cache of ubuntu05.wic.west.com
info: Not using expired node for ubuntu05.wic.west.com from cache;
expired at Wed Aug 17 13:00:12 -0400 2011
info: Caching node for ubuntu05.wic.west.com
debug: Exec[pwd]: Adding default for logoutput
debug: Exec[pwd]: Adding default for path
debug: Exec[whoami]: Adding default for logoutput
debug: Exec[whoami]: Adding default for path
notice: Compiled catalog for ubuntu05.wic.west.com in environment
production in 0.04 seconds
Agent hangs between:
debug: Loaded state in 0.00 seconds
debug: Using cached certificate for ca
It sits there for over a minute...
1998 Aug 31
0
isolating R/S and operating system differences
...ersions are not done.
# The following functions are attempted:
# For S/R differences:
# global.assign, system.info, exists.graphics.device, unlink,
# synchronize, list.add for [["new.element"]]<-
# For OS differences:
# system.call, sleep, present.working.directory, whoami, file.copy,
# file.date.info, date.parsed, mail, unlink, local.host.netname,
# Also a number of is.xxx functions are defined to identify systems.
# The variable .SPAWN is also set to be used to identify if Splus "For" loops
# should be used. (It is sometimes better not to use th...
1997 Aug 25
0
R-alpha: Re: missing' BB functions
...en checked.
# The following functions are attempted:
# For S/R differences:
# global.assign, system.info, exists.graphics.device, tmpfile, unlink,
# synchronize, list.add for [["new.element"]]<-
# For OS differences:
# system.call, sleep, present.working.directory, whoami, file.copy,
# file.date.info, date, mail, unlink, local.host.netname,
# Also a number of is.xx functions are defined to identify systems.
# The variable .SPAWN is also set to be used to identify if Splus "For" loops
# should be used. (It is sometimes better not to use these ev...
2011 Apr 19
4
/etc/bashrc help!
...t;### Pay attention to what you type. ###"
echo "###############################################"
PS1="\\[$(tput setaf 1)\\]\\u@\\h:\\w #\\[$(tput sgr0)\\]"
else # normal
echo
echo " ###########################################################"
echo "Welcome $(whoami), here's something to start your day with:"
echo
echo `sh /etc/lines.sh /etc/quotes.txt`
echo " ############################################################"
echo
PS1="[\\u@\\h:\\w] $"
fi
Thanks,
--Roland
2008 Aug 06
2
Groups not showing in Win2K Control Panel "Users and Passwords"
...on the server and would like to tell the
local workstation to treat users in that group as Administrators.
This used to work.
"net groupmap list" shows that the mapping is there, and the SID looks
correct.
When I check the user after logging into the Windows 2000 workstation
with WHOAMI.EXE /GROUP the DOMAIN\Admins group is listed, but when I
log in as the workstation's local administrator to map the group to
Administrators, I select the domain, and I get a list of users which
appears to be complete, but there are no groups. When I manually type
in DOMAIN\Admins in th...