i pressed M in top command try to get a memory sort for the processes,
5892 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:01 0 java
5893 myuser 15 0 88428 86M 12520 S 0.0 4.2 6:47 0 java
5894 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:00 0 java
5895 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:00 0 java
5896 myuser 15 0 88428 86M 12520 S 0.0
I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser
I've set up the account with username 'myuser' in Linux with the adduser command.
I scheduled a task every 5 minutes in my crontab.
The task is well-scheduled by activating the cron log in rsyslog and checked that it executes as planned:
- Right user
- Right command
Sample:
Dec 23 06:40:01 computer /USR/SBIN/CRON[26422]: (myuser) CMD (bash /home/myuser/myscript.sh &>/home/myuser/myscript.log)
I even tried:
Dec 23 06:40:01 computer /USR/SBIN/CRON[26422]: (myuser)
I added a user using useradd
useradd -g upperdevs myuser
But when I do an id check I didn't see the upperdevs group.
id myuser
#uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo)
Probably this was the issue why I can't write to certain_dir, by doing ls -l:
drwxrwxr-x 2 root upperdevs 4096 Sep 8 13:35 certain_dir
Anything I'm doing wrong?
I added a user using useradd
useradd -g upperdevs myuser
But when I do an id check I didn't see the upperdevs group.
id myuser
#uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo)
Probably this was the issue why I can't write to certain_dir, by doing ls -l:
drwxrwxr-x 2 root upperdevs 4096 Sep 8 13:35 certain_dir
Anything I'm doing wrong?
I have added the user "test" in myuser group [usermod -a -G test myuser]. But if try to execute or try to cd to datadir as "test" user gives the Permission denied error. datadir is having the following privilege [770 the user "test" is belongs to myuser group still it gives the Permission denied error].
hello,
I have a ubuntu 12.04 (Linux SAMBA 3.2.0-29-generic # 46-Ubuntu SMP Fri Jul 27 5:03:23 p.m. UTC 2012 x86_64 x86_64 x86_64 GNU / Linux).
I installed samba, I have shared common is accessible.
I was trying to change the ownership on an external drive, and mistakenly used
sudo chown -RL myuser:myuser /media/"New Volume"
Unfortunately, it changed the ownership on the entire drive to myuser. I've since changed the ownership back to root on everything except the /home/myuser directory.
After some bad performance today, I checked top:
1 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14229 myuser 20 0 8776 5264 1684 R 99 0.2 1383:47 bash
98-100% use by a Bash process which should have died a long time ago (I just closed all terminals to verify it)?