* [gentoo-user] gpasswd not function immediately?
@ 2005-09-01 7:35 Qiangning Hong
2005-09-01 8:15 ` Neil Bothwick
2005-09-01 16:46 ` Rumen Yotov
0 siblings, 2 replies; 4+ messages in thread
From: Qiangning Hong @ 2005-09-01 7:35 UTC (permalink / raw
To: gentoo-user
I want to create a crontab for my account using "crontab -e". However
system tells me I have no permission to run crontab. I checked the
"Gentoo Linux Cron Guide"_ and find that I must add my account to the
cron group to use crontab. Follow the guide, I ran:
$ sudo gpasswd -a hongqn cron
and run "crontab -e" again. But bash still tells me "Permission
denied". It seems the system has not recoginized I am already a cron
group member immediately. Maybe it reads a cache somewhere? If so, how
can I flush that cache?
--
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
Registered Linux User #396996
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gpasswd not function immediately?
2005-09-01 7:35 [gentoo-user] gpasswd not function immediately? Qiangning Hong
@ 2005-09-01 8:15 ` Neil Bothwick
2005-09-01 16:46 ` Rumen Yotov
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2005-09-01 8:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
On Thu, 01 Sep 2005 15:35:07 +0800, Qiangning Hong wrote:
> $ sudo gpasswd -a hongqn cron
>
> and run "crontab -e" again. But bash still tells me "Permission
> denied". It seems the system has not recoginized I am already a cron
> group member immediately. Maybe it reads a cache somewhere? If so, how
> can I flush that cache?
You need to log out and in again. The groups command will tell you which
groups you are a member of in the current shell.
--
Neil Bothwick
I used to have a handle on life, then it broke.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gpasswd not function immediately?
2005-09-01 7:35 [gentoo-user] gpasswd not function immediately? Qiangning Hong
2005-09-01 8:15 ` Neil Bothwick
@ 2005-09-01 16:46 ` Rumen Yotov
2005-09-03 9:01 ` danielhf
1 sibling, 1 reply; 4+ messages in thread
From: Rumen Yotov @ 2005-09-01 16:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 983 bytes --]
On Thu, 2005-09-01 at 15:35 +0800, Qiangning Hong wrote:
> I want to create a crontab for my account using "crontab -e". However
> system tells me I have no permission to run crontab. I checked the
> "Gentoo Linux Cron Guide"_ and find that I must add my account to the
> cron group to use crontab. Follow the guide, I ran:
>
> $ sudo gpasswd -a hongqn cron
>
> and run "crontab -e" again. But bash still tells me "Permission
> denied". It seems the system has not recoginized I am already a cron
> group member immediately. Maybe it reads a cache somewhere? If so, how
> can I flush that cache?
>
> --
> Qiangning Hong
> http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
>
> Registered Linux User #396996
> Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
> Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
Hi,
i think you'll have to logout & login to activate this change.
HTH. Rumen
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gpasswd not function immediately?
2005-09-01 16:46 ` Rumen Yotov
@ 2005-09-03 9:01 ` danielhf
0 siblings, 0 replies; 4+ messages in thread
From: danielhf @ 2005-09-03 9:01 UTC (permalink / raw
To: gentoo-user
yes, that's exactly what you should to make the command take effect.
On Thu, Sep 01, 2005 at 07:46:40PM +0300, Rumen Yotov wrote:
> On Thu, 2005-09-01 at 15:35 +0800, Qiangning Hong wrote:
> > I want to create a crontab for my account using "crontab -e". However
> > system tells me I have no permission to run crontab. I checked the
> > "Gentoo Linux Cron Guide"_ and find that I must add my account to the
> > cron group to use crontab. Follow the guide, I ran:
> >
> > $ sudo gpasswd -a hongqn cron
> >
> > and run "crontab -e" again. But bash still tells me "Permission
> > denied". It seems the system has not recoginized I am already a cron
> > group member immediately. Maybe it reads a cache somewhere? If so, how
> > can I flush that cache?
> >
> > --
> > Qiangning Hong
> > http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
> >
> > Registered Linux User #396996
> > Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
> > Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
> Hi,
> i think you'll have to logout & login to activate this change.
> HTH. Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-03 9:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01 7:35 [gentoo-user] gpasswd not function immediately? Qiangning Hong
2005-09-01 8:15 ` Neil Bothwick
2005-09-01 16:46 ` Rumen Yotov
2005-09-03 9:01 ` danielhf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox