Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

groups: command not found [closed]

Tags:

linux

I'm getting the following error after logging in:

Last login: Thu May 30 15:25:49 2013 from 
-bash: groups: command not found

xxx@Dogbert:~$ /usr/bin/groups
-bash: /usr/bin/groups: Permission denied

xxx@Dogbert:~# su -

root@Dogbert:~# ls -la /usr/bin/groups 

-rwxr-xr-x 1 root root 26180 Mai 28 22:21 /usr/bin/groups

Any ideas?

like image 676
Tarrinho Avatar asked Jun 23 '26 07:06

Tarrinho


1 Answers

1 easy possibility (before further infos from you):

  • At the point where your login script(s) uses "groups" (without saying "/usr/bin/groups"), the current $PATH doesn't yet contain /usr/bin ?
like image 95
Olivier Dulac Avatar answered Jun 25 '26 20:06

Olivier Dulac



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!